	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvme_read_write                ## -- Begin function nvme_read_write
	.p2align	4, 0x90
_nvme_read_write:                       ## @nvme_read_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%r9d, %r10d
	movl	32(%rbp), %r9d
	testl	%r8d, %r8d
	movq	_NVME_OPC_READ@GOTPCREL(%rip), %rax
	cmoveq	_NVME_OPC_WRITE@GOTPCREL(%rip), %rax
	movq	24(%rbp), %r8
	movl	40(%rbp), %r11d
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movq	_CAM_DIR_IN@GOTPCREL(%rip), %rax
	cmoveq	_CAM_DIR_OUT@GOTPCREL(%rip), %rax
	movl	%ecx, (%rdi)
	movq	_UINT32_MAX@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r10d
	movl	16(%rbp), %ecx
	movl	%r10d, 4(%rdi)
	movq	_UINT16_MAX@GOTPCREL(%rip), %r10
	decl	%ecx
	andl	(%r10), %ecx
	movl	%ecx, 12(%rdi)
	movl	(%rax), %ecx
	movl	%r11d, (%rsp)
	callq	_cam_fill_nvmeio
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_OPC_READ,4,2              ## @NVME_OPC_READ
	.comm	_NVME_OPC_WRITE,4,2             ## @NVME_OPC_WRITE
	.comm	_UINT32_MAX,4,2                 ## @UINT32_MAX
	.comm	_UINT16_MAX,4,2                 ## @UINT16_MAX
	.comm	_CAM_DIR_IN,4,2                 ## @CAM_DIR_IN
	.comm	_CAM_DIR_OUT,4,2                ## @CAM_DIR_OUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvme_read_write                ; -- Begin function nvme_read_write
	.p2align	2
_nvme_read_write:                       ; @nvme_read_write
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x10, _NVME_OPC_READ@GOTPAGE
Lloh1:
	ldr	x10, [x10, _NVME_OPC_READ@GOTPAGEOFF]
Lloh2:
	adrp	x11, _NVME_OPC_WRITE@GOTPAGE
Lloh3:
	ldr	x11, [x11, _NVME_OPC_WRITE@GOTPAGEOFF]
	ldp	w8, w9, [sp]
	sub	w12, w6, #1
	cmp	w4, #0
	csel	x10, x11, x10, eq
	ldr	w10, [x10]
	str	w3, [x0]
Lloh4:
	adrp	x11, _UINT32_MAX@GOTPAGE
Lloh5:
	ldr	x11, [x11, _UINT32_MAX@GOTPAGEOFF]
Lloh6:
	ldr	w11, [x11]
	and	w11, w11, w5
Lloh7:
	adrp	x13, _UINT16_MAX@GOTPAGE
Lloh8:
	ldr	x13, [x13, _UINT16_MAX@GOTPAGEOFF]
	str	w11, [x0, #4]
Lloh9:
	ldr	w11, [x13]
	and	w11, w11, w12
Lloh10:
	adrp	x12, _CAM_DIR_IN@GOTPAGE
Lloh11:
	ldr	x12, [x12, _CAM_DIR_IN@GOTPAGEOFF]
	stp	w11, w10, [x0, #12]
Lloh12:
	adrp	x10, _CAM_DIR_OUT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _CAM_DIR_OUT@GOTPAGEOFF]
	csel	x10, x10, x12, eq
	ldr	w3, [x10]
	mov	x4, x7
	mov	x5, x8
	mov	x6, x9
	b	_cam_fill_nvmeio
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_OPC_READ,4,2              ; @NVME_OPC_READ
	.comm	_NVME_OPC_WRITE,4,2             ; @NVME_OPC_WRITE
	.comm	_UINT32_MAX,4,2                 ; @UINT32_MAX
	.comm	_UINT16_MAX,4,2                 ; @UINT16_MAX
	.comm	_CAM_DIR_IN,4,2                 ; @CAM_DIR_IN
	.comm	_CAM_DIR_OUT,4,2                ; @CAM_DIR_OUT
.subsections_via_symbols
