	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_passthru_start
_nvme_passthru_start:                   ## @nvme_passthru_start
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movq	16(%rdi), %rcx
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	xorl	%r14d, %r14d
	movl	$0, %eax
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	movq	8(%rcx), %rax
	movl	(%rax,%r15,4), %edi
	callq	_le32_to_cpu
LBB0_3:
	movq	_NVME_CMD_EFFECTS_CSUPP@GOTPCREL(%rip), %rcx
	movq	_NVME_CMD_EFFECTS_LBCC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	testl	%edx, %eax
	je	LBB0_10
## %bb.4:
	movl	24(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	movl	%eax, %ecx
	callq	_dev_warn
	jmp	LBB0_10
LBB0_5:
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.7:
	movq	(%rcx), %rax
	movl	(%rax,%r15,4), %edi
	callq	_le32_to_cpu
	movl	%eax, %r12d
	jmp	LBB0_8
LBB0_6:
	xorl	%r12d, %r12d
LBB0_8:
	movq	%r15, %rdi
	callq	_nvme_known_admin_effects
	movl	%eax, %r14d
	orl	%r12d, %r14d
	movq	_NVME_CMD_EFFECTS_LBCC@GOTPCREL(%rip), %rax
	movq	_NVME_CMD_EFFECTS_CSE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r14d, %ecx
	je	LBB0_10
## %bb.9:
	leaq	8(%rbx), %rdi
	callq	_mutex_lock
	movq	(%rbx), %rdi
	callq	_mutex_lock
	movq	(%rbx), %rdi
	callq	_nvme_mpath_start_freeze
	movq	(%rbx), %rdi
	callq	_nvme_mpath_wait_freeze
	movq	%rbx, %rdi
	callq	_nvme_start_freeze
	movq	%rbx, %rdi
	callq	_nvme_wait_freeze
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_CMD_EFFECTS_CSUPP,4,2     ## @NVME_CMD_EFFECTS_CSUPP
	.comm	_NVME_CMD_EFFECTS_LBCC,4,2      ## @NVME_CMD_EFFECTS_LBCC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IO command:%02x has unhandled effects:%08x\n"

	.comm	_NVME_CMD_EFFECTS_CSE_MASK,4,2  ## @NVME_CMD_EFFECTS_CSE_MASK
	.no_dead_strip	_nvme_passthru_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_passthru_start
_nvme_passthru_start:                   ; @nvme_passthru_start
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbz	x1, LBB0_3
; %bb.1:
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x8, [x8, #8]
	ldr	w0, [x8, x20, lsl #2]
	bl	_le32_to_cpu
	mov	x3, x0
	b	LBB0_6
LBB0_3:
	cbz	x8, LBB0_9
; %bb.4:
	ldr	x8, [x8]
	ldr	w0, [x8, x20, lsl #2]
	bl	_le32_to_cpu
	mov	x21, x0
	b	LBB0_10
LBB0_5:
	mov	w3, #0
LBB0_6:
Lloh0:
	adrp	x8, _NVME_CMD_EFFECTS_CSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_CMD_EFFECTS_CSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _NVME_CMD_EFFECTS_LBCC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NVME_CMD_EFFECTS_LBCC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bics	wzr, w3, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x19, #24]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_warn
LBB0_8:
	mov	w20, #0
	b	LBB0_12
LBB0_9:
	mov	w21, #0
LBB0_10:
	mov	x0, x20
	bl	_nvme_known_admin_effects
	orr	w20, w0, w21
Lloh8:
	adrp	x8, _NVME_CMD_EFFECTS_LBCC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NVME_CMD_EFFECTS_LBCC@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _NVME_CMD_EFFECTS_CSE_MASK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NVME_CMD_EFFECTS_CSE_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_12
; %bb.11:
	add	x0, x19, #8
	bl	_mutex_lock
	ldr	x0, [x19]
	bl	_mutex_lock
	ldr	x0, [x19]
	bl	_nvme_mpath_start_freeze
	ldr	x0, [x19]
	bl	_nvme_mpath_wait_freeze
	mov	x0, x19
	bl	_nvme_start_freeze
	mov	x0, x19
	bl	_nvme_wait_freeze
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_CMD_EFFECTS_CSUPP,4,2     ; @NVME_CMD_EFFECTS_CSUPP
	.comm	_NVME_CMD_EFFECTS_LBCC,4,2      ; @NVME_CMD_EFFECTS_LBCC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IO command:%02x has unhandled effects:%08x\n"

	.comm	_NVME_CMD_EFFECTS_CSE_MASK,4,2  ; @NVME_CMD_EFFECTS_CSE_MASK
	.no_dead_strip	_nvme_passthru_start
.subsections_via_symbols
