	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_trans_modesel_get_mp
_nvme_trans_modesel_get_mp:             ## @nvme_trans_modesel_get_mp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	_SNTI_TRANSLATION_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$128, %ecx
	je	LBB0_4
## %bb.1:
	cmpl	$129, %ecx
	je	LBB0_10
## %bb.2:
	cmpl	$130, %ecx
	jne	LBB0_7
## %bb.3:
	movq	_CACHING_MODE_PAGE_WCE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	andl	8(%rdx), %ecx
	movq	(%rdi), %rdi
	setne	%al
	movq	_NVME_FEAT_VOLATILE_WC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_nvme_set_features
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_nvme_trans_status_code
	movl	%eax, %ecx
	testl	%eax, %eax
	cmovel	%ebx, %eax
	testl	%ebx, %ebx
	cmovel	%ecx, %eax
	jmp	LBB0_10
LBB0_4:
	testb	$1, 8(%rdx)
	jne	LBB0_6
## %bb.5:
	testb	$15, 12(%rdx)
	je	LBB0_10
LBB0_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_PARAMETER@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	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
LBB0_8:
	movl	(%rax), %ecx
	movq	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	callq	_nvme_trans_completion
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	_SNTI_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ## @SNTI_TRANSLATION_SUCCESS
	.comm	_CACHING_MODE_PAGE_WCE_MASK,4,2 ## @CACHING_MODE_PAGE_WCE_MASK
	.comm	_NVME_FEAT_VOLATILE_WC,4,2      ## @NVME_FEAT_VOLATILE_WC
	.comm	_SAM_STAT_CHECK_CONDITION,4,2   ## @SAM_STAT_CHECK_CONDITION
	.comm	_ILLEGAL_REQUEST,4,2            ## @ILLEGAL_REQUEST
	.comm	_SCSI_ASC_INVALID_PARAMETER,4,2 ## @SCSI_ASC_INVALID_PARAMETER
	.comm	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE,4,2 ## @SCSI_ASCQ_CAUSE_NOT_REPORTABLE
	.comm	_SNTI_INTERNAL_ERROR,4,2        ## @SNTI_INTERNAL_ERROR
	.comm	_SCSI_ASC_INVALID_CDB,4,2       ## @SCSI_ASC_INVALID_CDB
	.no_dead_strip	_nvme_trans_modesel_get_mp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_trans_modesel_get_mp
_nvme_trans_modesel_get_mp:             ; @nvme_trans_modesel_get_mp
	.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
	mov	x8, x0
Lloh0:
	adrp	x9, _SNTI_TRANSLATION_SUCCESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNTI_TRANSLATION_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	cmp	w3, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w3, #129
	b.eq	LBB0_9
; %bb.2:
	cmp	w3, #130
	b.ne	LBB0_7
; %bb.3:
	ldr	x0, [x8]
	ldr	w8, [x2, #8]
Lloh3:
	adrp	x9, _CACHING_MODE_PAGE_WCE_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CACHING_MODE_PAGE_WCE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w2, ne
Lloh6:
	adrp	x8, _NVME_FEAT_VOLATILE_WC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NVME_FEAT_VOLATILE_WC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w3, #0
	mov	x4, #0
	bl	_nvme_set_features
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_nvme_trans_status_code
	cmp	w0, #0
	ccmp	w20, #0, #4, eq
	csel	w0, w20, w0, ne
	b	LBB0_9
LBB0_4:
	ldrb	w8, [x2, #8]
	tbnz	w8, #0, LBB0_6
; %bb.5:
	ldrb	w8, [x2, #12]
	tst	w8, #0xf
	b.eq	LBB0_9
LBB0_6:
Lloh9:
	adrp	x8, _SAM_STAT_CHECK_CONDITION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SAM_STAT_CHECK_CONDITION@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _ILLEGAL_REQUEST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ILLEGAL_REQUEST@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _SCSI_ASC_INVALID_PARAMETER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SCSI_ASC_INVALID_PARAMETER@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh17:
	adrp	x8, _SAM_STAT_CHECK_CONDITION@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SAM_STAT_CHECK_CONDITION@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _ILLEGAL_REQUEST@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ILLEGAL_REQUEST@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x8, _SCSI_ASC_INVALID_CDB@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SCSI_ASC_INVALID_CDB@GOTPAGEOFF]
LBB0_8:
	ldr	w3, [x8]
Lloh25:
	adrp	x8, _SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPAGEOFF]
Lloh27:
	ldr	w4, [x8]
	mov	x0, x19
	bl	_nvme_trans_completion
Lloh28:
	adrp	x8, _SNTI_INTERNAL_ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SNTI_INTERNAL_ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w0, w8, w0, eq
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ; @SNTI_TRANSLATION_SUCCESS
	.comm	_CACHING_MODE_PAGE_WCE_MASK,4,2 ; @CACHING_MODE_PAGE_WCE_MASK
	.comm	_NVME_FEAT_VOLATILE_WC,4,2      ; @NVME_FEAT_VOLATILE_WC
	.comm	_SAM_STAT_CHECK_CONDITION,4,2   ; @SAM_STAT_CHECK_CONDITION
	.comm	_ILLEGAL_REQUEST,4,2            ; @ILLEGAL_REQUEST
	.comm	_SCSI_ASC_INVALID_PARAMETER,4,2 ; @SCSI_ASC_INVALID_PARAMETER
	.comm	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE,4,2 ; @SCSI_ASCQ_CAUSE_NOT_REPORTABLE
	.comm	_SNTI_INTERNAL_ERROR,4,2        ; @SNTI_INTERNAL_ERROR
	.comm	_SCSI_ASC_INVALID_CDB,4,2       ; @SCSI_ASC_INVALID_CDB
	.no_dead_strip	_nvme_trans_modesel_get_mp
.subsections_via_symbols
