	.file	"238484.c"
	.intel_syntax noprefix
	.text
	.globl	progName
	.bss
	.align 8
	.type	progName, @object
	.size	progName, 8
progName:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"USAGE:\t%s <nodename> <service> [-f <family>] [-p <protocol>] [-t <type>]\n"
	.align 8
.LC1:
	.string	"\tPrint a list of addresses that match a node name.\n"
.LC2:
	.string	"\tfamily - either 4 or 6\n"
	.align 8
.LC3:
	.string	"\tprotocol - a protocol number (0 default)\n"
	.align 8
.LC4:
	.string	"\ttype - STREAM or DGRAM (default both)\n"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rdx, QWORD PTR progName[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 51
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.section	.rodata
.LC5:
	.string	"-f4"
.LC6:
	.string	"-f6"
.LC7:
	.string	"-f"
.LC8:
	.string	"4"
.LC9:
	.string	"6"
.LC10:
	.string	"-p"
.LC11:
	.string	"-t"
.LC12:
	.string	"STREAM"
.LC13:
	.string	"DGRAM"
.LC14:
	.string	"%s: getaddrinfo %s: %s\n"
.LC15:
	.string	"Family Type   Proto Address"
.LC16:
	.string	"DGRAM "
.LC17:
	.string	"%d"
.LC18:
	.string	"%s:%d"
.LC19:
	.string	"[%s]:%d"
.LC20:
	.string	"IPv%d   %s %s  %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 312
	.cfi_offset 3, -24
	mov	DWORD PTR -308[rbp], edi
	mov	QWORD PTR -320[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -320[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR progName[rip], rax
	cmp	DWORD PTR -308[rbp], 1
	jg	.L3
	mov	eax, 0
	call	usage
	mov	eax, 1
	jmp	.L37
.L3:
	lea	rax, -208[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	mov	DWORD PTR -292[rbp], 1
	jmp	.L5
.L25:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	mov	DWORD PTR -204[rbp], 2
	jmp	.L7
.L6:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	DWORD PTR -204[rbp], 10
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
	add	DWORD PTR -292[rbp], 1
	mov	eax, DWORD PTR -292[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jne	.L10
	mov	eax, 0
	call	usage
	mov	eax, 1
	jmp	.L37
.L10:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	mov	DWORD PTR -204[rbp], 2
	jmp	.L7
.L11:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	mov	DWORD PTR -204[rbp], 10
	jmp	.L7
.L12:
	mov	eax, 0
	call	usage
	mov	eax, 1
	jmp	.L37
.L9:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 2
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	jne	.L13
	mov	QWORD PTR -256[rbp], 0
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	add	DWORD PTR -292[rbp], 1
	mov	eax, DWORD PTR -292[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jne	.L15
	mov	eax, 0
	call	usage
	mov	eax, 1
	jmp	.L37
.L15:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -256[rbp], rax
	jmp	.L16
.L14:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	mov	QWORD PTR -256[rbp], rax
.L16:
	mov	rax, QWORD PTR -256[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -196[rbp], eax
	jmp	.L7
.L13:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 2
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	jne	.L17
	mov	QWORD PTR -248[rbp], 0
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L18
	add	DWORD PTR -292[rbp], 1
	mov	eax, DWORD PTR -292[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jne	.L19
	mov	eax, 0
	call	usage
	mov	eax, 1
	jmp	.L37
.L19:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -248[rbp], rax
	jmp	.L20
.L18:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	mov	QWORD PTR -248[rbp], rax
.L20:
	mov	rax, QWORD PTR -248[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L21
	mov	DWORD PTR -200[rbp], 1
	jmp	.L7
.L21:
	mov	rax, QWORD PTR -248[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L22
	mov	DWORD PTR -200[rbp], 2
	jmp	.L7
.L22:
	mov	eax, 0
	call	usage
	mov	eax, 1
	jmp	.L37
.L17:
	cmp	QWORD PTR -272[rbp], 0
	jne	.L23
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -272[rbp], rax
	jmp	.L7
.L23:
	cmp	QWORD PTR -264[rbp], 0
	jne	.L24
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -264[rbp], rax
	jmp	.L7
.L24:
	mov	eax, 0
	call	usage
	mov	eax, 1
	jmp	.L37
.L7:
	add	DWORD PTR -292[rbp], 1
.L5:
	mov	eax, DWORD PTR -292[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jl	.L25
	cmp	QWORD PTR -272[rbp], 0
	je	.L26
	cmp	QWORD PTR -264[rbp], 0
	jne	.L27
.L26:
	mov	eax, 0
	call	usage
	mov	eax, 1
	jmp	.L37
.L27:
	lea	rcx, -280[rbp]
	lea	rdx, -208[rbp]
	mov	rsi, QWORD PTR -264[rbp]
	mov	rax, QWORD PTR -272[rbp]
	mov	rdi, rax
	call	getaddrinfo@PLT
	mov	DWORD PTR -284[rbp], eax
	cmp	DWORD PTR -284[rbp], 0
	je	.L28
	mov	eax, DWORD PTR -284[rbp]
	mov	edi, eax
	call	gai_strerror@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR -320[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -272[rbp]
	mov	r8, rsi
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L37
.L28:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	QWORD PTR -240[rbp], rax
	jmp	.L29
.L36:
	mov	rax, QWORD PTR -240[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 10
	jne	.L30
	mov	DWORD PTR -288[rbp], 6
	jmp	.L31
.L30:
	mov	DWORD PTR -288[rbp], 4
.L31:
	mov	rax, QWORD PTR -240[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 1
	jne	.L32
	lea	rax, .LC12[rip]
	mov	QWORD PTR -232[rbp], rax
	jmp	.L33
.L32:
	lea	rax, .LC16[rip]
	mov	QWORD PTR -232[rbp], rax
.L33:
	mov	rax, QWORD PTR -240[rbp]
	mov	edx, DWORD PTR 12[rax]
	lea	rax, -149[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -149[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, 5
	mov	rbx, rdx
	sub	rbx, rax
	lea	rax, -149[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -149[rbp]
	add	rax, rdx
	mov	rdx, rbx
	mov	esi, 32
	mov	rdi, rax
	call	memset@PLT
	mov	BYTE PTR -145[rbp], 0
	mov	rax, QWORD PTR -240[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 2
	jne	.L34
	mov	rax, QWORD PTR -240[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -216[rbp], rax
	mov	rax, QWORD PTR -216[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	ebx, ax
	mov	rax, QWORD PTR -216[rbp]
	lea	rsi, 4[rax]
	lea	rax, -144[rbp]
	mov	ecx, 16
	mov	rdx, rax
	mov	edi, 2
	call	inet_ntop@PLT
	mov	rdx, rax
	lea	rax, -96[rbp]
	mov	ecx, ebx
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L35
.L34:
	mov	rax, QWORD PTR -240[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -224[rbp], rax
	mov	rax, QWORD PTR -224[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	ebx, ax
	mov	rax, QWORD PTR -224[rbp]
	lea	rsi, 8[rax]
	lea	rax, -144[rbp]
	mov	ecx, 46
	mov	rdx, rax
	mov	edi, 10
	call	inet_ntop@PLT
	mov	rdx, rax
	lea	rax, -96[rbp]
	mov	ecx, ebx
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L35:
	lea	rsi, -96[rbp]
	lea	rcx, -149[rbp]
	mov	rdx, QWORD PTR -232[rbp]
	mov	eax, DWORD PTR -288[rbp]
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -240[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -240[rbp], rax
.L29:
	cmp	QWORD PTR -240[rbp], 0
	jne	.L36
	mov	eax, 0
.L37:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.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	"238484.c"
	.text
	.comm	progName,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"USAGE:\011%s <nodename> <service> [-f <family>] [-p"
	.ascii	" <protocol>] [-t <type>]\012\000"
	.align	2
.LC1:
	.ascii	"\011Print a list of addresses that match a node nam"
	.ascii	"e.\012\000"
	.align	2
.LC2:
	.ascii	"\011family - either 4 or 6\012\000"
	.align	2
.LC3:
	.ascii	"\011protocol - a protocol number (0 default)\012\000"
	.align	2
.LC4:
	.ascii	"\011type - STREAM or DGRAM (default both)\012\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, .L2+4
	ldr	r2, [r2]
	ldr	r1, .L2+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #51
	mov	r1, #1
	ldr	r0, .L2+12
	bl	fwrite
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L2+16
	bl	fwrite
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L2+20
	bl	fwrite
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L2+24
	bl	fwrite
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	stderr
	.word	progName
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC5:
	.ascii	"-f4\000"
	.align	2
.LC6:
	.ascii	"-f6\000"
	.align	2
.LC7:
	.ascii	"-f\000"
	.align	2
.LC8:
	.ascii	"4\000"
	.align	2
.LC9:
	.ascii	"6\000"
	.align	2
.LC10:
	.ascii	"-p\000"
	.align	2
.LC11:
	.ascii	"-t\000"
	.align	2
.LC12:
	.ascii	"STREAM\000"
	.align	2
.LC13:
	.ascii	"DGRAM\000"
	.align	2
.LC14:
	.ascii	"%s: getaddrinfo %s: %s\012\000"
	.align	2
.LC15:
	.ascii	"Family Type   Proto Address\000"
	.align	2
.LC16:
	.ascii	"DGRAM \000"
	.align	2
.LC17:
	.ascii	"%d\000"
	.align	2
.LC18:
	.ascii	"%s:%d\000"
	.align	2
.LC19:
	.ascii	"[%s]:%d\000"
	.align	2
.LC20:
	.ascii	"IPv%d   %s %s  %s\012\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #224
	str	r0, [fp, #-224]
	str	r1, [fp, #-228]
	ldr	r3, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-228]
	ldr	r3, [r3]
	ldr	r2, .L41+4
	str	r3, [r2]
	ldr	r3, [fp, #-224]
	cmp	r3, #1
	bgt	.L5
	bl	usage
	mov	r3, #1
	b	.L39
.L5:
	sub	r3, fp, #168
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-212]
	mov	r3, #0
	str	r3, [fp, #-208]
	mov	r3, #1
	str	r3, [fp, #-204]
	b	.L7
.L27:
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L41+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	mov	r3, #2
	str	r3, [fp, #-164]
	b	.L9
.L8:
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L41+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	mov	r3, #10
	str	r3, [fp, #-164]
	b	.L9
.L10:
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L41+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-204]
	add	r3, r3, #1
	str	r3, [fp, #-204]
	ldr	r2, [fp, #-204]
	ldr	r3, [fp, #-224]
	cmp	r2, r3
	bne	.L12
	bl	usage
	mov	r3, #1
	b	.L39
.L12:
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L41+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	mov	r3, #2
	str	r3, [fp, #-164]
	b	.L9
.L13:
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L41+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	mov	r3, #10
	str	r3, [fp, #-164]
	b	.L9
.L14:
	bl	usage
	mov	r3, #1
	b	.L39
.L11:
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #2
	ldr	r1, .L41+28
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	mov	r3, #0
	str	r3, [fp, #-200]
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L41+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-204]
	add	r3, r3, #1
	str	r3, [fp, #-204]
	ldr	r2, [fp, #-204]
	ldr	r3, [fp, #-224]
	cmp	r2, r3
	bne	.L17
	bl	usage
	mov	r3, #1
	b	.L39
.L17:
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-200]
	b	.L18
.L16:
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #2
	str	r3, [fp, #-200]
.L18:
	ldr	r0, [fp, #-200]
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-156]
	b	.L9
.L15:
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #2
	ldr	r1, .L41+32
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	mov	r3, #0
	str	r3, [fp, #-196]
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L41+32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-204]
	add	r3, r3, #1
	str	r3, [fp, #-204]
	ldr	r2, [fp, #-204]
	ldr	r3, [fp, #-224]
	cmp	r2, r3
	bne	.L21
	bl	usage
	mov	r3, #1
	b	.L39
.L21:
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-196]
	b	.L22
.L20:
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #2
	str	r3, [fp, #-196]
.L22:
	ldr	r1, .L41+36
	ldr	r0, [fp, #-196]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	mov	r3, #1
	str	r3, [fp, #-160]
	b	.L9
.L23:
	ldr	r1, .L41+40
	ldr	r0, [fp, #-196]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
	mov	r3, #2
	str	r3, [fp, #-160]
	b	.L9
.L24:
	bl	usage
	mov	r3, #1
	b	.L39
.L19:
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	bne	.L25
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-212]
	b	.L9
.L25:
	ldr	r3, [fp, #-208]
	cmp	r3, #0
	bne	.L26
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-208]
	b	.L9
.L26:
	bl	usage
	mov	r3, #1
	b	.L39
.L9:
	ldr	r3, [fp, #-204]
	add	r3, r3, #1
	str	r3, [fp, #-204]
.L7:
	ldr	r2, [fp, #-204]
	ldr	r3, [fp, #-224]
	cmp	r2, r3
	blt	.L27
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-208]
	cmp	r3, #0
	bne	.L29
.L28:
	bl	usage
	mov	r3, #1
	b	.L39
.L29:
	sub	r3, fp, #216
	sub	r2, fp, #168
	ldr	r1, [fp, #-208]
	ldr	r0, [fp, #-212]
	bl	getaddrinfo
	str	r0, [fp, #-180]
	ldr	r3, [fp, #-180]
	cmp	r3, #0
	beq	.L30
	ldr	r3, .L41+44
	ldr	r4, [r3]
	ldr	r3, [fp, #-228]
	ldr	r5, [r3]
	ldr	r0, [fp, #-180]
	bl	gai_strerror
	mov	r3, r0
	str	r3, [sp]
	ldr	r3, [fp, #-212]
	mov	r2, r5
	ldr	r1, .L41+48
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L39
.L30:
	ldr	r0, .L41+52
	bl	puts
	ldr	r3, [fp, #-216]
	str	r3, [fp, #-192]
	b	.L31
.L38:
	ldr	r3, [fp, #-192]
	ldr	r3, [r3, #4]
	cmp	r3, #10
	bne	.L32
	mov	r3, #6
	str	r3, [fp, #-188]
	b	.L33
.L32:
	mov	r3, #4
	str	r3, [fp, #-188]
.L33:
	ldr	r3, [fp, #-192]
	ldr	r3, [r3, #8]
	cmp	r3, #1
	bne	.L34
	ldr	r3, .L41+36
	str	r3, [fp, #-184]
	b	.L35
.L34:
	ldr	r3, .L41+56
	str	r3, [fp, #-184]
.L35:
	ldr	r3, [fp, #-192]
	ldr	r2, [r3, #12]
	sub	r3, fp, #136
	ldr	r1, .L41+60
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #136
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #136
	add	r4, r3, r2
	sub	r3, fp, #136
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	rsb	r3, r3, #5
	mov	r2, r3
	mov	r1, #32
	mov	r0, r4
	bl	memset
	mov	r3, #0
	strb	r3, [fp, #-132]
	ldr	r3, [fp, #-192]
	ldr	r3, [r3, #4]
	cmp	r3, #2
	bne	.L36
	ldr	r3, [fp, #-192]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-172]
	ldr	r3, [fp, #-172]
	add	r1, r3, #4
	sub	r2, fp, #128
	mov	r3, #16
	mov	r0, #2
	bl	inet_ntop
	mov	r4, r0
	ldr	r3, [fp, #-172]
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	sub	r0, fp, #80
	mov	r2, r4
	ldr	r1, .L41+64
	bl	sprintf
	b	.L37
.L36:
	ldr	r3, [fp, #-192]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-176]
	ldr	r3, [fp, #-176]
	add	r1, r3, #8
	sub	r2, fp, #128
	mov	r3, #46
	mov	r0, #10
	bl	inet_ntop
	mov	r4, r0
	ldr	r3, [fp, #-176]
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	sub	r0, fp, #80
	mov	r2, r4
	ldr	r1, .L41+68
	bl	sprintf
.L37:
	sub	r2, fp, #136
	sub	r3, fp, #80
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-184]
	ldr	r1, [fp, #-188]
	ldr	r0, .L41+72
	bl	printf
	ldr	r3, [fp, #-192]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-192]
.L31:
	ldr	r3, [fp, #-192]
	cmp	r3, #0
	bne	.L38
	mov	r3, #0
.L39:
	ldr	r2, .L41
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC21
	.word	progName
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	stderr
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
