	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvme_get_log                   ## -- Begin function nvme_get_log
	.p2align	4, 0x90
_nvme_get_log:                          ## @nvme_get_log
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rdi, %r15
	movq	$0, -56(%rbp)
	movq	%r9, %r13
	shrq	$2, %r13
	decq	%r13
	movq	_nvme_admin_get_log_page@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	%esi, %edi
	callq	_cpu_to_le32
	movq	%rax, -64(%rbp)
	movq	%r12, -72(%rbp)
	movq	%rbx, -80(%rbp)
	movzwl	%r13w, %edi
	callq	_cpu_to_le16
	movq	%rax, -88(%rbp)
	shrq	$16, %r13
	movq	%r13, %rdi
	callq	_cpu_to_le16
	movq	%rax, -96(%rbp)
	movl	16(%rbp), %ebx
	movl	%ebx, %edi
	callq	_lower_32_bits
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, -104(%rbp)
	movl	%ebx, %edi
	callq	_upper_32_bits
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, -112(%rbp)
	movl	(%r15), %edi
	leaq	-112(%rbp), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_nvme_submit_sync_cmd
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nvme_admin_get_log_page,4,2    ## @nvme_admin_get_log_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvme_get_log                   ; -- Begin function nvme_get_log
	.p2align	2
_nvme_get_log:                          ; @nvme_get_log
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x6
	mov	x19, x5
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x0
	str	xzr, [sp, #56]
	lsr	x8, x5, #2
	sub	x25, x8, #1
Lloh0:
	adrp	x8, _nvme_admin_get_log_page@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvme_admin_get_log_page@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #56]
	mov	x0, x1
	bl	_cpu_to_le32
	stp	x23, x0, [sp, #40]
	str	x22, [sp, #32]
	and	x0, x25, #0xffff
	bl	_cpu_to_le16
	str	x0, [sp, #24]
	lsr	x0, x25, #16
	bl	_cpu_to_le16
	str	x0, [sp, #16]
	mov	x0, x21
	bl	_lower_32_bits
	bl	_cpu_to_le32
	str	x0, [sp, #8]
	mov	x0, x21
	bl	_upper_32_bits
	bl	_cpu_to_le32
	str	x0, [sp]
	ldr	w0, [x24]
	mov	x1, sp
	mov	x2, x20
	mov	x3, x19
	bl	_nvme_submit_sync_cmd
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_nvme_admin_get_log_page,4,2    ; @nvme_admin_get_log_page
.subsections_via_symbols
