	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_trans_inquiry
_nvme_trans_inquiry:                    ## @nvme_trans_inquiry
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_GET_INQ_EVPD_BIT
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_GET_INQ_PAGE_CODE
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_GET_INQ_ALLOC_LENGTH
	movl	%eax, %ebx
	movq	_STANDARD_INQUIRY_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	testq	%r14, %r14
	je	LBB0_3
## %bb.5:
	addq	$-128, %r15
	cmpq	$4, %r15
	ja	LBB0_12
## %bb.6:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r15,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	%ebx, %ecx
	callq	_nvme_trans_supported_vpd_pages
	jmp	LBB0_13
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_3:
	movq	_INQ_STANDARD_INQUIRY_PAGE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_12
## %bb.4:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	%ebx, %ecx
	callq	_nvme_trans_standard_inquiry_page
	jmp	LBB0_13
LBB0_12:
	movq	_SAM_STAT_CHECK_CONDITION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ILLEGAL_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SCSI_ASC_INVALID_CDB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_nvme_trans_completion
	jmp	LBB0_13
LBB0_8:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	%ebx, %ecx
	callq	_nvme_trans_unit_serial_page
	jmp	LBB0_13
LBB0_10:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_nvme_trans_ext_inq_page
	jmp	LBB0_13
LBB0_9:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	%ebx, %ecx
	callq	_nvme_trans_device_id_page
	jmp	LBB0_13
LBB0_11:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_nvme_trans_bdev_char_page
LBB0_13:
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_kfree
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ## @SNTI_TRANSLATION_SUCCESS
	.comm	_STANDARD_INQUIRY_LENGTH,4,2    ## @STANDARD_INQUIRY_LENGTH
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_INQ_STANDARD_INQUIRY_PAGE,8,3  ## @INQ_STANDARD_INQUIRY_PAGE
	.comm	_SAM_STAT_CHECK_CONDITION,4,2   ## @SAM_STAT_CHECK_CONDITION
	.comm	_ILLEGAL_REQUEST,4,2            ## @ILLEGAL_REQUEST
	.comm	_SCSI_ASC_INVALID_CDB,4,2       ## @SCSI_ASC_INVALID_CDB
	.comm	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE,4,2 ## @SCSI_ASCQ_CAUSE_NOT_REPORTABLE
	.no_dead_strip	_nvme_trans_inquiry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_trans_inquiry
_nvme_trans_inquiry:                    ; @nvme_trans_inquiry
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	mov	x0, x2
	bl	_GET_INQ_EVPD_BIT
	mov	x24, x0
	mov	x0, x19
	bl	_GET_INQ_PAGE_CODE
	mov	x23, x0
	mov	x0, x19
	bl	_GET_INQ_ALLOC_LENGTH
	mov	x21, x0
Lloh0:
	adrp	x8, _STANDARD_INQUIRY_LENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STANDARD_INQUIRY_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	cbz	x24, LBB0_6
; %bb.2:
	sub	x8, x23, #128
	cmp	x8, #4
	b.hi	LBB0_8
; %bb.3:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	bl	_nvme_trans_supported_vpd_pages
	b	LBB0_13
LBB0_5:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_14
LBB0_6:
Lloh11:
	adrp	x8, _INQ_STANDARD_INQUIRY_PAGE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INQ_STANDARD_INQUIRY_PAGE@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x23, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	bl	_nvme_trans_standard_inquiry_page
	b	LBB0_13
LBB0_8:
Lloh14:
	adrp	x8, _SAM_STAT_CHECK_CONDITION@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SAM_STAT_CHECK_CONDITION@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _ILLEGAL_REQUEST@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ILLEGAL_REQUEST@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x8, _SCSI_ASC_INVALID_CDB@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SCSI_ASC_INVALID_CDB@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
Lloh23:
	adrp	x8, _SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SCSI_ASCQ_CAUSE_NOT_REPORTABLE@GOTPAGEOFF]
Lloh25:
	ldr	w4, [x8]
	mov	x0, x20
	bl	_nvme_trans_completion
	b	LBB0_13
LBB0_9:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	bl	_nvme_trans_unit_serial_page
	b	LBB0_13
LBB0_10:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_nvme_trans_ext_inq_page
	b	LBB0_13
LBB0_11:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	bl	_nvme_trans_device_id_page
	b	LBB0_13
LBB0_12:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_nvme_trans_bdev_char_page
LBB0_13:
	mov	x20, x0
	mov	x0, x19
	bl	_kfree
LBB0_14:
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
                                        ; -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ; @SNTI_TRANSLATION_SUCCESS
	.comm	_STANDARD_INQUIRY_LENGTH,4,2    ; @STANDARD_INQUIRY_LENGTH
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_INQ_STANDARD_INQUIRY_PAGE,8,3  ; @INQ_STANDARD_INQUIRY_PAGE
	.comm	_SAM_STAT_CHECK_CONDITION,4,2   ; @SAM_STAT_CHECK_CONDITION
	.comm	_ILLEGAL_REQUEST,4,2            ; @ILLEGAL_REQUEST
	.comm	_SCSI_ASC_INVALID_CDB,4,2       ; @SCSI_ASC_INVALID_CDB
	.comm	_SCSI_ASCQ_CAUSE_NOT_REPORTABLE,4,2 ; @SCSI_ASCQ_CAUSE_NOT_REPORTABLE
	.no_dead_strip	_nvme_trans_inquiry
.subsections_via_symbols
