	.file	"extr_svc.c_svc_listen.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%p\n"
	.text
	.p2align 4
	.type	svc_listen, @function
svc_listen:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	edi, DWORD PTR wait[rip]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, esi
	call	DEFINE_WAIT@PLT
	mov	rdi, rbp
	mov	r12, QWORD PTR 0[rbp]
	call	ATM_SD@PLT
	lea	rdi, .LC0[rip]
	mov	rsi, rax
	mov	rbp, rax
	call	pr_debug@PLT
	mov	rdi, r12
	call	lock_sock@PLT
	mov	edi, DWORD PTR ATM_VF_SESSION[rip]
	mov	rsi, rbp
	call	test_bit@PLT
	test	rax, rax
	je	.L2
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
.L3:
	mov	rdi, r12
	call	release_sock@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR ATM_VF_LISTEN[rip]
	mov	rsi, rbp
	call	test_bit@PLT
	test	rax, rax
	je	.L4
	mov	r13d, DWORD PTR EADDRINUSE[rip]
	neg	r13d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR ATM_VF_WAITING[rip]
	mov	rsi, rbp
	lea	r13, wait[rip]
	call	set_bit@PLT
	mov	esi, DWORD PTR as_listen[rip]
	xor	ecx, ecx
	xor	edx, edx
	lea	r8, 4[rbp]
	mov	rdi, rbp
	call	sigd_enq@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edx, DWORD PTR sigd[rip]
	test	edx, edx
	je	.L5
	xor	eax, eax
	call	schedule@PLT
.L6:
	mov	r14d, DWORD PTR TASK_UNINTERRUPTIBLE[rip]
	mov	rdi, r12
	call	sk_sleep@PLT
	mov	rsi, r13
	mov	edi, eax
	mov	edx, r14d
	call	prepare_to_wait@PLT
	mov	edi, DWORD PTR ATM_VF_WAITING[rip]
	mov	rsi, rbp
	call	test_bit@PLT
	test	rax, rax
	jne	.L14
.L5:
	mov	rdi, r12
	call	sk_sleep@PLT
	lea	rsi, wait[rip]
	mov	edi, eax
	call	finish_wait@PLT
	mov	eax, DWORD PTR sigd[rip]
	test	eax, eax
	jne	.L7
	mov	r13d, DWORD PTR EUNATCH[rip]
	neg	r13d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, DWORD PTR ATM_VF_LISTEN[rip]
	mov	rsi, rbp
	call	set_bit@PLT
	mov	rdi, r12
	call	vcc_insert_socket@PLT
	test	ebx, ebx
	mov	r13d, DWORD PTR 4[r12]
	cmovle	ebx, DWORD PTR ATM_BACKLOG_DEFAULT[rip]
	neg	r13d
	mov	DWORD PTR [r12], ebx
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	svc_listen, .-svc_listen
	.comm	wait,4,4
	.comm	sigd,4,4
	.comm	as_listen,4,4
	.comm	TASK_UNINTERRUPTIBLE,4,4
	.comm	EUNATCH,4,4
	.comm	EINVAL,4,4
	.comm	EADDRINUSE,4,4
	.comm	ATM_VF_WAITING,4,4
	.comm	ATM_VF_SESSION,4,4
	.comm	ATM_VF_LISTEN,4,4
	.comm	ATM_BACKLOG_DEFAULT,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.c_svc_listen.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%p\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	svc_listen, %function
svc_listen:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r6, .L18
	sub	sp, sp, #12
	ldr	r0, [r6]
	mov	r7, r1
	bl	DEFINE_WAIT
	mov	r0, r4
	ldr	r5, [r4]
	bl	ATM_SD
	mov	r4, r0
	ldr	r0, .L18+4
	mov	r1, r4
	bl	pr_debug
	mov	r0, r5
	bl	lock_sock
	ldr	r3, .L18+8
	mov	r1, r4
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L18+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L3:
	mov	r0, r5
	bl	release_sock
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	fp, .L18+16
	mov	r1, r4
	ldr	r0, [fp]
	bl	test_bit
	subs	r9, r0, #0
	ldrne	r3, .L18+20
	ldrne	r4, [r3]
	rsbne	r4, r4, #0
	bne	.L3
.L4:
	ldr	r8, .L18+24
	mov	r1, r4
	ldr	r0, [r8]
	bl	set_bit
	ldr	r2, .L18+28
	add	r3, r4, #4
	ldr	r1, [r2]
	mov	r0, r4
	mov	r2, r9
	str	r3, [sp]
	mov	r3, r9
	bl	sigd_enq
	ldr	r10, .L18+32
	ldr	r9, .L18+36
	b	.L6
.L17:
	ldr	r3, [r9]
	cmp	r3, #0
	beq	.L5
	bl	schedule
.L6:
	mov	r0, r5
	bl	sk_sleep
	mov	r1, r6
	ldr	r2, [r10]
	bl	prepare_to_wait
	mov	r1, r4
	ldr	r0, [r8]
	bl	test_bit
	cmp	r0, #0
	bne	.L17
.L5:
	mov	r0, r5
	bl	sk_sleep
	ldr	r1, .L18
	bl	finish_wait
	ldr	r3, [r9]
	cmp	r3, #0
	ldreq	r3, .L18+40
	ldreq	r4, [r3]
	rsbeq	r4, r4, #0
	beq	.L3
.L7:
	mov	r1, r4
	ldr	r0, [fp]
	bl	set_bit
	mov	r0, r5
	bl	vcc_insert_socket
	cmp	r7, #0
	ldrle	r3, .L18+44
	ldr	r4, [r5, #4]
	ldrle	r7, [r3]
	rsb	r4, r4, #0
	str	r7, [r5]
	b	.L3
.L19:
	.align	2
.L18:
	.word	wait
	.word	.LC0
	.word	ATM_VF_SESSION
	.word	EINVAL
	.word	ATM_VF_LISTEN
	.word	EADDRINUSE
	.word	ATM_VF_WAITING
	.word	as_listen
	.word	TASK_UNINTERRUPTIBLE
	.word	sigd
	.word	EUNATCH
	.word	ATM_BACKLOG_DEFAULT
	.size	svc_listen, .-svc_listen
	.comm	wait,4,4
	.comm	sigd,4,4
	.comm	as_listen,4,4
	.comm	TASK_UNINTERRUPTIBLE,4,4
	.comm	EUNATCH,4,4
	.comm	EINVAL,4,4
	.comm	EADDRINUSE,4,4
	.comm	ATM_VF_WAITING,4,4
	.comm	ATM_VF_SESSION,4,4
	.comm	ATM_VF_LISTEN,4,4
	.comm	ATM_BACKLOG_DEFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
