	.file	"extr_scsi_cd.c_cdstartunit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cdstartunit, @function
cdstartunit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR CAM_PRIORITY_NORMAL[rip]
	call	cam_periph_getccb@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	r9d, r12d
	xor	edx, edx
	mov	rbp, rax
	mov	eax, DWORD PTR SSD_FULL_SIZE[rip]
	push	50000
	.cfi_def_cfa_offset 48
	mov	r8d, DWORD PTR TRUE[rip]
	mov	ecx, DWORD PTR MSG_SIMPLE_Q_TAG[rip]
	mov	rdi, rbp
	push	rax
	.cfi_def_cfa_offset 56
	mov	eax, DWORD PTR FALSE[rip]
	mov	esi, DWORD PTR cd_retry_count[rip]
	push	rax
	.cfi_def_cfa_offset 64
	call	scsi_start_stop@PLT
	mov	ecx, DWORD PTR SF_RETRY_UA[rip]
	add	rsp, 32
	.cfi_def_cfa_offset 32
	mov	rdi, rbp
	mov	edx, DWORD PTR CAM_RETRY_SELTO[rip]
	mov	esi, DWORD PTR cderror[rip]
	call	cdrunccb@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	xpt_release_ccb@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cdstartunit, .-cdstartunit
	.comm	cderror,4,4
	.comm	cd_retry_count,4,4
	.comm	TRUE,4,4
	.comm	SSD_FULL_SIZE,4,4
	.comm	SF_RETRY_UA,4,4
	.comm	MSG_SIMPLE_Q_TAG,4,4
	.comm	FALSE,4,4
	.comm	CAM_RETRY_SELTO,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_cd.c_cdstartunit.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cdstartunit, %function
cdstartunit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L4
	sub	sp, sp, #28
	mov	r5, r1
	ldr	r1, [r3]
	bl	cam_periph_getccb
	mov	r4, r0
	ldr	r1, .L4+4
	ldr	r2, .L4+8
	ldr	r3, .L4+12
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	ip, [r3]
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	ldr	r3, .L4+16
	ldr	r2, .L4+20
	ldr	r1, .L4+24
	str	ip, [sp]
	str	r5, [sp, #4]
	ldr	r3, [r3]
	ldr	r1, [r1]
	str	r2, [sp, #16]
	mov	r2, #0
	bl	scsi_start_stop
	ldr	r3, .L4+28
	ldr	r2, .L4+32
	ldr	r1, .L4+36
	ldr	r2, [r2]
	ldr	r1, [r1]
	mov	r0, r4
	ldr	r3, [r3]
	bl	cdrunccb
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	xpt_release_ccb
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	.align	2
.L4:
	.word	CAM_PRIORITY_NORMAL
	.word	SSD_FULL_SIZE
	.word	FALSE
	.word	TRUE
	.word	MSG_SIMPLE_Q_TAG
	.word	50000
	.word	cd_retry_count
	.word	SF_RETRY_UA
	.word	CAM_RETRY_SELTO
	.word	cderror
	.size	cdstartunit, .-cdstartunit
	.comm	cderror,4,4
	.comm	cd_retry_count,4,4
	.comm	TRUE,4,4
	.comm	SSD_FULL_SIZE,4,4
	.comm	SF_RETRY_UA,4,4
	.comm	MSG_SIMPLE_Q_TAG,4,4
	.comm	FALSE,4,4
	.comm	CAM_RETRY_SELTO,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
