	.file	"227731.c"
	.intel_syntax noprefix
	.text
	.globl	myargs
	.section	.rodata
	.align 8
.LC0:
	.string	"/work/teapot/userspace/test/test_tty"
	.section	.data.rel.ro.local,"aw"
	.align 16
	.type	myargs, @object
	.size	myargs, 16
myargs:
	.quad	.LC0
	.quad	0
	.section	.rodata
.LC1:
	.string	"%-5d write[%d]\n"
.LC2:
	.string	"%-5d read[%d]\n"
.LC3:
	.string	"%-5d exit\n"
.LC4:
	.string	"wait read...."
	.align 8
.LC5:
	.string	"try test read after execv, n=0 is right"
.LC6:
	.string	"n=%d\n"
.LC7:
	.string	"%-5d wait pid:%d\n"
.LC8:
	.string	"%-5d end main\n"
	.text
	.globl	test_socketpair
	.type	test_socketpair, @function
test_socketpair:
.LFB6:
	.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, 40
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -44[rbp], 1
	lea	rax, -32[rbp]
	mov	rcx, rax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socketpair@PLT
	test	eax, eax
	je	.L2
	mov	eax, -1
	jmp	.L5
.L2:
	call	fork@PLT
	mov	DWORD PTR -40[rbp], eax
	cmp	DWORD PTR -40[rbp], 0
	jne	.L4
	mov	eax, DWORD PTR -32[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 3
	call	sleep@PLT
	mov	DWORD PTR -44[rbp], 2
	mov	ebx, DWORD PTR -44[rbp]
	call	getpid@PLT
	mov	edx, ebx
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -28[rbp]
	lea	rcx, -44[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -28[rbp]
	lea	rcx, -44[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	ebx, DWORD PTR -44[rbp]
	call	getpid@PLT
	mov	edx, ebx
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 5
	call	sleep@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, 1
	mov	esi, 2
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	lea	rax, .LC0[rip]
	lea	rsi, myargs[rip]
	mov	rdi, rax
	call	execvp@PLT
	call	getpid@PLT
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -32[rbp]
	lea	rcx, -44[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	ebx, DWORD PTR -44[rbp]
	call	getpid@PLT
	mov	edx, ebx
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 3
	call	sleep@PLT
	mov	DWORD PTR -44[rbp], 3
	mov	ebx, DWORD PTR -44[rbp]
	call	getpid@PLT
	mov	edx, ebx
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	lea	rcx, -44[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -32[rbp]
	lea	rcx, -44[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	call	getpid@PLT
	mov	ecx, eax
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	mov	eax, 0
	call	waitpid@PLT
	call	getpid@PLT
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L5:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	test_socketpair, .-test_socketpair
	.section	.rodata
.LC9:
	.string	"getifaddrs error"
.LC10:
	.string	"family"
.LC11:
	.string	"ifa_index"
.LC12:
	.string	"ifa_name"
.LC13:
	.string	"%-10s\t%-10s\t%-5s\n"
.LC14:
	.string	"%-10s\t%-10d\t%-5d\n"
	.text
	.globl	test_ifa
	.type	test_ifa, @function
test_ifa:
.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, 40
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, -40[rbp]
	mov	rdi, rax
	call	getifaddrs@PLT
	cmp	eax, -1
	jne	.L8
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L12
.L8:
	lea	rcx, .LC10[rip]
	lea	rdx, .LC11[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	movzx	eax, WORD PTR [rax]
	movzx	ebx, ax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	if_nametoindex@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	ecx, ebx
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -32[rbp], rax
.L10:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	freeifaddrs@PLT
	mov	eax, 0
.L12:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	test_ifa, .-test_ifa
	.section	.rodata
.LC15:
	.string	"addrs.sun_path:%s\n"
	.text
	.globl	test_af_unix
	.type	test_af_unix, @function
test_af_unix:
.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, 272
	mov	DWORD PTR -260[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -244[rbp], eax
	cmp	DWORD PTR -244[rbp], 0
	jns	.L15
	mov	eax, -1
	jmp	.L22
.L15:
	lea	rax, -240[rbp]
	mov	edx, 110
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -240[rbp], 1
	cmp	DWORD PTR -260[rbp], 0
	je	.L17
	mov	BYTE PTR -238[rbp], 0
	lea	rax, -240[rbp]
	add	rax, 2
	add	rax, 1
	movabs	rcx, 8299699185266025844
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 778789743
	mov	WORD PTR 12[rax], 30840
	mov	BYTE PTR 14[rax], 0
	jmp	.L18
.L17:
	lea	rax, -240[rbp]
	add	rax, 2
	movabs	rdx, 8299699185266025844
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR 8[rax], 778789743
	mov	WORD PTR 12[rax], 30840
	mov	BYTE PTR 14[rax], 0
.L18:
	lea	rax, -240[rbp]
	mov	rcx, rax
	mov	eax, DWORD PTR -244[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	je	.L19
	mov	eax, DWORD PTR -244[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, -1
	jmp	.L22
.L19:
	mov	eax, DWORD PTR -244[rbp]
	mov	esi, 100
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	je	.L20
	mov	eax, DWORD PTR -244[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, -1
	jmp	.L22
.L20:
	mov	edi, 10
	call	sleep@PLT
	lea	rax, -128[rbp]
	mov	rcx, rax
	lea	rdx, -248[rbp]
	mov	eax, DWORD PTR -244[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	getsockname@PLT
	test	eax, eax
	jne	.L21
	movzx	eax, BYTE PTR -126[rbp]
	test	al, al
	je	.L21
	lea	rax, -128[rbp]
	add	rax, 2
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -128[rbp]
	add	rax, 2
	mov	rdi, rax
	call	unlink@PLT
.L21:
	mov	eax, DWORD PTR -244[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L22:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	test_af_unix, .-test_af_unix
	.section	.rodata
.LC16:
	.string	"pau:"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	jmp	.L25
.L28:
	cmp	DWORD PTR -8[rbp], 117
	je	.L26
	cmp	DWORD PTR -8[rbp], 117
	jg	.L25
	cmp	DWORD PTR -8[rbp], 97
	je	.L27
	cmp	DWORD PTR -8[rbp], 112
	jne	.L25
	call	test_socketpair
	jmp	.L25
.L27:
	mov	eax, 0
	call	test_ifa
	jmp	.L25
.L26:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	test	eax, eax
	setne	al
	movzx	eax, al
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	test_af_unix
	nop
.L25:
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, .LC16[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], -1
	jne	.L28
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"227731.c"
	.text
	.global	myargs
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/work/teapot/userspace/test/test_tty\000"
	.align	2
	.type	myargs, %object
	.size	myargs, 8
myargs:
	.word	.LC0
	.word	0
	.align	2
.LC1:
	.ascii	"%-5d write[%d]\012\000"
	.align	2
.LC2:
	.ascii	"%-5d read[%d]\012\000"
	.align	2
.LC3:
	.ascii	"%-5d exit\012\000"
	.align	2
.LC4:
	.ascii	"wait read....\000"
	.align	2
.LC5:
	.ascii	"try test read after execv, n=0 is right\000"
	.align	2
.LC6:
	.ascii	"n=%d\012\000"
	.align	2
.LC7:
	.ascii	"%-5d wait pid:%d\012\000"
	.align	2
.LC8:
	.ascii	"%-5d end main\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_socketpair
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_socketpair, %function
test_socketpair:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-28]
	sub	r3, fp, #16
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socketpair
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	mvn	r3, #0
	b	.L5
.L2:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	close
	mov	r0, #3
	bl	sleep
	mov	r3, #2
	str	r3, [fp, #-28]
	bl	getpid
	mov	r1, r0
	ldr	r3, [fp, #-28]
	mov	r2, r3
	ldr	r0, .L7+4
	bl	printf
	ldr	r3, [fp, #-12]
	sub	r1, fp, #28
	mov	r2, #4
	mov	r0, r3
	bl	write
	ldr	r3, [fp, #-12]
	sub	r1, fp, #28
	mov	r2, #4
	mov	r0, r3
	bl	read
	bl	getpid
	mov	r1, r0
	ldr	r3, [fp, #-28]
	mov	r2, r3
	ldr	r0, .L7+8
	bl	printf
	mov	r0, #5
	bl	sleep
	ldr	r3, [fp, #-12]
	mov	r2, #1
	mov	r1, #2
	mov	r0, r3
	bl	fcntl
	ldr	r3, .L7+12
	ldr	r1, .L7+16
	mov	r0, r3
	bl	execvp
	bl	getpid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L7+20
	bl	printf
	mov	r3, #0
	b	.L5
.L4:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	close
	ldr	r0, .L7+24
	bl	puts
	ldr	r3, [fp, #-16]
	sub	r1, fp, #28
	mov	r2, #4
	mov	r0, r3
	bl	read
	bl	getpid
	mov	r1, r0
	ldr	r3, [fp, #-28]
	mov	r2, r3
	ldr	r0, .L7+8
	bl	printf
	mov	r0, #3
	bl	sleep
	mov	r3, #3
	str	r3, [fp, #-28]
	bl	getpid
	mov	r1, r0
	ldr	r3, [fp, #-28]
	mov	r2, r3
	ldr	r0, .L7+4
	bl	printf
	ldr	r3, [fp, #-16]
	sub	r1, fp, #28
	mov	r2, #4
	mov	r0, r3
	bl	write
	ldr	r0, .L7+28
	bl	puts
	ldr	r3, [fp, #-16]
	sub	r1, fp, #28
	mov	r2, #4
	mov	r0, r3
	bl	read
	str	r0, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, .L7+32
	bl	printf
	bl	getpid
	mov	r3, r0
	ldr	r2, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L7+36
	bl	printf
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	waitpid
	bl	getpid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L7+40
	bl	printf
	mov	r3, #0
.L5:
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC9
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.word	myargs
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	test_socketpair, .-test_socketpair
	.section	.rodata
	.align	2
.LC10:
	.ascii	"getifaddrs error\000"
	.align	2
.LC11:
	.ascii	"family\000"
	.align	2
.LC12:
	.ascii	"ifa_index\000"
	.align	2
.LC13:
	.ascii	"ifa_name\000"
	.align	2
.LC14:
	.ascii	"%-10s\011%-10s\011%-5s\012\000"
	.align	2
.LC15:
	.ascii	"%-10s\011%-10d\011%-5d\012\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_ifa
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_ifa, %function
test_ifa:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #28
	mov	r0, r3
	bl	getifaddrs
	mov	r3, r0
	cmn	r3, #1
	bne	.L10
	ldr	r0, .L16+4
	bl	puts
	mvn	r3, #0
	b	.L14
.L10:
	ldr	r3, .L16+8
	ldr	r2, .L16+12
	ldr	r1, .L16+16
	ldr	r0, .L16+20
	bl	printf
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L12
.L13:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	ldrh	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	ldr	r4, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	if_nametoindex
	mov	r2, r0
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	ldrh	r3, [r3]
	mov	r1, r4
	ldr	r0, .L16+24
	bl	printf
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-24]
.L12:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	freeifaddrs
	mov	r3, #0
.L14:
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC16
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	test_ifa, .-test_ifa
	.section	.rodata
	.align	2
.LC17:
	.ascii	"teapot.sock.xx\000"
	.align	2
.LC18:
	.ascii	"addrs.sun_path:%s\012\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_af_unix
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_af_unix, %function
test_af_unix:
	@ args = 0, pretend = 0, frame = 248
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #248
	str	r0, [fp, #-248]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-236]
	ldr	r3, [fp, #-236]
	cmp	r3, #0
	bge	.L19
	mvn	r3, #0
	b	.L26
.L19:
	sub	r3, fp, #232
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	strh	r3, [fp, #-232]	@ movhi
	ldr	r3, [fp, #-248]
	cmp	r3, #0
	beq	.L21
	mov	r3, #0
	strb	r3, [fp, #-230]
	sub	r3, fp, #232
	add	r3, r3, #2
	add	r3, r3, #1
	ldr	r2, .L28+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #15
	mov	r2, r3
	bl	memcpy
	b	.L22
.L21:
	sub	r3, fp, #232
	add	r3, r3, #2
	ldr	r2, .L28+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #15
	mov	r2, r3
	bl	memcpy
.L22:
	sub	r3, fp, #232
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [fp, #-236]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r0, [fp, #-236]
	bl	close
	mvn	r3, #0
	b	.L26
.L23:
	mov	r1, #100
	ldr	r0, [fp, #-236]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	ldr	r0, [fp, #-236]
	bl	close
	mvn	r3, #0
	b	.L26
.L24:
	mov	r0, #10
	bl	sleep
	sub	r3, fp, #120
	mov	r1, r3
	sub	r3, fp, #240
	mov	r2, r3
	ldr	r0, [fp, #-236]
	bl	getsockname
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	ldrb	r3, [fp, #-118]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L25
	sub	r3, fp, #120
	add	r3, r3, #2
	mov	r1, r3
	ldr	r0, .L28+8
	bl	printf
	sub	r3, fp, #120
	add	r3, r3, #2
	mov	r0, r3
	bl	unlink
.L25:
	ldr	r0, [fp, #-236]
	bl	close
	mov	r3, #0
.L26:
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC19
	.word	.LC17
	.word	.LC18
	.size	test_af_unix, .-test_af_unix
	.section	.rodata
	.align	2
.LC20:
	.ascii	"pau:\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-20]
	b	.L31
.L34:
	ldr	r3, [fp, #-12]
	cmp	r3, #117
	beq	.L32
	ldr	r3, [fp, #-12]
	cmp	r3, #117
	bgt	.L31
	ldr	r3, [fp, #-12]
	cmp	r3, #97
	beq	.L33
	ldr	r3, [fp, #-12]
	cmp	r3, #112
	bne	.L31
	bl	test_socketpair
	b	.L31
.L33:
	bl	test_ifa
	b	.L31
.L32:
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	test_af_unix
	nop
.L31:
	ldr	r2, .L36+4
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	getopt
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L34
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	optarg
	.word	.LC20
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
