	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_trans_mode_select
_nvme_trans_mode_select:                ## @nvme_trans_mode_select
	.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, %r14
	movq	%rdi, %r15
	movq	_SNTI_TRANSLATION_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_MODE_SELECT_CDB_PAGE_FORMAT_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	callq	_GET_U8_FROM_CDB
	movq	%rax, %r13
	movq	_MODE_SELECT_CDB_PAGE_FORMAT_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r13d
	movq	_MODE_SELECT_CDB_SAVE_PAGES_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_GET_U8_FROM_CDB
	movq	%rax, %r12
	movq	_MODE_SELECT_CDB_SAVE_PAGES_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_GET_OPCODE
	movq	_MODE_SELECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_MODE_SELECT_6_CDB_PARAM_LIST_LENGTH_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_GET_U8_FROM_CDB
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	movl	%ecx, (%rsp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	movl	%r13d, %r8d
	movl	%r12d, %r9d
	callq	_nvme_trans_modesel_data
	jmp	LBB0_6
LBB0_2:
	movq	_MODE_SELECT_10_CDB_PARAM_LIST_LENGTH_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_GET_U16_FROM_CDB
	movl	$1, %ecx
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_6:
	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	_MODE_SELECT_CDB_PAGE_FORMAT_OFFSET,4,2 ## @MODE_SELECT_CDB_PAGE_FORMAT_OFFSET
	.comm	_MODE_SELECT_CDB_PAGE_FORMAT_MASK,4,2 ## @MODE_SELECT_CDB_PAGE_FORMAT_MASK
	.comm	_MODE_SELECT_CDB_SAVE_PAGES_OFFSET,4,2 ## @MODE_SELECT_CDB_SAVE_PAGES_OFFSET
	.comm	_MODE_SELECT_CDB_SAVE_PAGES_MASK,4,2 ## @MODE_SELECT_CDB_SAVE_PAGES_MASK
	.comm	_MODE_SELECT,8,3                ## @MODE_SELECT
	.comm	_MODE_SELECT_6_CDB_PARAM_LIST_LENGTH_OFFSET,4,2 ## @MODE_SELECT_6_CDB_PARAM_LIST_LENGTH_OFFSET
	.comm	_MODE_SELECT_10_CDB_PARAM_LIST_LENGTH_OFFSET,4,2 ## @MODE_SELECT_10_CDB_PARAM_LIST_LENGTH_OFFSET
	.no_dead_strip	_nvme_trans_mode_select
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_trans_mode_select
_nvme_trans_mode_select:                ; @nvme_trans_mode_select
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _SNTI_TRANSLATION_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNTI_TRANSLATION_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x8, _MODE_SELECT_CDB_PAGE_FORMAT_OFFSET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MODE_SELECT_CDB_PAGE_FORMAT_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x2
	bl	_GET_U8_FROM_CDB
	mov	x23, x0
Lloh6:
	adrp	x8, _MODE_SELECT_CDB_PAGE_FORMAT_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MODE_SELECT_CDB_PAGE_FORMAT_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w25, [x8]
Lloh9:
	adrp	x8, _MODE_SELECT_CDB_SAVE_PAGES_OFFSET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MODE_SELECT_CDB_SAVE_PAGES_OFFSET@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GET_U8_FROM_CDB
	mov	x24, x0
Lloh12:
	adrp	x8, _MODE_SELECT_CDB_SAVE_PAGES_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MODE_SELECT_CDB_SAVE_PAGES_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w26, [x8]
	mov	x0, x19
	bl	_GET_OPCODE
Lloh15:
	adrp	x8, _MODE_SELECT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MODE_SELECT@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
Lloh18:
	adrp	x8, _MODE_SELECT_6_CDB_PARAM_LIST_LENGTH_OFFSET@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MODE_SELECT_6_CDB_PARAM_LIST_LENGTH_OFFSET@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GET_U8_FROM_CDB
	mov	x3, x0
	mov	w6, #0
	cbz	x3, LBB0_4
LBB0_2:
	and	w4, w25, w23
	and	w5, w26, w24
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_nvme_trans_modesel_data
LBB0_3:
Lloh21:
	adrp	x8, _MODE_SELECT_10_CDB_PARAM_LIST_LENGTH_OFFSET@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MODE_SELECT_10_CDB_PARAM_LIST_LENGTH_OFFSET@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GET_U16_FROM_CDB
	mov	x3, x0
	mov	w6, #1
	cbnz	x3, LBB0_2
LBB0_4:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	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	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ; @SNTI_TRANSLATION_SUCCESS
	.comm	_MODE_SELECT_CDB_PAGE_FORMAT_OFFSET,4,2 ; @MODE_SELECT_CDB_PAGE_FORMAT_OFFSET
	.comm	_MODE_SELECT_CDB_PAGE_FORMAT_MASK,4,2 ; @MODE_SELECT_CDB_PAGE_FORMAT_MASK
	.comm	_MODE_SELECT_CDB_SAVE_PAGES_OFFSET,4,2 ; @MODE_SELECT_CDB_SAVE_PAGES_OFFSET
	.comm	_MODE_SELECT_CDB_SAVE_PAGES_MASK,4,2 ; @MODE_SELECT_CDB_SAVE_PAGES_MASK
	.comm	_MODE_SELECT,8,3                ; @MODE_SELECT
	.comm	_MODE_SELECT_6_CDB_PARAM_LIST_LENGTH_OFFSET,4,2 ; @MODE_SELECT_6_CDB_PARAM_LIST_LENGTH_OFFSET
	.comm	_MODE_SELECT_10_CDB_PARAM_LIST_LENGTH_OFFSET,4,2 ; @MODE_SELECT_10_CDB_PARAM_LIST_LENGTH_OFFSET
	.no_dead_strip	_nvme_trans_mode_select
.subsections_via_symbols
