	.file	"extr_svc_vc.c_svc_vc_accept.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	svc_vc_accept
	.type	svc_vc_accept, @function
svc_vc_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
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	r12d, DWORD PTR EINVAL[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR SO_ACCEPTCONN[rip], eax
	jne	.L7
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L7:
	.cfi_restore_state
	mov	rbx, rdi
	mov	rbp, rsi
	call	SOLISTEN_LOCK@PLT
	movzx	eax, WORD PTR 4[rbx]
	mov	rsi, rsp
	mov	rdi, rbx
	movzx	edx, WORD PTR SS_NBIO[rip]
	mov	r13d, eax
	or	eax, edx
	and	r13d, edx
	xor	edx, edx
	mov	WORD PTR 4[rbx], ax
	call	solisten_dequeue@PLT
	mov	r12d, eax
	movzx	eax, WORD PTR SS_NBIO[rip]
	not	eax
	and	ax, WORD PTR 4[rbx]
	and	eax, r13d
	mov	WORD PTR 4[rbx], ax
	test	r12d, r12d
	jne	.L1
.L3:
	endbr64
	mov	rax, QWORD PTR [rsp]
	lea	rdi, 8[rbx]
	xor	esi, esi
	or	WORD PTR 4[rax], r13w
	mov	QWORD PTR 0[rbp], rax
	call	KNOTE_UNLOCKED@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	svc_vc_accept, .-svc_vc_accept
	.comm	curthread,8,8
	.comm	SS_NBIO,2,2
	.comm	SO_ACCEPTCONN,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_svc_vc.c_svc_vc_accept.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	svc_vc_accept
	.syntax unified
	.arm
	.fpu softvfp
	.type	svc_vc_accept, %function
svc_vc_accept:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L8
	ldr	r2, [r0]
	ldr	r3, [r3]
	sub	sp, sp, #12
	tst	r2, r3
	ldr	r3, .L8+4
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bne	.L2
	ldr	r3, .L8+8
	ldr	r5, [r3]
.L1:
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	mov	r4, r0
	ldr	r5, .L8+12
	mov	r6, r1
	bl	SOLISTEN_LOCK
	ldrsh	r3, [r5]
	ldrsh	ip, [r4, #4]
	mov	r2, #0
	orr	r1, ip, r3
	strh	r1, [r4, #4]	@ movhi
	mov	r0, r4
	mov	r1, sp
	and	r7, ip, r3
	bl	solisten_dequeue
	ldrh	r2, [r5]
	ldrh	r3, [r4, #4]
	subs	r5, r0, #0
	bic	r3, r3, r2
	and	r3, r3, r7
	strh	r3, [r4, #4]	@ movhi
	bne	.L1
.L3:
	ldr	r2, [sp]
	mov	r1, r5
	ldrh	r3, [r2, #4]
	add	r0, r4, #8
	orr	r3, r7, r3
	strh	r3, [r2, #4]	@ movhi
	str	r2, [r6]
	bl	KNOTE_UNLOCKED
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	SO_ACCEPTCONN
	.word	.LC0
	.word	EINVAL
	.word	SS_NBIO
	.size	svc_vc_accept, .-svc_vc_accept
	.comm	curthread,4,4
	.comm	SS_NBIO,2,2
	.comm	SO_ACCEPTCONN,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
