	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_trans_start_stop
_nvme_trans_start_stop:                 ## @nvme_trans_start_stop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_START_STOP_UNIT_CDB_IMMED_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	callq	_GET_U8_FROM_CDB
	movl	%eax, %r14d
	movq	_START_STOP_UNIT_CDB_POWER_COND_MOD_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_GET_U8_FROM_CDB
	movl	%eax, %r13d
	movq	_START_STOP_UNIT_CDB_POWER_COND_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_GET_U8_FROM_CDB
	movl	%eax, %r15d
	movq	_START_STOP_UNIT_CDB_NO_FLUSH_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_GET_U8_FROM_CDB
	movl	%eax, %r12d
	movq	_START_STOP_UNIT_CDB_START_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_GET_U8_FROM_CDB
	movq	_START_STOP_UNIT_CDB_POWER_COND_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r15d
	movq	_NIBBLE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %r15d
	movl	%eax, %ebx
	movq	_START_STOP_UNIT_CDB_IMMED_MASK@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_1
## %bb.6:
	movq	_SAM_STAT_CHECK_CONDITION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ILLEGAL_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SCSI_ASC_INVALID_CDB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvme_trans_completion          ## TAILCALL
LBB0_1:
	movq	_START_STOP_UNIT_CDB_POWER_COND_MOD_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r13d
	movq	_START_STOP_UNIT_CDB_START_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_START_STOP_UNIT_CDB_NO_FLUSH_MASK@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_2
LBB0_4:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	callq	_nvme_trans_power_state
	jmp	LBB0_5
LBB0_2:
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_nvme_cmd_flush@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	%r12, %r14
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	4(%r12), %edi
	callq	_cpu_to_le32
	movl	%eax, -48(%rbp)
	movl	(%r12), %edi
	callq	_get_nvmeq
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_put_nvmeq
	movq	_NVME_IO_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r14, %r12
	leaq	-48(%rbp), %rsi
	xorl	%edx, %edx
	callq	_nvme_submit_sync_cmd
	movl	%eax, %r14d
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_nvme_trans_status_code
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movl	%r14d, %eax
	testl	%r14d, %r14d
	je	LBB0_4
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ## @SNTI_TRANSLATION_SUCCESS
	.comm	_START_STOP_UNIT_CDB_IMMED_OFFSET,4,2 ## @START_STOP_UNIT_CDB_IMMED_OFFSET
	.comm	_START_STOP_UNIT_CDB_POWER_COND_MOD_OFFSET,4,2 ## @START_STOP_UNIT_CDB_POWER_COND_MOD_OFFSET
	.comm	_START_STOP_UNIT_CDB_POWER_COND_OFFSET,4,2 ## @START_STOP_UNIT_CDB_POWER_COND_OFFSET
	.comm	_START_STOP_UNIT_CDB_NO_FLUSH_OFFSET,4,2 ## @START_STOP_UNIT_CDB_NO_FLUSH_OFFSET
	.comm	_START_STOP_UNIT_CDB_START_OFFSET,4,2 ## @START_STOP_UNIT_CDB_START_OFFSET
	.comm	_START_STOP_UNIT_CDB_IMMED_MASK,4,2 ## @START_STOP_UNIT_CDB_IMMED_MASK
	.comm	_START_STOP_UNIT_CDB_POWER_COND_MOD_MASK,4,2 ## @START_STOP_UNIT_CDB_POWER_COND_MOD_MASK
	.comm	_START_STOP_UNIT_CDB_POWER_COND_MASK,4,2 ## @START_STOP_UNIT_CDB_POWER_COND_MASK
	.comm	_NIBBLE_SHIFT,4,2               ## @NIBBLE_SHIFT
	.comm	_START_STOP_UNIT_CDB_NO_FLUSH_MASK,4,2 ## @START_STOP_UNIT_CDB_NO_FLUSH_MASK
	.comm	_START_STOP_UNIT_CDB_START_MASK,4,2 ## @START_STOP_UNIT_CDB_START_MASK
	.comm	_SAM_STAT_CHECK_CONDITION,4,2   ## @SAM_STAT_CHECK_CONDITION
	.comm	_ILLEGAL_REQUEST,4,2            ## @ILLEGAL_REQUEST
	.comm	_SCSI_ASC_INVALID_CDB,4,2       ## @SCSI_ASC_INVALID_CDB
	.comm	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE,4,2 ## @SCSI_ASCQ_CAUSE_NOT_REPORTABLE
	.comm	_nvme_cmd_flush,4,2             ## @nvme_cmd_flush
	.comm	_NVME_IO_TIMEOUT,4,2            ## @NVME_IO_TIMEOUT
	.no_dead_strip	_nvme_trans_start_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_trans_start_stop
_nvme_trans_start_stop:                 ; @nvme_trans_start_stop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _START_STOP_UNIT_CDB_IMMED_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _START_STOP_UNIT_CDB_IMMED_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x2
	bl	_GET_U8_FROM_CDB
	mov	x25, x0
Lloh3:
	adrp	x8, _START_STOP_UNIT_CDB_POWER_COND_MOD_OFFSET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _START_STOP_UNIT_CDB_POWER_COND_MOD_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_GET_U8_FROM_CDB
	mov	x21, x0
Lloh6:
	adrp	x8, _START_STOP_UNIT_CDB_POWER_COND_OFFSET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _START_STOP_UNIT_CDB_POWER_COND_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_GET_U8_FROM_CDB
	mov	x22, x0
Lloh9:
	adrp	x8, _START_STOP_UNIT_CDB_NO_FLUSH_OFFSET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _START_STOP_UNIT_CDB_NO_FLUSH_OFFSET@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_GET_U8_FROM_CDB
	mov	x24, x0
Lloh12:
	adrp	x8, _START_STOP_UNIT_CDB_START_OFFSET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _START_STOP_UNIT_CDB_START_OFFSET@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_GET_U8_FROM_CDB
Lloh15:
	adrp	x8, _START_STOP_UNIT_CDB_IMMED_MASK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _START_STOP_UNIT_CDB_IMMED_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_2
; %bb.1:
Lloh18:
	adrp	x8, _SAM_STAT_CHECK_CONDITION@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SAM_STAT_CHECK_CONDITION@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _ILLEGAL_REQUEST@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ILLEGAL_REQUEST@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
Lloh24:
	adrp	x8, _SCSI_ASC_INVALID_CDB@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SCSI_ASC_INVALID_CDB@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
Lloh27:
	adrp	x8, _SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPAGEOFF]
Lloh29:
	ldr	w4, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_nvme_trans_completion
LBB0_2:
	mov	x23, x0
Lloh30:
	adrp	x8, _START_STOP_UNIT_CDB_POWER_COND_MOD_MASK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _START_STOP_UNIT_CDB_POWER_COND_MOD_MASK@GOTPAGEOFF]
Lloh32:
	adrp	x9, _START_STOP_UNIT_CDB_POWER_COND_MASK@GOTPAGE
Lloh33:
	ldr	x9, [x9, _START_STOP_UNIT_CDB_POWER_COND_MASK@GOTPAGEOFF]
Lloh34:
	ldr	w28, [x8]
Lloh35:
	ldr	w26, [x9]
Lloh36:
	adrp	x8, _NIBBLE_SHIFT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _NIBBLE_SHIFT@GOTPAGEOFF]
Lloh38:
	adrp	x9, _START_STOP_UNIT_CDB_START_MASK@GOTPAGE
Lloh39:
	ldr	x9, [x9, _START_STOP_UNIT_CDB_START_MASK@GOTPAGEOFF]
Lloh40:
	ldr	w27, [x8]
Lloh41:
	ldr	w25, [x9]
Lloh42:
	adrp	x8, _START_STOP_UNIT_CDB_NO_FLUSH_MASK@GOTPAGE
Lloh43:
	ldr	x8, [x8, _START_STOP_UNIT_CDB_NO_FLUSH_MASK@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_4
LBB0_3:
	and	w3, w28, w21
	and	w8, w26, w22
	asr	w2, w8, w27
	and	w4, w25, w23
	mov	x0, x20
	mov	x1, x19
	bl	_nvme_trans_power_state
	b	LBB0_6
LBB0_4:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh45:
	adrp	x8, _nvme_cmd_flush@GOTPAGE
Lloh46:
	ldr	x8, [x8, _nvme_cmd_flush@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w0, [x20, #4]
	bl	_cpu_to_le32
	str	w0, [sp, #8]
	ldr	w0, [x20]
	bl	_get_nvmeq
	mov	x24, x0
	bl	_put_nvmeq
Lloh48:
	adrp	x8, _NVME_IO_TIMEOUT@GOTPAGE
Lloh49:
	ldr	x8, [x8, _NVME_IO_TIMEOUT@GOTPAGEOFF]
Lloh50:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, x24
	mov	x2, #0
	bl	_nvme_submit_sync_cmd
	mov	x24, x0
	mov	x0, x19
	mov	x1, x24
	bl	_nvme_trans_status_code
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x24
	cbz	w24, LBB0_3
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh40
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ; @SNTI_TRANSLATION_SUCCESS
	.comm	_START_STOP_UNIT_CDB_IMMED_OFFSET,4,2 ; @START_STOP_UNIT_CDB_IMMED_OFFSET
	.comm	_START_STOP_UNIT_CDB_POWER_COND_MOD_OFFSET,4,2 ; @START_STOP_UNIT_CDB_POWER_COND_MOD_OFFSET
	.comm	_START_STOP_UNIT_CDB_POWER_COND_OFFSET,4,2 ; @START_STOP_UNIT_CDB_POWER_COND_OFFSET
	.comm	_START_STOP_UNIT_CDB_NO_FLUSH_OFFSET,4,2 ; @START_STOP_UNIT_CDB_NO_FLUSH_OFFSET
	.comm	_START_STOP_UNIT_CDB_START_OFFSET,4,2 ; @START_STOP_UNIT_CDB_START_OFFSET
	.comm	_START_STOP_UNIT_CDB_IMMED_MASK,4,2 ; @START_STOP_UNIT_CDB_IMMED_MASK
	.comm	_START_STOP_UNIT_CDB_POWER_COND_MOD_MASK,4,2 ; @START_STOP_UNIT_CDB_POWER_COND_MOD_MASK
	.comm	_START_STOP_UNIT_CDB_POWER_COND_MASK,4,2 ; @START_STOP_UNIT_CDB_POWER_COND_MASK
	.comm	_NIBBLE_SHIFT,4,2               ; @NIBBLE_SHIFT
	.comm	_START_STOP_UNIT_CDB_NO_FLUSH_MASK,4,2 ; @START_STOP_UNIT_CDB_NO_FLUSH_MASK
	.comm	_START_STOP_UNIT_CDB_START_MASK,4,2 ; @START_STOP_UNIT_CDB_START_MASK
	.comm	_SAM_STAT_CHECK_CONDITION,4,2   ; @SAM_STAT_CHECK_CONDITION
	.comm	_ILLEGAL_REQUEST,4,2            ; @ILLEGAL_REQUEST
	.comm	_SCSI_ASC_INVALID_CDB,4,2       ; @SCSI_ASC_INVALID_CDB
	.comm	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE,4,2 ; @SCSI_ASCQ_CAUSE_NOT_REPORTABLE
	.comm	_nvme_cmd_flush,4,2             ; @nvme_cmd_flush
	.comm	_NVME_IO_TIMEOUT,4,2            ; @NVME_IO_TIMEOUT
	.no_dead_strip	_nvme_trans_start_stop
.subsections_via_symbols
