	.file	"48497.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"%s -m addr -p port (-i addr | -I iface) [-a]\n"
	.text
	.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
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.section	.rodata
.LC1:
	.string	"socket failed"
	.align 8
.LC2:
	.string	"setsockopt SO_REUSEPORT failed"
.LC3:
	.string	"bind failed"
.LC4:
	.string	"ip_mreq add_member\n"
	.align 8
.LC5:
	.string	"setsockopt IP_ADD_MEMBERSHIP ip_mreq failed"
	.align 8
.LC6:
	.string	"ip_mreqn add_member, ifindex %d\n"
	.align 8
.LC7:
	.string	"setsockopt IP_ADD_MEMBERSHIP ip_mreqn failed"
	.text
	.type	create_sock, @function
create_sock:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	DWORD PTR -84[rbp], edx
	mov	DWORD PTR -88[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -48[rbp], eax
	cmp	DWORD PTR -48[rbp], 0
	jns	.L3
	lea	rsi, .LC1[rip]
	mov	edi, 2
	mov	eax, 0
	call	err@PLT
.L3:
	mov	DWORD PTR -52[rbp], 1
	lea	rdx, -52[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 15
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L4
	lea	rsi, .LC2[rip]
	mov	edi, 2
	mov	eax, 0
	call	err@PLT
.L4:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	cmp	DWORD PTR -88[rbp], 0
	je	.L5
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -28[rbp], eax
.L5:
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L6
	lea	rsi, .LC3[rip]
	mov	edi, 2
	mov	eax, 0
	call	err@PLT
.L6:
	cmp	DWORD PTR -84[rbp], 0
	jns	.L7
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	lea	rax, -44[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -40[rbp], eax
	lea	rdx, -44[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	r8d, 8
	mov	rcx, rdx
	mov	edx, 35
	mov	esi, 0
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L9
	lea	rsi, .LC5[rip]
	mov	edi, 2
	mov	eax, 0
	call	err@PLT
.L7:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -84[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, -44[rbp]
	mov	edx, 12
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -36[rbp], eax
	lea	rdx, -44[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	r8d, 12
	mov	rcx, rdx
	mov	edx, 35
	mov	esi, 0
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L9
	lea	rsi, .LC7[rip]
	mov	edi, 2
	mov	eax, 0
	call	err@PLT
.L9:
	mov	eax, DWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	create_sock, .-create_sock
	.section	.rodata
.LC8:
	.string	"I:ai:m:p:"
.LC9:
	.string	"read 1 failed"
.LC10:
	.string	"read 1 got %d\n"
.LC11:
	.string	"read 2 failed"
.LC12:
	.string	"read 2 got %d\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, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -48[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -48[rbp], 2
	lea	rax, -76[rbp]
	mov	edx, 4
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -72[rbp], 0
	mov	DWORD PTR -68[rbp], -1
	jmp	.L14
.L24:
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, 73
	cmp	eax, 39
	ja	.L15
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L17[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L17[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L17:
	.long	.L21-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L20-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L19-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L18-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L16-.L17
	.text
.L21:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	if_nametoindex@PLT
	mov	DWORD PTR -68[rbp], eax
	jmp	.L14
.L20:
	mov	DWORD PTR -72[rbp], 1
	jmp	.L14
.L19:
	mov	rax, QWORD PTR optarg[rip]
	lea	rdx, -76[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	inet_pton@PLT
	test	eax, eax
	jg	.L14
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	usage
	jmp	.L14
.L18:
	mov	rax, QWORD PTR optarg[rip]
	lea	rdx, -48[rbp]
	add	rdx, 4
	mov	rsi, rax
	mov	edi, 2
	call	inet_pton@PLT
	test	eax, eax
	jg	.L14
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	usage
	jmp	.L14
.L16:
	mov	rax, QWORD PTR optarg[rip]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	WORD PTR -46[rbp], ax
	movzx	eax, WORD PTR -46[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -46[rbp], ax
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	usage
.L14:
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -84[rbp]
	lea	rdx, .LC8[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -64[rbp], eax
	cmp	DWORD PTR -64[rbp], -1
	jne	.L24
	mov	eax, DWORD PTR -44[rbp]
	test	eax, eax
	je	.L25
	movzx	eax, WORD PTR -46[rbp]
	test	ax, ax
	je	.L25
	mov	eax, DWORD PTR -76[rbp]
	test	eax, eax
	jne	.L26
	cmp	DWORD PTR -68[rbp], 0
	jns	.L26
.L25:
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	usage
.L26:
	mov	ecx, DWORD PTR -72[rbp]
	mov	edx, DWORD PTR -68[rbp]
	lea	rsi, -76[rbp]
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	create_sock
	mov	DWORD PTR -60[rbp], eax
	mov	ecx, DWORD PTR -72[rbp]
	mov	edx, DWORD PTR -68[rbp]
	lea	rsi, -76[rbp]
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	create_sock
	mov	DWORD PTR -56[rbp], eax
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	edx, 18
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	jns	.L27
	lea	rsi, .LC9[rip]
	mov	edi, 2
	mov	eax, 0
	call	err@PLT
.L27:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -52[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	edx, 18
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	jns	.L28
	lea	rsi, .LC11[rip]
	mov	edi, 2
	mov	eax, 0
	call	err@PLT
.L28:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -52[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.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	"48497.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s -m addr -p port (-i addr | -I iface) [-a]\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L2+4
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC1:
	.ascii	"socket failed\000"
	.align	2
.LC2:
	.ascii	"setsockopt SO_REUSEPORT failed\000"
	.align	2
.LC3:
	.ascii	"bind failed\000"
	.align	2
.LC4:
	.ascii	"ip_mreq add_member\012\000"
	.align	2
.LC5:
	.ascii	"setsockopt IP_ADD_MEMBERSHIP ip_mreq failed\000"
	.align	2
.LC6:
	.ascii	"ip_mreqn add_member, ifindex %d\012\000"
	.align	2
.LC7:
	.ascii	"setsockopt IP_ADD_MEMBERSHIP ip_mreqn failed\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_sock, %function
create_sock:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bge	.L5
	ldr	r1, .L15+4
	mov	r0, #2
	bl	err
.L5:
	mov	r3, #1
	str	r3, [fp, #-44]
	sub	r3, fp, #44
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, [fp, #-40]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L6
	ldr	r1, .L15+8
	mov	r0, #2
	bl	err
.L6:
	ldr	r3, [fp, #-48]
	sub	ip, fp, #24
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L7
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-20]
.L7:
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L8
	ldr	r1, .L15+12
	mov	r0, #2
	bl	err
.L8:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bge	.L9
	ldr	r3, .L15+16
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L15+20
	bl	fwrite
	sub	r3, fp, #36
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	sub	r3, fp, #36
	mov	r2, #8
	str	r2, [sp]
	mov	r2, #35
	mov	r1, #0
	ldr	r0, [fp, #-40]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L11
	ldr	r1, .L15+24
	mov	r0, #2
	bl	err
.L9:
	ldr	r3, .L15+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	ldr	r1, .L15+28
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #36
	mov	r2, #12
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-28]
	sub	r3, fp, #36
	mov	r2, #12
	str	r2, [sp]
	mov	r2, #35
	mov	r1, #0
	ldr	r0, [fp, #-40]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L11
	ldr	r1, .L15+32
	mov	r0, #2
	bl	err
.L11:
	ldr	r3, [fp, #-40]
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC8
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	stderr
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	create_sock, .-create_sock
	.section	.rodata
	.align	2
.LC9:
	.ascii	"I:ai:m:p:\000"
	.align	2
.LC10:
	.ascii	"read 1 failed\000"
	.align	2
.LC11:
	.ascii	"read 1 got %d\012\000"
	.align	2
.LC12:
	.ascii	"read 2 failed\000"
	.align	2
.LC13:
	.ascii	"read 2 got %d\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #44
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	strh	r3, [fp, #-44]	@ movhi
	sub	r3, fp, #72
	mov	r2, #4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-68]
	mvn	r3, #0
	str	r3, [fp, #-64]
	b	.L18
.L28:
	ldr	r3, [fp, #-60]
	sub	r3, r3, #73
	cmp	r3, #39
	ldrls	pc, [pc, r3, asl #2]
	b	.L19
.L21:
	.word	.L25
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L24
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L23
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L22
	.word	.L19
	.word	.L19
	.word	.L20
.L25:
	ldr	r3, .L34+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	if_nametoindex
	mov	r3, r0
	str	r3, [fp, #-64]
	b	.L18
.L24:
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L18
.L23:
	ldr	r3, .L34+4
	ldr	r3, [r3]
	sub	r2, fp, #72
	mov	r1, r3
	mov	r0, #2
	bl	inet_pton
	mov	r3, r0
	cmp	r3, #0
	bgt	.L18
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	b	.L18
.L22:
	ldr	r3, .L34+4
	ldr	r1, [r3]
	sub	r3, fp, #44
	add	r3, r3, #4
	mov	r2, r3
	mov	r0, #2
	bl	inet_pton
	mov	r3, r0
	cmp	r3, #0
	bgt	.L18
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	b	.L18
.L20:
	ldr	r3, .L34+4
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-42]	@ movhi
	ldrh	r3, [fp, #-42]
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-42]	@ movhi
	b	.L18
.L19:
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
.L18:
	ldr	r2, .L34+8
	ldr	r1, [fp, #-84]
	ldr	r0, [fp, #-80]
	bl	getopt
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmn	r3, #1
	bne	.L28
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L29
	ldrh	r3, [fp, #-42]
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bge	.L30
.L29:
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
.L30:
	sub	r1, fp, #72
	sub	r0, fp, #44
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-64]
	bl	create_sock
	str	r0, [fp, #-56]
	sub	r1, fp, #72
	sub	r0, fp, #44
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-64]
	bl	create_sock
	str	r0, [fp, #-52]
	sub	r3, fp, #28
	mov	r2, #18
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	read
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bge	.L31
	ldr	r1, .L34+12
	mov	r0, #2
	bl	err
.L31:
	ldr	r3, .L34+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	ldr	r1, .L34+20
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #28
	mov	r2, #18
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	read
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bge	.L32
	ldr	r1, .L34+24
	mov	r0, #2
	bl	err
.L32:
	ldr	r3, .L34+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	ldr	r1, .L34+28
	mov	r0, r3
	bl	fprintf
	mov	r0, #0
	bl	exit
.L35:
	.align	2
.L34:
	.word	.LC14
	.word	optarg
	.word	.LC9
	.word	.LC10
	.word	stderr
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
