	.file	"extr_scsi_pass.c_passstart.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	passstart, @function
passstart:
.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
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, QWORD PTR [rdi]
	cmp	DWORD PTR [rbx], 128
	je	.L8
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L8:
	.cfi_restore_state
	lea	r14, 4[rbx]
	mov	rbp, rdi
	mov	r12, rsi
	mov	rdi, r14
	call	TAILQ_FIRST@PLT
	mov	r13, rax
	test	rax, rax
	je	.L9
	mov	edx, DWORD PTR links[rip]
	mov	rsi, rax
	mov	rdi, r14
	call	TAILQ_REMOVE@PLT
	mov	edx, DWORD PTR links[rip]
	lea	rdi, 12[rbx]
	mov	rsi, r13
	call	TAILQ_INSERT_TAIL@PLT
	lea	rsi, 16[r13]
	mov	rdi, r12
	call	xpt_merge_ccb@PLT
	mov	eax, DWORD PTR PASS_CCB_QUEUED_IO[rip]
	mov	QWORD PTR 8[r12], r13
	mov	rdi, r13
	mov	DWORD PTR 16[r12], eax
	mov	eax, DWORD PTR passdone[rip]
	mov	DWORD PTR [r12], eax
	mov	QWORD PTR 8[r13], r12
	call	binuptime@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	rsi, r13
	call	devstat_start_transaction@PLT
	mov	rdi, r12
	call	xpt_action@PLT
	mov	rdi, r14
	call	TAILQ_EMPTY@PLT
	test	eax, eax
	jne	.L1
	mov	esi, DWORD PTR CAM_PRIORITY_NORMAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	xpt_schedule@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	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
	jmp	xpt_release_ccb@PLT
	.cfi_endproc
.LFE0:
	.size	passstart, .-passstart
	.comm	passdone,4,4
	.comm	links,4,4
	.comm	PASS_CCB_QUEUED_IO,4,4
	.comm	CAM_PRIORITY_NORMAL,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_scsi_pass.c_passstart.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	passstart, %function
passstart:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, [r0]
	ldr	r3, [r6]
	cmp	r3, #128
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
	add	r8, r6, #4
	mov	r4, r0
	mov	r0, r8
	mov	r5, r1
	bl	TAILQ_FIRST
	subs	r7, r0, #0
	beq	.L8
	ldr	r9, .L9
	mov	r1, r7
	ldr	r2, [r9]
	mov	r0, r8
	bl	TAILQ_REMOVE
	ldr	r2, [r9]
	mov	r1, r7
	add	r0, r6, #12
	bl	TAILQ_INSERT_TAIL
	add	r1, r7, #8
	mov	r0, r5
	bl	xpt_merge_ccb
	ldr	r2, .L9+4
	ldr	r3, .L9+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [r5, #8]
	str	r3, [r5]
	str	r7, [r5, #4]
	mov	r0, r7
	str	r5, [r7, #4]
	bl	binuptime
	mov	r1, r7
	ldr	r0, [r6, #8]
	bl	devstat_start_transaction
	mov	r0, r5
	bl	xpt_action
	mov	r0, r8
	bl	TAILQ_EMPTY
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r3, .L9+12
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r1, [r3]
	b	xpt_schedule
.L8:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	xpt_release_ccb
.L10:
	.align	2
.L9:
	.word	links
	.word	PASS_CCB_QUEUED_IO
	.word	passdone
	.word	CAM_PRIORITY_NORMAL
	.size	passstart, .-passstart
	.comm	passdone,4,4
	.comm	links,4,4
	.comm	PASS_CCB_QUEUED_IO,4,4
	.comm	CAM_PRIORITY_NORMAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
