	.file	"extr_socket.c_pn_socket_accept.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pn_socket_accept, @function
pn_socket_accept:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	r13, QWORD PTR 8[rdi]
	xor	edi, edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR TCP_LISTEN[rip]
	cmp	QWORD PTR 0[r13], rax
	setne	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L8
	mov	rax, QWORD PTR 8[r13]
	mov	esi, ebp
	lea	rdx, 4[rsp]
	mov	ecx, r12d
	mov	rdi, r13
	call	[QWORD PTR [rax]]
	mov	rbp, rax
	mov	eax, DWORD PTR 4[rsp]
	test	rbp, rbp
	je	.L1
	mov	rdi, rbp
	call	lock_sock@PLT
	mov	rsi, rbx
	mov	rdi, rbp
	call	sock_graft@PLT
	mov	eax, DWORD PTR SS_CONNECTED[rip]
	mov	rdi, rbp
	mov	DWORD PTR [rbx], eax
	call	release_sock@PLT
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pn_socket_accept, .-pn_socket_accept
	.comm	TCP_LISTEN,8,8
	.comm	SS_CONNECTED,4,4
	.comm	EINVAL,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_socket.c_pn_socket_accept.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pn_socket_accept, %function
pn_socket_accept:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, [r0, #4]
	ldr	r0, .L10
	ldr	ip, [r8]
	ldr	r0, [r0]
	mov	r5, r3
	subs	r0, ip, r0
	ldr	r3, .L10+4
	movne	r0, #1
	sub	sp, sp, #8
	mov	r6, r1
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	unlikely
	subs	r7, r0, #0
	bne	.L8
	ldr	r2, [r8, #4]
	mov	r1, r4
	mov	r3, r5
	ldr	r4, [r2]
	mov	r0, r8
	mov	r2, sp
	blx	r4
	subs	r4, r0, #0
	ldreq	r7, [sp]
	beq	.L1
	bl	lock_sock
	mov	r1, r6
	mov	r0, r4
	bl	sock_graft
	ldr	r3, .L10+8
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [r6]
	bl	release_sock
.L1:
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	mov	r0, r7
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, .L10+12
	ldr	r0, [r3]
	rsb	r7, r0, #0
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	TCP_LISTEN
	.word	.LC0
	.word	SS_CONNECTED
	.word	EINVAL
	.size	pn_socket_accept, .-pn_socket_accept
	.comm	TCP_LISTEN,4,4
	.comm	SS_CONNECTED,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
