	.file	"1035278.c"
	.intel_syntax noprefix
	.text
	.globl	argp_program_version
	.section	.rodata
	.align 8
.LC0:
	.string	"IP manipulating command, v0.1.0"
	.section	.data.rel.local,"aw"
	.align 8
	.type	argp_program_version, @object
	.size	argp_program_version, 8
argp_program_version:
	.quad	.LC0
	.data
	.align 16
	.type	doc_args, @object
	.size	doc_args, 21
doc_args:
	.string	"command [Options...]"
	.align 32
	.type	doc_help, @object
	.size	doc_help, 42
doc_help:
	.string	"IP manipulating command\013to be continue..."
	.local	options
	.comm	options,48,32
	.section	.data.rel.local
	.align 32
	.type	arg_parser, @object
	.size	arg_parser, 56
arg_parser:
	.quad	options
	.quad	parse_opt
	.quad	doc_args
	.quad	doc_help
	.zero	24
	.section	.rodata
.LC1:
	.string	"ip address command"
.LC2:
	.string	"ip default-gateway command"
.LC3:
	.string	"  param(%d): %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rcx, -32[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r9, rcx
	mov	r8d, 0
	mov	ecx, 0
	mov	esi, eax
	lea	rdi, arg_parser[rip]
	call	argp_parse@PLT
	mov	eax, DWORD PTR -32[rbp]
	test	eax, eax
	je	.L2
	cmp	eax, 1
	je	.L3
	jmp	.L4
.L2:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L4
.L3:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	nop
.L4:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L5
.L6:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L5:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L6
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
.LC4:
	.string	"address"
.LC5:
	.string	"default-gateway"
	.text
	.type	parse_opt, @function
parse_opt:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	DWORD PTR -20[rbp], 0
	je	.L10
	cmp	DWORD PTR -20[rbp], 16777218
	jne	.L11
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	argp_usage@PLT
.L10:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L12
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L13
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 1
.L13:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 24[rax]
	cdqe
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 24[rax], edx
	nop
	mov	eax, 0
	jmp	.L15
.L11:
	mov	eax, 7
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	parse_opt, .-parse_opt
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"1035278.c"
	.text
	.global	argp_program_version
	.section	.rodata
	.align	2
.LC0:
	.ascii	"IP manipulating command, v0.1.0\000"
	.data
	.align	2
	.type	argp_program_version, %object
	.size	argp_program_version, 4
argp_program_version:
	.word	.LC0
	.align	2
	.type	doc_args, %object
	.size	doc_args, 21
doc_args:
	.ascii	"command [Options...]\000"
	.align	2
	.type	doc_help, %object
	.size	doc_help, 42
doc_help:
	.ascii	"IP manipulating command\013to be continue...\000"
	.local	options
	.comm	options,24,4
	.align	2
	.type	arg_parser, %object
	.size	arg_parser, 28
arg_parser:
	.word	options
	.word	parse_opt
	.word	doc_args
	.word	doc_help
	.space	12
	.section	.rodata
	.align	2
.LC1:
	.ascii	"ip address command\000"
	.align	2
.LC2:
	.ascii	"ip default-gateway command\000"
	.align	2
.LC3:
	.ascii	"  param(%d): %s\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	ldr	r0, .L9+4
	bl	argp_parse
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L2
	cmp	r3, #1
	beq	.L3
	b	.L4
.L2:
	ldr	r0, .L9+8
	bl	puts
	b	.L4
.L3:
	ldr	r0, .L9+12
	bl	puts
	nop
.L4:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L5
.L6:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, .L9+16
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L5:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L6
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC4
	.word	arg_parser
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.section	.rodata
	.align	2
.LC5:
	.ascii	"address\000"
	.align	2
.LC6:
	.ascii	"default-gateway\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_opt, %function
parse_opt:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-16]
	ldr	r2, .L18
	cmp	r3, r2
	bne	.L13
	ldr	r0, [fp, #-24]
	bl	argp_usage
.L12:
	ldr	r1, .L18+4
	ldr	r0, [fp, #-20]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	b	.L15
.L14:
	ldr	r1, .L18+8
	ldr	r0, [fp, #-20]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-8]
	mov	r2, #1
	str	r2, [r3]
.L15:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	str	r2, [r3, #12]
	nop
	mov	r3, #0
	b	.L17
.L13:
	mov	r3, #7
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	16777218
	.word	.LC5
	.word	.LC6
	.size	parse_opt, .-parse_opt
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
