	.file	"extr_scif_api.c_scif_listen.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"SCIFAPI listen: ep %p %s\n"
	.text
	.p2align 4
	.globl	scif_listen
	.type	scif_listen, @function
scif_listen:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rax, QWORD PTR scif_ep_states[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rdx, QWORD PTR [rdi]
	mov	rbx, rdi
	lea	r12, 24[rbx]
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rdx, rdi
	mov	edi, DWORD PTR scif_info[rip+8]
	call	dev_dbg@PLT
	mov	rdi, r12
	call	spin_lock@PLT
	mov	rax, QWORD PTR [rbx]
	add	rax, -128
	cmp	rax, 8
	ja	.L2
	lea	rdx, .L4[rip]
	mov	rdi, r12
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L3-.L4
	.long	.L3-.L4
	.long	.L5-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.long	.L5-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L3:
	call	spin_unlock@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	call	spin_unlock@PLT
	mov	eax, DWORD PTR EISCONN[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
.L2:
	.cfi_restore_state
	mov	DWORD PTR 8[rbx], ebp
	lea	rdi, 36[rbx]
	mov	QWORD PTR [rbx], 131
	mov	QWORD PTR 48[rbx], 0
	mov	QWORD PTR 40[rbx], 0
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 32[rbx]
	call	init_waitqueue_head@PLT
	lea	rdi, 28[rbx]
	call	INIT_LIST_HEAD@PLT
	mov	rdi, r12
	call	spin_unlock@PLT
	mov	rdi, rbx
	call	scif_teardown_ep@PLT
	mov	QWORD PTR 16[rbx], 0
	lea	rdi, scif_info[rip]
	call	mutex_lock@PLT
	lea	rdi, 12[rbx]
	lea	rsi, scif_info[rip+4]
	call	list_add_tail@PLT
	lea	rdi, scif_info[rip]
	call	mutex_unlock@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	scif_listen, .-scif_listen
	.comm	scif_info,12,8
	.comm	scif_ep_states,8,8
	.comm	EISCONN,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_scif_api.c_scif_listen.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"SCIFAPI listen: ep %p %s\012\000"
	.text
	.align	2
	.global	scif_listen
	.syntax unified
	.arm
	.fpu softvfp
	.type	scif_listen, %function
scif_listen:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r3, .L9
	ldr	r2, [r0]
	ldr	r3, [r3]
	mov	r6, r1
	ldr	r1, .L9+4
	ldr	r3, [r3, r2, lsl #2]
	add	r7, r4, #16
	mov	r2, r0
	ldr	r0, [r1, #8]
	ldr	r1, .L9+8
	bl	dev_dbg
	mov	r0, r7
	bl	spin_lock
	ldr	r3, [r4]
	sub	r3, r3, #128
	cmp	r3, #8
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L3
	.word	.L3
	.word	.L5
	.word	.L5
	.word	.L3
	.word	.L5
	.word	.L5
	.word	.L3
	.word	.L3
.L3:
	mov	r0, r7
	bl	spin_unlock
	ldr	r3, .L9+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r0, r7
	bl	spin_unlock
	ldr	r3, .L9+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r3, #131
	mov	r5, #0
	stm	r4, {r3, r6}
	str	r5, [r4, #36]
	str	r5, [r4, #32]
	add	r0, r4, #28
	bl	INIT_LIST_HEAD
	add	r0, r4, #24
	bl	init_waitqueue_head
	add	r0, r4, #20
	bl	INIT_LIST_HEAD
	mov	r0, r7
	bl	spin_unlock
	mov	r0, r4
	bl	scif_teardown_ep
	str	r5, [r4, #12]
	ldr	r0, .L9+4
	bl	mutex_lock
	ldr	r1, .L9+20
	add	r0, r4, #8
	bl	list_add_tail
	ldr	r0, .L9+4
	bl	mutex_unlock
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	scif_ep_states
	.word	scif_info
	.word	.LC0
	.word	EINVAL
	.word	EISCONN
	.word	scif_info+4
	.size	scif_listen, .-scif_listen
	.comm	scif_info,12,4
	.comm	scif_ep_states,4,4
	.comm	EISCONN,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
