	.file	"12638244.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"SOF_TIMESTAMPING_SOFTWARE"
.LC1:
	.string	"SOF_TIMESTAMPING_RX_SOFTWARE"
.LC2:
	.string	"SOF_TIMESTAMPING_RX_HARDWARE"
	.section	.data.rel.local,"aw"
	.align 32
	.type	sof_flags, @object
	.size	sof_flags, 48
sof_flags:
	.long	16
	.zero	4
	.quad	.LC0
	.long	8
	.zero	4
	.quad	.LC1
	.long	4
	.zero	4
	.quad	.LC2
	.section	.rodata
.LC3:
	.string	"ip"
.LC4:
	.string	"udp"
.LC5:
	.string	"tcp"
	.section	.data.rel.local
	.align 32
	.type	socket_types, @object
	.size	socket_types, 72
socket_types:
	.quad	.LC3
	.long	3
	.long	8
	.zero	8
	.quad	.LC4
	.long	2
	.long	17
	.zero	8
	.quad	.LC5
	.long	1
	.long	6
	.zero	8
	.data
	.align 32
	.type	test_cases, @object
	.size	test_cases, 200
test_cases:
	.zero	12
	.zero	4
	.zero	4
	.long	1
	.zero	8
	.byte	1
	.zero	3
	.zero	4
	.zero	4
	.long	1
	.zero	4
	.zero	1
	.byte	1
	.zero	2
	.zero	4
	.long	1
	.long	1
	.zero	4
	.zero	1
	.byte	1
	.zero	2
	.zero	4
	.zero	8
	.long	8
	.zero	4
	.zero	4
	.zero	8
	.long	4
	.zero	4
	.zero	4
	.zero	8
	.long	16
	.zero	5
	.byte	1
	.zero	2
	.zero	8
	.long	12
	.zero	4
	.zero	4
	.zero	8
	.long	24
	.zero	2
	.byte	1
	.zero	1
	.zero	4
	.long	1
	.zero	4
	.long	24
	.byte	1
	.zero	1
	.byte	1
	.zero	1
	.zero	4
	.section	.rodata
.LC6:
	.string	"list_tests"
.LC7:
	.string	"test_num"
.LC8:
	.string	"op_size"
.LC9:
	.string	"strict"
.LC10:
	.string	"ipv4"
.LC11:
	.string	"ipv6"
	.section	.data.rel.local
	.align 32
	.type	long_options, @object
	.size	long_options, 320
long_options:
	.quad	.LC6
	.long	0
	.zero	4
	.quad	0
	.long	108
	.zero	4
	.quad	.LC7
	.long	1
	.zero	4
	.quad	0
	.long	110
	.zero	4
	.quad	.LC8
	.long	1
	.zero	4
	.quad	0
	.long	115
	.zero	4
	.quad	.LC5
	.long	0
	.zero	4
	.quad	0
	.long	116
	.zero	4
	.quad	.LC4
	.long	0
	.zero	4
	.quad	0
	.long	117
	.zero	4
	.quad	.LC3
	.long	0
	.zero	4
	.quad	0
	.long	105
	.zero	4
	.quad	.LC9
	.long	0
	.zero	4
	.quad	0
	.long	83
	.zero	4
	.quad	.LC10
	.long	0
	.zero	4
	.quad	0
	.long	52
	.zero	4
	.quad	.LC11
	.long	0
	.zero	4
	.quad	0
	.long	54
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.data
	.align 4
	.type	next_port, @object
	.size	next_port, 4
next_port:
	.long	19999
	.align 4
	.type	op_size, @object
	.size	op_size, 4
op_size:
	.long	10240
	.section	.rodata
.LC12:
	.string	"sockopts {"
.LC13:
	.string	" SO_TIMESTAMP "
.LC14:
	.string	" SO_TIMESTAMPNS "
.LC15:
	.string	" SO_TIMESTAMPING: {"
.LC16:
	.string	" %s |"
.LC17:
	.string	"} expected cmsgs: {"
.LC18:
	.string	" SCM_TIMESTAMP "
.LC19:
	.string	" SCM_TIMESTAMPNS "
.LC20:
	.string	" SCM_TIMESTAMPING {"
.LC21:
	.string	"}"
	.text
	.globl	print_test_case
	.type	print_test_case, @function
print_test_case:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L2
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	je	.L3
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	je	.L4
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L5
.L7:
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, sof_flags[rip]
	mov	eax, DWORD PTR [rdx+rax]
	and	eax, ecx
	test	eax, eax
	je	.L6
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, sof_flags[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
.L6:
	add	DWORD PTR -4[rbp], 1
.L5:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, 2
	jbe	.L7
	mov	edi, 125
	call	putchar@PLT
.L4:
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 12[rax]
	test	al, al
	je	.L8
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 13[rax]
	test	al, al
	je	.L9
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 14[rax]
	test	al, al
	jne	.L10
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 15[rax]
	test	al, al
	je	.L11
.L10:
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 14[rax]
	test	al, al
	je	.L12
	mov	edi, 48
	call	putchar@PLT
.L12:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 14[rax]
	test	al, al
	je	.L13
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 15[rax]
	test	al, al
	je	.L13
	mov	edi, 44
	call	putchar@PLT
.L13:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 15[rax]
	test	al, al
	je	.L14
	mov	edi, 50
	call	putchar@PLT
.L14:
	mov	edi, 125
	call	putchar@PLT
.L11:
	lea	rdi, .LC21[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	print_test_case, .-print_test_case
	.section	.rodata
.LC22:
	.string	"Failed to sendmsg"
	.text
	.globl	do_send
	.type	do_send, @function
do_send:
.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 -36[rbp], edi
	mov	eax, DWORD PTR op_size[rip]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR op_size[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 122
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR op_size[rip]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jns	.L16
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -24[rbp], 1
	mov	DWORD PTR -20[rbp], eax
	lea	rax, .LC22[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L16:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	do_send, .-do_send
	.section	.rodata
.LC23:
	.string	"Failed to recvmsg"
	.align 8
.LC24:
	.string	"Only received %d bytes of payload."
.LC25:
	.string	"Message was truncated."
.LC26:
	.string	"Unexpected cmsg_level %d"
.LC27:
	.string	"ts[1] should not be set."
.LC28:
	.string	"Unexpected cmsg_type %d"
.LC29:
	.string	"Expected tstamp to be set."
	.align 8
.LC30:
	.string	"Expected tstamp to not be set."
.LC31:
	.string	"Expected tstampns to be set."
	.align 8
.LC32:
	.string	"Expected tstampns to not be set."
.LC33:
	.string	"Expected swtstamp to be set."
	.align 8
.LC34:
	.string	"Expected swtstamp to not be set."
.LC35:
	.string	"Expected hwtstamp to be set."
	.align 8
.LC36:
	.string	"Expected hwtstamp to not be set."
	.text
	.globl	do_recv
	.type	do_recv, @function
do_recv:
.LFB10:
	.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, 392
	.cfi_offset 3, -24
	mov	DWORD PTR -388[rbp], edi
	mov	DWORD PTR -392[rbp], esi
	mov	DWORD PTR -396[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	DWORD PTR -368[rbp], 1024
	mov	DWORD PTR -244[rbp], 0
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	sub	rax, 1
	mov	QWORD PTR -232[rbp], rax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	mov	r10, rax
	mov	r11d, 0
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	mov	r8, rax
	mov	r9d, 0
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L18:
	cmp	rsp, rdx
	je	.L19
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L18
.L19:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L20
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L20:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -224[rbp], rax
	mov	BYTE PTR -369[rbp], 0
	mov	DWORD PTR -364[rbp], 0
	lea	rax, -80[rbp]
	mov	edx, 56
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -96[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], 1
	mov	eax, DWORD PTR -392[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -96[rbp], rax
	mov	eax, DWORD PTR -392[rbp]
	cdqe
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -224[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	mov	QWORD PTR -40[rbp], rax
	mov	edx, DWORD PTR -364[rbp]
	lea	rcx, -80[rbp]
	mov	eax, DWORD PTR -388[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	recvmsg@PLT
	mov	DWORD PTR -360[rbp], eax
	cmp	DWORD PTR -360[rbp], 0
	jns	.L21
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -356[rbp], 1
	mov	DWORD PTR -352[rbp], eax
	lea	rax, .LC23[rip]
	mov	QWORD PTR -208[rbp], rax
	mov	rdx, QWORD PTR -208[rbp]
	mov	ecx, DWORD PTR -352[rbp]
	mov	eax, DWORD PTR -356[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L21:
	mov	eax, DWORD PTR -360[rbp]
	cmp	eax, DWORD PTR -392[rbp]
	je	.L22
	mov	DWORD PTR -348[rbp], 1
	mov	DWORD PTR -344[rbp], 0
	lea	rax, .LC24[rip]
	mov	QWORD PTR -200[rbp], rax
	mov	ecx, DWORD PTR -360[rbp]
	mov	rdx, QWORD PTR -200[rbp]
	mov	esi, DWORD PTR -344[rbp]
	mov	eax, DWORD PTR -348[rbp]
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L22:
	mov	eax, DWORD PTR -32[rbp]
	and	eax, 40
	test	eax, eax
	je	.L23
	mov	DWORD PTR -340[rbp], 1
	mov	DWORD PTR -336[rbp], 0
	lea	rax, .LC25[rip]
	mov	QWORD PTR -192[rbp], rax
	mov	rdx, QWORD PTR -192[rbp]
	mov	ecx, DWORD PTR -336[rbp]
	mov	eax, DWORD PTR -340[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L23:
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, 15
	jbe	.L24
	mov	rax, QWORD PTR -48[rbp]
	jmp	.L25
.L24:
	mov	eax, 0
.L25:
	mov	QWORD PTR -240[rbp], rax
	jmp	.L26
.L34:
	mov	rax, QWORD PTR -240[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 1
	je	.L27
	mov	rax, QWORD PTR -240[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	DWORD PTR -332[rbp], 1
	mov	DWORD PTR -328[rbp], 0
	lea	rax, .LC26[rip]
	mov	QWORD PTR -184[rbp], rax
	mov	rdx, QWORD PTR -184[rbp]
	mov	esi, DWORD PTR -328[rbp]
	mov	eax, DWORD PTR -332[rbp]
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L27:
	mov	rax, QWORD PTR -240[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 37
	je	.L28
	cmp	eax, 37
	jg	.L29
	cmp	eax, 29
	je	.L30
	cmp	eax, 35
	je	.L31
	jmp	.L29
.L30:
	mov	BYTE PTR -244[rbp], 1
	jmp	.L32
.L31:
	mov	BYTE PTR -243[rbp], 1
	jmp	.L32
.L28:
	mov	rax, QWORD PTR -240[rbp]
	add	rax, 16
	mov	QWORD PTR -216[rbp], rax
	mov	rax, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	setne	al
	mov	BYTE PTR -242[rbp], al
	mov	rax, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L33
	mov	DWORD PTR -324[rbp], 0
	mov	DWORD PTR -320[rbp], 0
	lea	rax, .LC27[rip]
	mov	QWORD PTR -176[rbp], rax
	mov	rdx, QWORD PTR -176[rbp]
	mov	ecx, DWORD PTR -320[rbp]
	mov	eax, DWORD PTR -324[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L33:
	mov	rax, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	setne	al
	mov	BYTE PTR -241[rbp], al
	jmp	.L32
.L29:
	mov	rax, QWORD PTR -240[rbp]
	mov	ecx, DWORD PTR 12[rax]
	mov	DWORD PTR -316[rbp], 1
	mov	DWORD PTR -312[rbp], 0
	lea	rax, .LC28[rip]
	mov	QWORD PTR -168[rbp], rax
	mov	rdx, QWORD PTR -168[rbp]
	mov	esi, DWORD PTR -312[rbp]
	mov	eax, DWORD PTR -316[rbp]
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L32:
	mov	rdx, QWORD PTR -240[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	__cmsg_nxthdr@PLT
	mov	QWORD PTR -240[rbp], rax
.L26:
	cmp	QWORD PTR -240[rbp], 0
	jne	.L34
	movzx	edx, BYTE PTR -396[rbp]
	movzx	eax, BYTE PTR -244[rbp]
	cmp	dl, al
	je	.L35
	movzx	eax, BYTE PTR -396[rbp]
	test	al, al
	je	.L36
	mov	DWORD PTR -308[rbp], 0
	mov	DWORD PTR -304[rbp], 0
	lea	rax, .LC29[rip]
	mov	QWORD PTR -160[rbp], rax
	mov	rdx, QWORD PTR -160[rbp]
	mov	ecx, DWORD PTR -304[rbp]
	mov	eax, DWORD PTR -308[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	jmp	.L37
.L36:
	mov	DWORD PTR -300[rbp], 0
	mov	DWORD PTR -296[rbp], 0
	lea	rax, .LC30[rip]
	mov	QWORD PTR -152[rbp], rax
	mov	rdx, QWORD PTR -152[rbp]
	mov	ecx, DWORD PTR -296[rbp]
	mov	eax, DWORD PTR -300[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L37:
	mov	BYTE PTR -369[rbp], 1
.L35:
	movzx	edx, BYTE PTR -395[rbp]
	movzx	eax, BYTE PTR -243[rbp]
	cmp	dl, al
	je	.L38
	movzx	eax, BYTE PTR -395[rbp]
	test	al, al
	je	.L39
	mov	DWORD PTR -292[rbp], 0
	mov	DWORD PTR -288[rbp], 0
	lea	rax, .LC31[rip]
	mov	QWORD PTR -144[rbp], rax
	mov	rdx, QWORD PTR -144[rbp]
	mov	ecx, DWORD PTR -288[rbp]
	mov	eax, DWORD PTR -292[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	jmp	.L40
.L39:
	mov	DWORD PTR -284[rbp], 0
	mov	DWORD PTR -280[rbp], 0
	lea	rax, .LC32[rip]
	mov	QWORD PTR -136[rbp], rax
	mov	rdx, QWORD PTR -136[rbp]
	mov	ecx, DWORD PTR -280[rbp]
	mov	eax, DWORD PTR -284[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L40:
	mov	BYTE PTR -369[rbp], 1
.L38:
	movzx	edx, BYTE PTR -394[rbp]
	movzx	eax, BYTE PTR -242[rbp]
	cmp	dl, al
	je	.L41
	movzx	eax, BYTE PTR -394[rbp]
	test	al, al
	je	.L42
	mov	DWORD PTR -276[rbp], 0
	mov	DWORD PTR -272[rbp], 0
	lea	rax, .LC33[rip]
	mov	QWORD PTR -128[rbp], rax
	mov	rdx, QWORD PTR -128[rbp]
	mov	ecx, DWORD PTR -272[rbp]
	mov	eax, DWORD PTR -276[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	jmp	.L43
.L42:
	mov	DWORD PTR -268[rbp], 0
	mov	DWORD PTR -264[rbp], 0
	lea	rax, .LC34[rip]
	mov	QWORD PTR -120[rbp], rax
	mov	rdx, QWORD PTR -120[rbp]
	mov	ecx, DWORD PTR -264[rbp]
	mov	eax, DWORD PTR -268[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L43:
	mov	BYTE PTR -369[rbp], 1
.L41:
	movzx	edx, BYTE PTR -393[rbp]
	movzx	eax, BYTE PTR -241[rbp]
	cmp	dl, al
	je	.L44
	movzx	eax, BYTE PTR -393[rbp]
	test	al, al
	je	.L45
	mov	DWORD PTR -260[rbp], 0
	mov	DWORD PTR -256[rbp], 0
	lea	rax, .LC35[rip]
	mov	QWORD PTR -112[rbp], rax
	mov	rdx, QWORD PTR -112[rbp]
	mov	ecx, DWORD PTR -256[rbp]
	mov	eax, DWORD PTR -260[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	jmp	.L46
.L45:
	mov	DWORD PTR -252[rbp], 0
	mov	DWORD PTR -248[rbp], 0
	lea	rax, .LC36[rip]
	mov	QWORD PTR -104[rbp], rax
	mov	rdx, QWORD PTR -104[rbp]
	mov	ecx, DWORD PTR -248[rbp]
	mov	eax, DWORD PTR -252[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L46:
	mov	BYTE PTR -369[rbp], 1
.L44:
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	free@PLT
	movzx	eax, BYTE PTR -369[rbp]
	mov	rsp, rbx
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L48
	call	__stack_chk_fail@PLT
.L48:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	do_recv, .-do_recv
	.section	.rodata
.LC37:
	.string	"Failed to enable SO_REUSEADDR"
.LC38:
	.string	"Failed to enable SO_TIMESTAMP"
	.align 8
.LC39:
	.string	"Failed to enable SO_TIMESTAMPNS"
.LC40:
	.string	"Failed to set SO_TIMESTAMPING"
	.text
	.globl	config_so_flags
	.type	config_so_flags, @function
config_so_flags:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	DWORD PTR -84[rbp], edi
	mov	rcx, rsi
	mov	eax, edx
	mov	QWORD PTR -100[rbp], rcx
	mov	DWORD PTR -92[rbp], eax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -76[rbp], 1
	lea	rdx, -76[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L50
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -72[rbp], 1
	mov	DWORD PTR -68[rbp], eax
	lea	rax, .LC37[rip]
	mov	QWORD PTR -40[rbp], rax
	mov	rdx, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L50:
	mov	eax, DWORD PTR -100[rbp]
	test	eax, eax
	je	.L51
	lea	rdx, -100[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 29
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L51
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -64[rbp], 1
	mov	DWORD PTR -60[rbp], eax
	lea	rax, .LC38[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	rdx, QWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -60[rbp]
	mov	eax, DWORD PTR -64[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L51:
	mov	eax, DWORD PTR -96[rbp]
	test	eax, eax
	je	.L52
	lea	rax, -100[rbp]
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR -84[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 35
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L52
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -56[rbp], 1
	mov	DWORD PTR -52[rbp], eax
	lea	rax, .LC39[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	rdx, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L52:
	mov	eax, DWORD PTR -92[rbp]
	test	eax, eax
	je	.L55
	lea	rax, -100[rbp]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -84[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 37
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L55
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -48[rbp], 1
	mov	DWORD PTR -44[rbp], eax
	lea	rax, .LC40[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L55:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	config_so_flags, .-config_so_flags
	.section	.rodata
	.align 8
.LC41:
	.string	"Starting testcase %d over ipv%c...\n"
.LC42:
	.string	"Failed to open src socket"
.LC43:
	.string	"Failed to open dst socket"
.LC44:
	.string	"Failed to bind to port %d"
.LC45:
	.string	"Failed to listen"
.LC46:
	.string	"Failed to connect"
.LC47:
	.string	"Failed to accept"
	.align 8
.LC48:
	.string	"FAILURE in testcase %d over ipv%c "
	.text
	.globl	run_test_case
	.type	run_test_case, @function
run_test_case:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	QWORD PTR -184[rbp], rdi
	mov	DWORD PTR -188[rbp], esi
	mov	eax, ecx
	mov	BYTE PTR -192[rbp], dl
	mov	BYTE PTR -196[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR op_size[rip]
	mov	DWORD PTR -168[rbp], eax
	mov	BYTE PTR -169[rbp], 0
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 3
	je	.L57
	mov	eax, DWORD PTR next_port[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR next_port[rip], edx
	jmp	.L58
.L57:
	mov	eax, 0
.L58:
	mov	DWORD PTR -156[rbp], eax
	lea	rax, -48[rbp]
	mov	edx, 28
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	cmp	BYTE PTR -192[rbp], 52
	jne	.L59
	mov	WORD PTR -48[rbp], 2
	mov	edi, 2130706433
	call	htonl@PLT
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -156[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -46[rbp], ax
	mov	DWORD PTR -160[rbp], 16
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 3
	jne	.L60
	add	DWORD PTR -168[rbp], 20
	jmp	.L60
.L59:
	mov	WORD PTR -48[rbp], 10
	mov	rax, QWORD PTR in6addr_loopback[rip]
	mov	rdx, QWORD PTR in6addr_loopback[rip+8]
	mov	QWORD PTR -40[rbp], rax
	mov	QWORD PTR -32[rbp], rdx
	mov	eax, DWORD PTR -156[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -46[rbp], ax
	mov	DWORD PTR -160[rbp], 28
.L60:
	movsx	edx, BYTE PTR -192[rbp]
	mov	eax, DWORD PTR -188[rbp]
	mov	esi, eax
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -184[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -184[rbp]
	mov	ecx, DWORD PTR 8[rax]
	movzx	eax, WORD PTR -48[rbp]
	movzx	eax, ax
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -152[rbp], eax
	cmp	DWORD PTR -152[rbp], 0
	jns	.L61
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -144[rbp], 1
	mov	DWORD PTR -140[rbp], eax
	lea	rax, .LC42[rip]
	mov	QWORD PTR -96[rbp], rax
	mov	rdx, QWORD PTR -96[rbp]
	mov	ecx, DWORD PTR -140[rbp]
	mov	eax, DWORD PTR -144[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L61:
	mov	rax, QWORD PTR -184[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -184[rbp]
	mov	ecx, DWORD PTR 8[rax]
	movzx	eax, WORD PTR -48[rbp]
	movzx	eax, ax
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -148[rbp], eax
	cmp	DWORD PTR -148[rbp], 0
	jns	.L62
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -136[rbp], 1
	mov	DWORD PTR -132[rbp], eax
	lea	rax, .LC43[rip]
	mov	QWORD PTR -88[rbp], rax
	mov	rdx, QWORD PTR -88[rbp]
	mov	ecx, DWORD PTR -132[rbp]
	mov	eax, DWORD PTR -136[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L62:
	mov	edx, DWORD PTR -160[rbp]
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L63
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -128[rbp], 1
	mov	DWORD PTR -124[rbp], eax
	lea	rax, .LC44[rip]
	mov	QWORD PTR -80[rbp], rax
	mov	ecx, DWORD PTR -156[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	esi, DWORD PTR -124[rbp]
	mov	eax, DWORD PTR -128[rbp]
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L63:
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 1
	jne	.L64
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, 1
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	jns	.L64
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -120[rbp], 1
	mov	DWORD PTR -116[rbp], eax
	lea	rax, .LC45[rip]
	mov	QWORD PTR -72[rbp], rax
	mov	rdx, QWORD PTR -72[rbp]
	mov	ecx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -120[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L64:
	mov	edx, DWORD PTR -160[rbp]
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -152[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	jns	.L65
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -112[rbp], 1
	mov	DWORD PTR -108[rbp], eax
	lea	rax, .LC46[rip]
	mov	QWORD PTR -64[rbp], rax
	mov	rdx, QWORD PTR -64[rbp]
	mov	ecx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -112[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L65:
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 1
	jne	.L66
	mov	eax, DWORD PTR -148[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 0
	jns	.L67
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -104[rbp], 1
	mov	DWORD PTR -100[rbp], eax
	lea	rax, .LC47[rip]
	mov	QWORD PTR -56[rbp], rax
	mov	rdx, QWORD PTR -56[rbp]
	mov	ecx, DWORD PTR -100[rbp]
	mov	eax, DWORD PTR -104[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L67:
	mov	eax, DWORD PTR -148[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L68
.L66:
	mov	eax, DWORD PTR -148[rbp]
	mov	DWORD PTR -164[rbp], eax
.L68:
	mov	eax, DWORD PTR -188[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, test_cases[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	edx, DWORD PTR 8[rdx+rax]
	mov	eax, DWORD PTR -164[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	config_so_flags
	mov	edi, 20000
	call	usleep@PLT
	mov	eax, DWORD PTR -152[rbp]
	mov	edi, eax
	call	do_send
	mov	eax, DWORD PTR -188[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, test_cases[rip+12]
	mov	edx, DWORD PTR [rdx+rax]
	mov	ecx, DWORD PTR -168[rbp]
	mov	eax, DWORD PTR -164[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	do_recv
	mov	BYTE PTR -169[rbp], al
	mov	eax, DWORD PTR -164[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -152[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	BYTE PTR -169[rbp], 0
	je	.L69
	movsx	edx, BYTE PTR -192[rbp]
	mov	eax, DWORD PTR -188[rbp]
	mov	esi, eax
	lea	rdi, .LC48[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -188[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, test_cases[rip]
	add	rax, rdx
	mov	rdi, rax
	call	print_test_case
	movzx	eax, BYTE PTR -196[rbp]
	xor	eax, 1
	test	al, al
	je	.L69
	mov	eax, DWORD PTR -188[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, test_cases[rip+17]
	movzx	eax, BYTE PTR [rdx+rax]
	test	al, al
	je	.L69
	mov	BYTE PTR -169[rbp], 0
.L69:
	movzx	eax, BYTE PTR -169[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L71
	call	__stack_chk_fail@PLT
.L71:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	run_test_case, .-run_test_case
	.section	.rodata
.LC49:
	.string	"%d\t"
.LC50:
	.string	"Invalid test case: %d"
.LC51:
	.string	"Failed to parse parameters."
.LC52:
	.string	""
.LC53:
	.string	"Testing %s...\n"
.LC54:
	.string	"PASSED."
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.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
	mov	BYTE PTR -65[rbp], 1
	mov	BYTE PTR -64[rbp], 1
	mov	BYTE PTR -63[rbp], 0
	mov	BYTE PTR -62[rbp], 0
	mov	BYTE PTR -61[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	mov	DWORD PTR -56[rbp], 0
	jmp	.L73
.L89:
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 52
	cmp	eax, 65
	ja	.L74
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L76[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L76[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L76:
	.long	.L84-.L76
	.long	.L74-.L76
	.long	.L83-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L82-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L81-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L80-.L76
	.long	.L74-.L76
	.long	.L79-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L74-.L76
	.long	.L78-.L76
	.long	.L77-.L76
	.long	.L75-.L76
	.text
.L80:
	mov	DWORD PTR -48[rbp], 0
	jmp	.L85
.L86:
	mov	eax, DWORD PTR -48[rbp]
	mov	esi, eax
	lea	rdi, .LC49[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, test_cases[rip]
	add	rax, rdx
	mov	rdi, rax
	call	print_test_case
	add	DWORD PTR -48[rbp], 1
.L85:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 9
	jbe	.L86
	mov	eax, 0
	jmp	.L102
.L79:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 9
	jbe	.L88
	mov	DWORD PTR -40[rbp], 1
	mov	DWORD PTR -36[rbp], 0
	lea	rax, .LC50[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	ecx, DWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L88:
	mov	BYTE PTR -64[rbp], 0
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, test_cases[rip+16]
	mov	BYTE PTR [rdx+rax], 1
	jmp	.L73
.L78:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR op_size[rip], eax
	jmp	.L73
.L77:
	mov	BYTE PTR -65[rbp], 0
	mov	BYTE PTR socket_types[rip+64], 1
	jmp	.L73
.L75:
	mov	BYTE PTR -65[rbp], 0
	mov	BYTE PTR socket_types[rip+40], 1
	jmp	.L73
.L81:
	mov	BYTE PTR -65[rbp], 0
	mov	BYTE PTR socket_types[rip+16], 1
	jmp	.L73
.L82:
	mov	BYTE PTR -61[rbp], 1
	jmp	.L73
.L84:
	mov	BYTE PTR -63[rbp], 1
	jmp	.L73
.L83:
	mov	BYTE PTR -62[rbp], 1
	jmp	.L73
.L74:
	mov	DWORD PTR -32[rbp], 1
	mov	DWORD PTR -28[rbp], 0
	lea	rax, .LC51[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L73:
	lea	rdx, -60[rbp]
	mov	rsi, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	r8, rdx
	lea	rcx, long_options[rip]
	lea	rdx, .LC52[rip]
	mov	edi, eax
	call	getopt_long@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], -1
	jne	.L89
	mov	DWORD PTR -52[rbp], 0
	jmp	.L90
.L100:
	movzx	eax, BYTE PTR -65[rbp]
	xor	eax, 1
	test	al, al
	je	.L91
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, socket_types[rip+16]
	movzx	eax, BYTE PTR [rdx+rax]
	xor	eax, 1
	test	al, al
	jne	.L104
.L91:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, socket_types[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC53[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -48[rbp], 0
	jmp	.L93
.L99:
	movzx	eax, BYTE PTR -64[rbp]
	xor	eax, 1
	test	al, al
	je	.L94
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, test_cases[rip+16]
	movzx	eax, BYTE PTR [rdx+rax]
	xor	eax, 1
	test	al, al
	jne	.L105
.L94:
	cmp	BYTE PTR -63[rbp], 0
	jne	.L96
	movzx	eax, BYTE PTR -62[rbp]
	xor	eax, 1
	test	al, al
	je	.L97
.L96:
	movzx	edx, BYTE PTR -61[rbp]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	lea	rcx, socket_types[rip]
	lea	rdi, [rax+rcx]
	mov	eax, DWORD PTR -48[rbp]
	mov	ecx, edx
	mov	edx, 52
	mov	esi, eax
	call	run_test_case
	test	al, al
	je	.L97
	add	DWORD PTR -56[rbp], 1
.L97:
	cmp	BYTE PTR -62[rbp], 0
	jne	.L98
	movzx	eax, BYTE PTR -63[rbp]
	xor	eax, 1
	test	al, al
	je	.L95
.L98:
	movzx	edx, BYTE PTR -61[rbp]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	lea	rcx, socket_types[rip]
	lea	rdi, [rax+rcx]
	mov	eax, DWORD PTR -48[rbp]
	mov	ecx, edx
	mov	edx, 54
	mov	esi, eax
	call	run_test_case
	test	al, al
	je	.L95
	add	DWORD PTR -56[rbp], 1
	jmp	.L95
.L105:
	nop
.L95:
	add	DWORD PTR -48[rbp], 1
.L93:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 9
	jbe	.L99
	jmp	.L92
.L104:
	nop
.L92:
	add	DWORD PTR -52[rbp], 1
.L90:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 2
	jbe	.L100
	cmp	DWORD PTR -56[rbp], 0
	jne	.L101
	lea	rdi, .LC54[rip]
	call	puts@PLT
.L101:
	mov	eax, DWORD PTR -56[rbp]
.L102:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L103
	call	__stack_chk_fail@PLT
.L103:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.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	"12638244.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"SOF_TIMESTAMPING_SOFTWARE\000"
	.align	2
.LC1:
	.ascii	"SOF_TIMESTAMPING_RX_SOFTWARE\000"
	.align	2
.LC2:
	.ascii	"SOF_TIMESTAMPING_RX_HARDWARE\000"
	.data
	.align	2
	.type	sof_flags, %object
	.size	sof_flags, 24
sof_flags:
	.word	16
	.word	.LC0
	.word	8
	.word	.LC1
	.word	4
	.word	.LC2
	.section	.rodata
	.align	2
.LC3:
	.ascii	"ip\000"
	.align	2
.LC4:
	.ascii	"udp\000"
	.align	2
.LC5:
	.ascii	"tcp\000"
	.data
	.align	2
	.type	socket_types, %object
	.size	socket_types, 48
socket_types:
	.word	.LC3
	.word	3
	.word	8
	.space	4
	.word	.LC4
	.word	2
	.word	17
	.space	4
	.word	.LC5
	.word	1
	.word	6
	.space	4
	.align	2
	.type	test_cases, %object
	.size	test_cases, 200
test_cases:
	.space	12
	.space	4
	.space	4
	.word	1
	.space	8
	.byte	1
	.space	3
	.space	4
	.space	4
	.word	1
	.space	4
	.space	1
	.byte	1
	.space	2
	.space	4
	.word	1
	.word	1
	.space	4
	.space	1
	.byte	1
	.space	2
	.space	4
	.space	8
	.word	8
	.space	4
	.space	4
	.space	8
	.word	4
	.space	4
	.space	4
	.space	8
	.word	16
	.space	5
	.byte	1
	.space	2
	.space	8
	.word	12
	.space	4
	.space	4
	.space	8
	.word	24
	.space	2
	.byte	1
	.space	1
	.space	4
	.word	1
	.space	4
	.word	24
	.byte	1
	.space	1
	.byte	1
	.space	1
	.space	4
	.section	.rodata
	.align	2
.LC6:
	.ascii	"list_tests\000"
	.align	2
.LC7:
	.ascii	"test_num\000"
	.align	2
.LC8:
	.ascii	"op_size\000"
	.align	2
.LC9:
	.ascii	"strict\000"
	.align	2
.LC10:
	.ascii	"ipv4\000"
	.align	2
.LC11:
	.ascii	"ipv6\000"
	.data
	.align	2
	.type	long_options, %object
	.size	long_options, 160
long_options:
	.word	.LC6
	.word	0
	.word	0
	.word	108
	.word	.LC7
	.word	1
	.word	0
	.word	110
	.word	.LC8
	.word	1
	.word	0
	.word	115
	.word	.LC5
	.word	0
	.word	0
	.word	116
	.word	.LC4
	.word	0
	.word	0
	.word	117
	.word	.LC3
	.word	0
	.word	0
	.word	105
	.word	.LC9
	.word	0
	.word	0
	.word	83
	.word	.LC10
	.word	0
	.word	0
	.word	52
	.word	.LC11
	.word	0
	.word	0
	.word	54
	.word	0
	.word	0
	.word	0
	.word	0
	.align	2
	.type	next_port, %object
	.size	next_port, 4
next_port:
	.word	19999
	.align	2
	.type	op_size, %object
	.size	op_size, 4
op_size:
	.word	10240
	.section	.rodata
	.align	2
.LC12:
	.ascii	"sockopts {\000"
	.align	2
.LC13:
	.ascii	" SO_TIMESTAMP \000"
	.align	2
.LC14:
	.ascii	" SO_TIMESTAMPNS \000"
	.align	2
.LC15:
	.ascii	" SO_TIMESTAMPING: {\000"
	.align	2
.LC16:
	.ascii	" %s |\000"
	.align	2
.LC17:
	.ascii	"} expected cmsgs: {\000"
	.align	2
.LC18:
	.ascii	" SCM_TIMESTAMP \000"
	.align	2
.LC19:
	.ascii	" SCM_TIMESTAMPNS \000"
	.align	2
.LC20:
	.ascii	" SCM_TIMESTAMPING {\000"
	.align	2
.LC21:
	.ascii	"}\000"
	.text
	.align	2
	.global	print_test_case
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_test_case, %function
print_test_case:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r0, .L15
	bl	printf
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L2
	ldr	r0, .L15+4
	bl	printf
.L2:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L3
	ldr	r0, .L15+8
	bl	printf
.L3:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L4
	ldr	r0, .L15+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L5
.L7:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r1, .L15+16
	ldr	r3, [fp, #-8]
	ldr	r3, [r1, r3, lsl #3]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L6
	ldr	r2, .L15+16
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L15+20
	bl	printf
.L6:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bls	.L7
	mov	r0, #125
	bl	putchar
.L4:
	ldr	r0, .L15+24
	bl	printf
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L8
	ldr	r0, .L15+28
	bl	printf
.L8:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #13]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L9
	ldr	r0, .L15+32
	bl	printf
.L9:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #14]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #15]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L11
.L10:
	ldr	r0, .L15+36
	bl	printf
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #14]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
	mov	r0, #48
	bl	putchar
.L12:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #14]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #15]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L13
	mov	r0, #44
	bl	putchar
.L13:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #15]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L14
	mov	r0, #50
	bl	putchar
.L14:
	mov	r0, #125
	bl	putchar
.L11:
	ldr	r0, .L15+40
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	sof_flags
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.size	print_test_case, .-print_test_case
	.section	.rodata
	.align	2
.LC22:
	.ascii	"Failed to sendmsg\000"
	.text
	.align	2
	.global	do_send
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_send, %function
do_send:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #122
	ldr	r0, [fp, #-24]
	bl	memset
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-32]
	bl	write
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L18
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, .L19+4
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	error
	nop
.L18:
	ldr	r0, [fp, #-24]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	op_size
	.word	.LC22
	.size	do_send, .-do_send
	.section	.rodata
	.align	2
.LC23:
	.ascii	"Failed to recvmsg\000"
	.align	2
.LC24:
	.ascii	"Only received %d bytes of payload.\000"
	.align	2
.LC25:
	.ascii	"Message was truncated.\000"
	.align	2
.LC26:
	.ascii	"Unexpected cmsg_level %d\000"
	.align	2
.LC27:
	.ascii	"ts[1] should not be set.\000"
	.align	2
.LC28:
	.ascii	"Unexpected cmsg_type %d\000"
	.align	2
.LC29:
	.ascii	"Expected tstamp to be set.\000"
	.align	2
.LC30:
	.ascii	"Expected tstamp to not be set.\000"
	.align	2
.LC31:
	.ascii	"Expected tstampns to be set.\000"
	.align	2
.LC32:
	.ascii	"Expected tstampns to not be set.\000"
	.align	2
.LC33:
	.ascii	"Expected swtstamp to be set.\000"
	.align	2
.LC34:
	.ascii	"Expected swtstamp to not be set.\000"
	.align	2
.LC35:
	.ascii	"Expected hwtstamp to be set.\000"
	.align	2
.LC36:
	.ascii	"Expected hwtstamp to not be set.\000"
	.align	2
.LC37:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	do_recv
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_recv, %function
do_recv:
	@ args = 0, pretend = 0, frame = 264
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #268
	str	r0, [fp, #-264]
	str	r1, [fp, #-268]
	str	r2, [fp, #-272]
	ldr	r3, .L50
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	mov	r3, #1024
	str	r3, [fp, #-244]
	mov	r3, #0
	str	r3, [fp, #-252]
	ldr	r3, [fp, #-244]
	sub	r3, r3, #1
	str	r3, [fp, #-240]
	ldr	r3, [fp, #-244]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-244]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-244]
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-236]
	mov	r3, #0
	strb	r3, [fp, #-253]
	mov	r3, #0
	str	r3, [fp, #-232]
	sub	r3, fp, #44
	mov	r2, #28
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #52
	str	r3, [fp, #-36]
	mov	r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-268]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-268]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-236]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-244]
	str	r3, [fp, #-24]
	sub	r3, fp, #44
	ldr	r2, [fp, #-232]
	mov	r1, r3
	ldr	r0, [fp, #-264]
	bl	recvmsg
	str	r0, [fp, #-228]
	ldr	r3, [fp, #-228]
	cmp	r3, #0
	bge	.L22
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [fp, #-220]
	str	r3, [fp, #-216]
	ldr	r3, .L50+4
	str	r3, [fp, #-212]
	ldr	r2, [fp, #-212]
	ldr	r1, [fp, #-216]
	ldr	r0, [fp, #-220]
	bl	error
	nop
.L22:
	ldr	r2, [fp, #-228]
	ldr	r3, [fp, #-268]
	cmp	r2, r3
	beq	.L23
	mov	r3, #1
	str	r3, [fp, #-208]
	mov	r3, #0
	str	r3, [fp, #-204]
	ldr	r3, .L50+8
	str	r3, [fp, #-200]
	ldr	r3, [fp, #-228]
	ldr	r2, [fp, #-200]
	ldr	r1, [fp, #-204]
	ldr	r0, [fp, #-208]
	bl	error
	nop
.L23:
	ldr	r3, [fp, #-20]
	and	r3, r3, #40
	cmp	r3, #0
	beq	.L24
	mov	r3, #1
	str	r3, [fp, #-196]
	mov	r3, #0
	str	r3, [fp, #-192]
	ldr	r3, .L50+12
	str	r3, [fp, #-188]
	ldr	r2, [fp, #-188]
	ldr	r1, [fp, #-192]
	ldr	r0, [fp, #-196]
	bl	error
	nop
.L24:
	ldr	r3, [fp, #-24]
	cmp	r3, #11
	bls	.L25
	ldr	r3, [fp, #-28]
	b	.L26
.L25:
	mov	r3, #0
.L26:
	str	r3, [fp, #-248]
	b	.L27
.L35:
	ldr	r3, [fp, #-248]
	ldr	r3, [r3, #4]
	cmp	r3, #1
	beq	.L28
	ldr	r3, [fp, #-248]
	ldr	r3, [r3, #4]
	mov	r2, #1
	str	r2, [fp, #-184]
	mov	r2, #0
	str	r2, [fp, #-180]
	ldr	r2, .L50+16
	str	r2, [fp, #-176]
	ldr	r2, [fp, #-176]
	ldr	r1, [fp, #-180]
	ldr	r0, [fp, #-184]
	bl	error
	nop
.L28:
	ldr	r3, [fp, #-248]
	ldr	r3, [r3, #8]
	cmp	r3, #37
	beq	.L29
	cmp	r3, #37
	bgt	.L30
	cmp	r3, #29
	beq	.L31
	cmp	r3, #35
	beq	.L32
	b	.L30
.L31:
	mov	r3, #1
	strb	r3, [fp, #-252]
	b	.L33
.L32:
	mov	r3, #1
	strb	r3, [fp, #-251]
	b	.L33
.L29:
	ldr	r3, [fp, #-248]
	add	r3, r3, #12
	str	r3, [fp, #-224]
	ldr	r3, [fp, #-224]
	ldr	r3, [r3]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	strb	r3, [fp, #-250]
	ldr	r3, [fp, #-224]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L34
	mov	r3, #0
	str	r3, [fp, #-172]
	mov	r3, #0
	str	r3, [fp, #-168]
	ldr	r3, .L50+20
	str	r3, [fp, #-164]
	ldr	r2, [fp, #-164]
	ldr	r1, [fp, #-168]
	ldr	r0, [fp, #-172]
	bl	error
	nop
.L34:
	ldr	r3, [fp, #-224]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	strb	r3, [fp, #-249]
	b	.L33
.L30:
	ldr	r3, [fp, #-248]
	ldr	r3, [r3, #8]
	mov	r2, #1
	str	r2, [fp, #-160]
	mov	r2, #0
	str	r2, [fp, #-156]
	ldr	r2, .L50+24
	str	r2, [fp, #-152]
	ldr	r2, [fp, #-152]
	ldr	r1, [fp, #-156]
	ldr	r0, [fp, #-160]
	bl	error
	nop
.L33:
	sub	r3, fp, #44
	ldr	r1, [fp, #-248]
	mov	r0, r3
	bl	__cmsg_nxthdr
	str	r0, [fp, #-248]
.L27:
	ldr	r3, [fp, #-248]
	cmp	r3, #0
	bne	.L35
	ldrb	r2, [fp, #-272]	@ zero_extendqisi2
	ldrb	r3, [fp, #-252]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L36
	ldrb	r3, [fp, #-272]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L37
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-144]
	ldr	r3, .L50+28
	str	r3, [fp, #-140]
	ldr	r2, [fp, #-140]
	ldr	r1, [fp, #-144]
	ldr	r0, [fp, #-148]
	bl	error
	b	.L38
.L37:
	mov	r3, #0
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-132]
	ldr	r3, .L50+32
	str	r3, [fp, #-128]
	ldr	r2, [fp, #-128]
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-136]
	bl	error
	nop
.L38:
	mov	r3, #1
	strb	r3, [fp, #-253]
.L36:
	ldrb	r2, [fp, #-271]	@ zero_extendqisi2
	ldrb	r3, [fp, #-251]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L39
	ldrb	r3, [fp, #-271]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L40
	mov	r3, #0
	str	r3, [fp, #-124]
	mov	r3, #0
	str	r3, [fp, #-120]
	ldr	r3, .L50+36
	str	r3, [fp, #-116]
	ldr	r2, [fp, #-116]
	ldr	r1, [fp, #-120]
	ldr	r0, [fp, #-124]
	bl	error
	b	.L41
.L40:
	mov	r3, #0
	str	r3, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-108]
	ldr	r3, .L50+40
	str	r3, [fp, #-104]
	ldr	r2, [fp, #-104]
	ldr	r1, [fp, #-108]
	ldr	r0, [fp, #-112]
	bl	error
	nop
.L41:
	mov	r3, #1
	strb	r3, [fp, #-253]
.L39:
	ldrb	r2, [fp, #-270]	@ zero_extendqisi2
	ldrb	r3, [fp, #-250]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L42
	ldrb	r3, [fp, #-270]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L43
	mov	r3, #0
	str	r3, [fp, #-100]
	mov	r3, #0
	str	r3, [fp, #-96]
	ldr	r3, .L50+44
	str	r3, [fp, #-92]
	ldr	r2, [fp, #-92]
	ldr	r1, [fp, #-96]
	ldr	r0, [fp, #-100]
	bl	error
	b	.L44
.L43:
	mov	r3, #0
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-84]
	ldr	r3, .L50+48
	str	r3, [fp, #-80]
	ldr	r2, [fp, #-80]
	ldr	r1, [fp, #-84]
	ldr	r0, [fp, #-88]
	bl	error
	nop
.L44:
	mov	r3, #1
	strb	r3, [fp, #-253]
.L42:
	ldrb	r2, [fp, #-269]	@ zero_extendqisi2
	ldrb	r3, [fp, #-249]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L45
	ldrb	r3, [fp, #-269]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L46
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-72]
	ldr	r3, .L50+52
	str	r3, [fp, #-68]
	ldr	r2, [fp, #-68]
	ldr	r1, [fp, #-72]
	ldr	r0, [fp, #-76]
	bl	error
	b	.L47
.L46:
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-60]
	ldr	r3, .L50+56
	str	r3, [fp, #-56]
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-64]
	bl	error
	nop
.L47:
	mov	r3, #1
	strb	r3, [fp, #-253]
.L45:
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	free
	ldrb	r3, [fp, #-253]	@ zero_extendqisi2
	mov	sp, r4
	ldr	r2, .L50
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L49
	bl	__stack_chk_fail
.L49:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC37
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.size	do_recv, .-do_recv
	.section	.rodata
	.align	2
.LC38:
	.ascii	"Failed to enable SO_REUSEADDR\000"
	.align	2
.LC39:
	.ascii	"Failed to enable SO_TIMESTAMP\000"
	.align	2
.LC40:
	.ascii	"Failed to enable SO_TIMESTAMPNS\000"
	.align	2
.LC41:
	.ascii	"Failed to set SO_TIMESTAMPING\000"
	.align	2
.LC42:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	config_so_flags
	.syntax unified
	.arm
	.fpu softvfp
	.type	config_so_flags, %function
config_so_flags:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-64]
	sub	r0, fp, #76
	stm	r0, {r1, r2, r3}
	ldr	r3, .L59
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-60]
	sub	r3, fp, #60
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-64]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L53
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [fp, #-56]
	str	r3, [fp, #-52]
	ldr	r3, .L59+4
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-56]
	bl	error
	nop
.L53:
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	beq	.L54
	sub	r3, fp, #76
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, [fp, #-64]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L54
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, .L59+8
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-44]
	bl	error
	nop
.L54:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	beq	.L55
	sub	r3, fp, #76
	add	r3, r3, #4
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #35
	mov	r1, #1
	ldr	r0, [fp, #-64]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L55
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [fp, #-32]
	str	r3, [fp, #-28]
	ldr	r3, .L59+12
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	error
	nop
.L55:
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L58
	sub	r3, fp, #76
	add	r3, r3, #8
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, [fp, #-64]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L58
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, .L59+16
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	error
	nop
.L58:
	nop
	ldr	r3, .L59
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L57
	bl	__stack_chk_fail
.L57:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	.LC42
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.size	config_so_flags, .-config_so_flags
	.section	.rodata
	.align	2
.LC43:
	.ascii	"Starting testcase %d over ipv%c...\012\000"
	.align	2
.LC44:
	.ascii	"Failed to open src socket\000"
	.align	2
.LC45:
	.ascii	"Failed to open dst socket\000"
	.align	2
.LC46:
	.ascii	"Failed to bind to port %d\000"
	.align	2
.LC47:
	.ascii	"Failed to listen\000"
	.align	2
.LC48:
	.ascii	"Failed to connect\000"
	.align	2
.LC49:
	.ascii	"Failed to accept\000"
	.align	2
.LC50:
	.ascii	"FAILURE in testcase %d over ipv%c \000"
	.align	2
.LC51:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	run_test_case
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_test_case, %function
run_test_case:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-144]
	str	r1, [fp, #-148]
	mov	r1, r2
	mov	r2, r3
	mov	r3, r1
	strb	r3, [fp, #-149]
	mov	r3, r2
	strb	r3, [fp, #-150]
	ldr	r3, .L77
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L77+4
	ldr	r3, [r3]
	str	r3, [fp, #-132]
	mov	r3, #0
	strb	r3, [fp, #-133]
	ldr	r3, [fp, #-144]
	ldr	r3, [r3, #4]
	cmp	r3, #3
	beq	.L62
	ldr	r3, .L77+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L77+8
	str	r2, [r1]
	b	.L63
.L62:
	mov	r3, #0
.L63:
	str	r3, [fp, #-120]
	sub	r3, fp, #36
	mov	r2, #28
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldrb	r3, [fp, #-149]	@ zero_extendqisi2
	cmp	r3, #52
	bne	.L64
	mov	r3, #2
	strh	r3, [fp, #-36]	@ movhi
	ldr	r0, .L77+12
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-34]	@ movhi
	mov	r3, #16
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-144]
	ldr	r3, [r3, #4]
	cmp	r3, #3
	bne	.L65
	ldr	r3, [fp, #-132]
	add	r3, r3, #20
	str	r3, [fp, #-132]
	b	.L65
.L64:
	mov	r3, #10
	strh	r3, [fp, #-36]	@ movhi
	ldr	r3, .L77+16
	sub	ip, fp, #28
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-34]	@ movhi
	mov	r3, #28
	str	r3, [fp, #-124]
.L65:
	ldrb	r3, [fp, #-149]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, [fp, #-148]
	ldr	r0, .L77+20
	bl	printf
	ldrh	r3, [fp, #-36]
	mov	r0, r3
	ldr	r3, [fp, #-144]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-144]
	ldr	r3, [r3, #8]
	mov	r2, r3
	bl	socket
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bge	.L66
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	ldr	r3, .L77+24
	str	r3, [fp, #-100]
	ldr	r2, [fp, #-100]
	ldr	r1, [fp, #-104]
	ldr	r0, [fp, #-108]
	bl	error
	nop
.L66:
	ldrh	r3, [fp, #-36]
	mov	r0, r3
	ldr	r3, [fp, #-144]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-144]
	ldr	r3, [r3, #8]
	mov	r2, r3
	bl	socket
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bge	.L67
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [fp, #-96]
	str	r3, [fp, #-92]
	ldr	r3, .L77+28
	str	r3, [fp, #-88]
	ldr	r2, [fp, #-88]
	ldr	r1, [fp, #-92]
	ldr	r0, [fp, #-96]
	bl	error
	nop
.L67:
	sub	r3, fp, #36
	ldr	r2, [fp, #-124]
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L68
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, .L77+32
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-120]
	ldr	r2, [fp, #-76]
	ldr	r1, [fp, #-80]
	ldr	r0, [fp, #-84]
	bl	error
	nop
.L68:
	ldr	r3, [fp, #-144]
	ldr	r3, [r3, #4]
	cmp	r3, #1
	bne	.L69
	mov	r1, #1
	ldr	r0, [fp, #-112]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	bge	.L69
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [fp, #-72]
	str	r3, [fp, #-68]
	ldr	r3, .L77+36
	str	r3, [fp, #-64]
	ldr	r2, [fp, #-64]
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-72]
	bl	error
	nop
.L69:
	sub	r3, fp, #36
	ldr	r2, [fp, #-124]
	mov	r1, r3
	ldr	r0, [fp, #-116]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	bge	.L70
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, .L77+40
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-56]
	ldr	r0, [fp, #-60]
	bl	error
	nop
.L70:
	ldr	r3, [fp, #-144]
	ldr	r3, [r3, #4]
	cmp	r3, #1
	bne	.L71
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-112]
	bl	accept
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bge	.L72
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [fp, #-48]
	str	r3, [fp, #-44]
	ldr	r3, .L77+44
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-48]
	bl	error
	nop
.L72:
	ldr	r0, [fp, #-112]
	bl	close
	b	.L73
.L71:
	ldr	r3, [fp, #-112]
	str	r3, [fp, #-128]
.L73:
	ldr	r1, .L77+48
	ldr	r2, [fp, #-148]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldm	r3, {r1, r2, r3}
	ldr	r0, [fp, #-128]
	bl	config_so_flags
	ldr	r0, .L77+52
	bl	usleep
	ldr	r0, [fp, #-116]
	bl	do_send
	ldr	r1, .L77+48
	ldr	r2, [fp, #-148]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	r2, [r3]
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-128]
	bl	do_recv
	mov	r3, r0
	strb	r3, [fp, #-133]
	ldr	r0, [fp, #-128]
	bl	close
	ldr	r0, [fp, #-116]
	bl	close
	ldrb	r3, [fp, #-133]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L74
	ldrb	r3, [fp, #-149]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, [fp, #-148]
	ldr	r0, .L77+56
	bl	printf
	ldr	r2, [fp, #-148]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L77+48
	add	r3, r3, r2
	mov	r0, r3
	bl	print_test_case
	ldrb	r3, [fp, #-150]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L74
	ldr	r1, .L77+48
	ldr	r2, [fp, #-148]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #17
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L74
	mov	r3, #0
	strb	r3, [fp, #-133]
.L74:
	ldrb	r3, [fp, #-133]	@ zero_extendqisi2
	ldr	r2, .L77
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L76
	bl	__stack_chk_fail
.L76:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L78:
	.align	2
.L77:
	.word	.LC51
	.word	op_size
	.word	next_port
	.word	2130706433
	.word	in6addr_loopback
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	test_cases
	.word	20000
	.word	.LC50
	.size	run_test_case, .-run_test_case
	.section	.rodata
	.align	2
.LC52:
	.ascii	"%d\011\000"
	.align	2
.LC53:
	.ascii	"Invalid test case: %d\000"
	.align	2
.LC54:
	.ascii	"Failed to parse parameters.\000"
	.align	2
.LC55:
	.ascii	"\000"
	.align	2
.LC56:
	.ascii	"Testing %s...\012\000"
	.align	2
.LC57:
	.ascii	"PASSED.\000"
	.align	2
.LC58:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L113
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	strb	r3, [fp, #-57]
	mov	r3, #1
	strb	r3, [fp, #-56]
	mov	r3, #0
	strb	r3, [fp, #-55]
	mov	r3, #0
	strb	r3, [fp, #-54]
	mov	r3, #0
	strb	r3, [fp, #-53]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L80
.L96:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #52
	cmp	r3, #65
	ldrls	pc, [pc, r3, asl #2]
	b	.L81
.L83:
	.word	.L91
	.word	.L81
	.word	.L90
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L89
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L88
	.word	.L81
	.word	.L81
	.word	.L87
	.word	.L81
	.word	.L86
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L81
	.word	.L85
	.word	.L84
	.word	.L82
.L87:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L92
.L93:
	ldr	r1, [fp, #-40]
	ldr	r0, .L113+4
	bl	printf
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L113+8
	add	r3, r3, r2
	mov	r0, r3
	bl	print_test_case
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L92:
	ldr	r3, [fp, #-40]
	cmp	r3, #9
	bls	.L93
	mov	r3, #0
	b	.L109
.L86:
	ldr	r3, .L113+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #9
	bls	.L95
	mov	r3, #1
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r3, .L113+16
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	error
	nop
.L95:
	mov	r3, #0
	strb	r3, [fp, #-56]
	ldr	r1, .L113+8
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	mov	r2, #1
	strb	r2, [r3]
	b	.L80
.L85:
	ldr	r3, .L113+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L113+20
	str	r3, [r2]
	b	.L80
.L84:
	mov	r3, #0
	strb	r3, [fp, #-57]
	ldr	r3, .L113+24
	mov	r2, #1
	strb	r2, [r3, #44]
	b	.L80
.L82:
	mov	r3, #0
	strb	r3, [fp, #-57]
	ldr	r3, .L113+24
	mov	r2, #1
	strb	r2, [r3, #28]
	b	.L80
.L88:
	mov	r3, #0
	strb	r3, [fp, #-57]
	ldr	r3, .L113+24
	mov	r2, #1
	strb	r2, [r3, #12]
	b	.L80
.L89:
	mov	r3, #1
	strb	r3, [fp, #-53]
	b	.L80
.L91:
	mov	r3, #1
	strb	r3, [fp, #-55]
	b	.L80
.L90:
	mov	r3, #1
	strb	r3, [fp, #-54]
	b	.L80
.L81:
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, .L113+28
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	error
	nop
.L80:
	sub	r3, fp, #52
	str	r3, [sp]
	ldr	r3, .L113+32
	ldr	r2, .L113+36
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-64]
	bl	getopt_long
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	bne	.L96
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L97
.L107:
	ldrb	r3, [fp, #-57]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L98
	ldr	r2, .L113+24
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L111
.L98:
	ldr	r2, .L113+24
	ldr	r3, [fp, #-44]
	ldr	r3, [r2, r3, lsl #4]
	mov	r1, r3
	ldr	r0, .L113+40
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L100
.L106:
	ldrb	r3, [fp, #-56]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L101
	ldr	r1, .L113+8
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L112
.L101:
	ldrb	r3, [fp, #-55]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L103
	ldrb	r3, [fp, #-54]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L104
.L103:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	ldr	r2, .L113+24
	add	r0, r3, r2
	ldrb	r3, [fp, #-53]	@ zero_extendqisi2
	mov	r2, #52
	ldr	r1, [fp, #-40]
	bl	run_test_case
	mov	r3, r0
	cmp	r3, #0
	beq	.L104
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L104:
	ldrb	r3, [fp, #-54]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L105
	ldrb	r3, [fp, #-55]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L102
.L105:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	ldr	r2, .L113+24
	add	r0, r3, r2
	ldrb	r3, [fp, #-53]	@ zero_extendqisi2
	mov	r2, #54
	ldr	r1, [fp, #-40]
	bl	run_test_case
	mov	r3, r0
	cmp	r3, #0
	beq	.L102
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	b	.L102
.L112:
	nop
.L102:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L100:
	ldr	r3, [fp, #-40]
	cmp	r3, #9
	bls	.L106
	b	.L99
.L111:
	nop
.L99:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L97:
	ldr	r3, [fp, #-44]
	cmp	r3, #2
	bls	.L107
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L108
	ldr	r0, .L113+44
	bl	puts
.L108:
	ldr	r3, [fp, #-48]
.L109:
	ldr	r2, .L113
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L110
	bl	__stack_chk_fail
.L110:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L114:
	.align	2
.L113:
	.word	.LC58
	.word	.LC52
	.word	test_cases
	.word	optarg
	.word	.LC53
	.word	op_size
	.word	socket_types
	.word	.LC54
	.word	long_options
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
