	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_trans_standard_inquiry_page
_nvme_trans_standard_inquiry_page:      ## @nvme_trans_standard_inquiry_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	%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
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movq	16(%r12), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-44(%rbp), %rdx
	movl	$8, %esi
	callq	_dma_alloc_coherent
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movl	(%rbx), %esi
	movl	-44(%rbp), %ecx
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_nvme_identify
	movl	%eax, %ebx
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_nvme_trans_status_code
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movl	%ebx, %r13d
	testl	%ebx, %ebx
	jne	LBB0_5
## %bb.4:
	xorl	%ebx, %ebx
	cmpq	$0, (%r15)
	setne	%bl
	movq	_STANDARD_INQUIRY_LENGTH@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_VERSION_SPC_4@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movl	$2, 12(%r14)
	movq	_ADDITIONAL_STD_INQ_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movl	%ebx, 20(%r14)
	movl	$2, 28(%r14)
	leaq	32(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$8, %edx
	callq	_strncpy
	leaq	64(%r14), %rdi
	movq	(%r12), %rsi
	movl	$16, %edx
	callq	_strncpy
	leaq	128(%r14), %rdi
	movq	8(%r12), %rsi
	movl	$4, %edx
	callq	_strncpy
	movl	(%r13), %esi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_min
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_nvme_trans_copy_to_user
	movl	%eax, %r13d
LBB0_5:
	movq	16(%r12), %rdi
	movl	-44(%rbp), %ecx
	movl	$8, %esi
	movq	%r15, %rdx
	callq	_dma_free_coherent
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_6:
	movl	%r13d, %eax
	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	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_STANDARD_INQUIRY_LENGTH,4,2    ## @STANDARD_INQUIRY_LENGTH
	.comm	_VERSION_SPC_4,4,2              ## @VERSION_SPC_4
	.comm	_ADDITIONAL_STD_INQ_LENGTH,4,2  ## @ADDITIONAL_STD_INQ_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NVMe    "

	.no_dead_strip	_nvme_trans_standard_inquiry_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_standard_inquiry_page
_nvme_trans_standard_inquiry_page:      ; @nvme_trans_standard_inquiry_page
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x23, x3
	mov	x20, x2
	mov	x22, x1
	mov	x24, x0
	ldr	x19, [x0, #8]
	ldr	x0, [x19, #16]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	add	x2, sp, #12
	mov	w1, #8
	bl	_dma_alloc_coherent
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	ldr	w1, [x24]
	ldr	w3, [sp, #12]
	mov	x0, x19
	mov	w2, #0
	bl	_nvme_identify
	mov	x25, x0
	mov	x0, x22
	mov	x1, x25
	bl	_nvme_trans_status_code
	mov	x24, x0
	cbnz	w0, LBB0_4
; %bb.2:
	mov	x24, x25
	cbnz	w25, LBB0_4
; %bb.3:
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w24, ne
Lloh3:
	adrp	x25, _STANDARD_INQUIRY_LENGTH@GOTPAGE
Lloh4:
	ldr	x25, [x25, _STANDARD_INQUIRY_LENGTH@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x20
	mov	w1, #0
	bl	_memset
Lloh5:
	adrp	x8, _VERSION_SPC_4@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VERSION_SPC_4@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mov	w9, #2
Lloh8:
	adrp	x10, _ADDITIONAL_STD_INQ_LENGTH@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ADDITIONAL_STD_INQ_LENGTH@GOTPAGEOFF]
	stp	w8, w9, [x20, #8]
Lloh10:
	ldr	w8, [x10]
	stp	w8, w24, [x20, #16]
	str	w9, [x20, #28]
	add	x0, x20, #32
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #8
	bl	_strncpy
	add	x0, x20, #64
	ldr	x1, [x19]
	mov	w2, #16
	bl	_strncpy
	add	x0, x20, #128
	ldr	x1, [x19, #8]
	mov	w2, #4
	bl	_strncpy
	ldr	w1, [x25]
	mov	x0, x23
	bl	_min
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
	bl	_nvme_trans_copy_to_user
	mov	x24, x0
LBB0_4:
	ldr	x0, [x19, #16]
	ldr	w3, [sp, #12]
	mov	w1, #8
	mov	x2, x21
	bl	_dma_free_coherent
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_6:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ; @SNTI_TRANSLATION_SUCCESS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_STANDARD_INQUIRY_LENGTH,4,2    ; @STANDARD_INQUIRY_LENGTH
	.comm	_VERSION_SPC_4,4,2              ; @VERSION_SPC_4
	.comm	_ADDITIONAL_STD_INQ_LENGTH,4,2  ; @ADDITIONAL_STD_INQ_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NVMe    "

	.no_dead_strip	_nvme_trans_standard_inquiry_page
.subsections_via_symbols
