	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_trans_fill_caching_page
_nvme_trans_fill_caching_page:          ## @nvme_trans_fill_caching_page
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MODE_PAGE_CACHING_LEN@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jle	LBB0_2
## %bb.1:
	movq	_SNTI_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_2:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	(%rdi), %rdi
	movq	_NVME_FEAT_VOLATILE_WC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %r8
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_nvme_get_features
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_nvme_trans_status_code
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movl	%ebx, %eax
	testl	%ebx, %ebx
	jne	LBB0_5
## %bb.4:
	movl	-28(%rbp), %eax
	movq	_MODE_PAGE_CACHING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
	movq	_MODE_PAGE_CACHING_LEN_FIELD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%r14)
	shll	$2, %eax
	andl	$4, %eax
	movl	%eax, 8(%r14)
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ## @SNTI_TRANSLATION_SUCCESS
	.comm	_MODE_PAGE_CACHING_LEN,4,2      ## @MODE_PAGE_CACHING_LEN
	.comm	_SNTI_INTERNAL_ERROR,4,2        ## @SNTI_INTERNAL_ERROR
	.comm	_NVME_FEAT_VOLATILE_WC,4,2      ## @NVME_FEAT_VOLATILE_WC
	.comm	_MODE_PAGE_CACHING,4,2          ## @MODE_PAGE_CACHING
	.comm	_MODE_PAGE_CACHING_LEN_FIELD,4,2 ## @MODE_PAGE_CACHING_LEN_FIELD
	.no_dead_strip	_nvme_trans_fill_caching_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_trans_fill_caching_page
_nvme_trans_fill_caching_page:          ; @nvme_trans_fill_caching_page
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _MODE_PAGE_CACHING_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODE_PAGE_CACHING_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w3
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SNTI_INTERNAL_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNTI_INTERNAL_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_2:
	mov	x19, x2
	mov	x20, x1
	ldr	x0, [x0]
Lloh6:
	adrp	x8, _NVME_FEAT_VOLATILE_WC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NVME_FEAT_VOLATILE_WC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x4, sp, #12
	mov	w2, #0
	mov	w3, #0
	bl	_nvme_get_features
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_nvme_trans_status_code
	cbnz	w0, LBB0_5
; %bb.3:
	mov	x0, x21
	cbnz	w21, LBB0_5
; %bb.4:
	ldr	w8, [sp, #12]
Lloh9:
	adrp	x9, _MODE_PAGE_CACHING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MODE_PAGE_CACHING@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	str	w9, [x19]
Lloh12:
	adrp	x9, _MODE_PAGE_CACHING_LEN_FIELD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MODE_PAGE_CACHING_LEN_FIELD@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	ubfiz	w8, w8, #2, #1
	stp	w9, w8, [x19, #4]
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ; @SNTI_TRANSLATION_SUCCESS
	.comm	_MODE_PAGE_CACHING_LEN,4,2      ; @MODE_PAGE_CACHING_LEN
	.comm	_SNTI_INTERNAL_ERROR,4,2        ; @SNTI_INTERNAL_ERROR
	.comm	_NVME_FEAT_VOLATILE_WC,4,2      ; @NVME_FEAT_VOLATILE_WC
	.comm	_MODE_PAGE_CACHING,4,2          ; @MODE_PAGE_CACHING
	.comm	_MODE_PAGE_CACHING_LEN_FIELD,4,2 ; @MODE_PAGE_CACHING_LEN_FIELD
	.no_dead_strip	_nvme_trans_fill_caching_page
.subsections_via_symbols
