	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_trans_test_unit_ready
_nvme_trans_test_unit_ready:            ## @nvme_trans_test_unit_ready
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rdi
	callq	_readl
	movq	_NVME_CSTS_RDY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	_SAM_STAT_GOOD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NO_SENSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	jmp	LBB0_3
LBB0_1:
	movq	_SAM_STAT_CHECK_CONDITION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NOT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SCSI_ASC_LUN_NOT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_nvme_trans_completion          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ## @SNTI_TRANSLATION_SUCCESS
	.comm	_NVME_CSTS_RDY,4,2              ## @NVME_CSTS_RDY
	.comm	_SAM_STAT_CHECK_CONDITION,4,2   ## @SAM_STAT_CHECK_CONDITION
	.comm	_NOT_READY,4,2                  ## @NOT_READY
	.comm	_SCSI_ASC_LUN_NOT_READY,4,2     ## @SCSI_ASC_LUN_NOT_READY
	.comm	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE,4,2 ## @SCSI_ASCQ_CAUSE_NOT_REPORTABLE
	.comm	_SAM_STAT_GOOD,4,2              ## @SAM_STAT_GOOD
	.comm	_NO_SENSE,4,2                   ## @NO_SENSE
	.no_dead_strip	_nvme_trans_test_unit_ready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_trans_test_unit_ready
_nvme_trans_test_unit_ready:            ; @nvme_trans_test_unit_ready
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x8, [x0]
	ldr	x0, [x8]
	bl	_readl
Lloh0:
	adrp	x8, _NVME_CSTS_RDY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_CSTS_RDY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SAM_STAT_GOOD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SAM_STAT_GOOD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _NO_SENSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NO_SENSE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #0
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _SAM_STAT_CHECK_CONDITION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SAM_STAT_CHECK_CONDITION@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _NOT_READY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NOT_READY@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _SCSI_ASC_LUN_NOT_READY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SCSI_ASC_LUN_NOT_READY@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
Lloh18:
	adrp	x8, _SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPAGEOFF]
Lloh20:
	ldr	w4, [x8]
	mov	x0, x19
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nvme_trans_completion
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ; @SNTI_TRANSLATION_SUCCESS
	.comm	_NVME_CSTS_RDY,4,2              ; @NVME_CSTS_RDY
	.comm	_SAM_STAT_CHECK_CONDITION,4,2   ; @SAM_STAT_CHECK_CONDITION
	.comm	_NOT_READY,4,2                  ; @NOT_READY
	.comm	_SCSI_ASC_LUN_NOT_READY,4,2     ; @SCSI_ASC_LUN_NOT_READY
	.comm	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE,4,2 ; @SCSI_ASCQ_CAUSE_NOT_REPORTABLE
	.comm	_SAM_STAT_GOOD,4,2              ; @SAM_STAT_GOOD
	.comm	_NO_SENSE,4,2                   ; @NO_SENSE
	.no_dead_strip	_nvme_trans_test_unit_ready
.subsections_via_symbols
