	.file	"extr_anet.c_anetListen.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"bind: %s"
.LC1:
	.string	"listen: %s"
	.text
	.p2align 4
	.type	anetListen, @function
anetListen:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, r8d
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	mov	rsi, rdx
	mov	edx, ecx
	mov	edi, ebp
	call	bind@PLT
	cmp	eax, -1
	je	.L8
	mov	esi, r13d
	mov	edi, ebp
	call	listen@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR ANET_OK[rip]
	cmp	r8d, -1
	je	.L9
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	lea	rsi, .LC0[rip]
	mov	edx, eax
.L6:
	mov	rdi, r12
	call	anetSetError@PLT
	mov	edi, ebp
	call	close@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR ANET_ERR[rip]
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	lea	rsi, .LC1[rip]
	mov	edx, eax
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	anetListen, .-anetListen
	.comm	errno,4,4
	.comm	ANET_OK,4,4
	.comm	ANET_ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_anet.c_anetListen.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bind: %s\000"
	.align	2
.LC1:
	.ascii	"listen: %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	anetListen, %function
anetListen:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	mov	r1, r2
	mov	r0, r4
	mov	r2, r3
	bl	bind
	cmn	r0, #1
	beq	.L8
	mov	r0, r4
	ldr	r1, [sp, #16]
	bl	listen
	cmn	r0, #1
	beq	.L9
	ldr	r3, .L10
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, .L10+4
	ldr	r0, [r3]
	bl	strerror
	mov	r2, r0
	mov	r0, r5
	ldr	r1, .L10+8
.L6:
	bl	anetSetError
	mov	r0, r4
	bl	close
	ldr	r3, .L10+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L10+4
	ldr	r0, [r3]
	bl	strerror
	ldr	r1, .L10+16
	mov	r2, r0
	mov	r0, r5
	b	.L6
.L11:
	.align	2
.L10:
	.word	ANET_OK
	.word	errno
	.word	.LC0
	.word	ANET_ERR
	.word	.LC1
	.size	anetListen, .-anetListen
	.comm	errno,4,4
	.comm	ANET_OK,4,4
	.comm	ANET_ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
