	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_trans_log_info_exceptions
_nvme_trans_log_info_exceptions:        ## @nvme_trans_log_info_exceptions
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	(%rdi), %r14
	movq	_LOG_INFO_EXCP_PAGE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movq	(%r14), %rdi
	movl	(%r13), %ecx
	leaq	-44(%rbp), %rdx
	movl	$8, %esi
	callq	_dma_alloc_coherent
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r13
	movq	%r15, %rbx
	leaq	-80(%rbp), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_nvme_admin_get_log_page@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	$-1, %edi
	callq	_cpu_to_le32
	movq	%rax, -64(%rbp)
	movl	-44(%rbp), %edi
	callq	_cpu_to_le64
	movl	%eax, -72(%rbp)
	movq	_BYTES_TO_DWORDS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	cmpq	$8, %rcx
	ja	LBB0_6
## %bb.5:
	movl	$8, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %r15d
LBB0_6:
	movq	_NVME_GET_SMART_LOG_PAGE@GOTPCREL(%rip), %rax
	shll	$16, %r15d
	orl	(%rax), %r15d
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movq	-80(%rbp), %rcx
	movq	%rax, (%rcx)
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_nvme_submit_admin_cmd
	movq	_NVME_SC_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.8:
	movq	(%r13), %rcx
	movl	4(%rcx), %eax
	shll	$8, %eax
	addl	(%rcx), %eax
	movq	_KELVIN_TEMP_FACTOR@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_7:
	movq	_LOG_TEMP_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	movq	_LOG_PAGE_INFORMATIONAL_EXCEPTIONS_PAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r12)
	movq	_REMAINING_INFO_EXCP_PAGE_LENGTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%r12)
	movabsq	$17179869219, %rcx              ## imm = 0x400000023
	movq	%rcx, 24(%r12)
	movl	%eax, 40(%r12)
	movq	_LOG_INFO_EXCP_PAGE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_min
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_nvme_trans_copy_to_user
	movl	%eax, %ebx
	movq	(%r14), %rdi
	movl	-44(%rbp), %ecx
	movl	$8, %esi
	movq	%r13, %rdx
	callq	_dma_free_coherent
LBB0_10:
	movq	%r12, %rdi
	callq	_kfree
LBB0_11:
	movl	%ebx, %eax
	addq	$40, %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	_LOG_INFO_EXCP_PAGE_LENGTH,4,2  ## @LOG_INFO_EXCP_PAGE_LENGTH
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_nvme_admin_get_log_page,4,2    ## @nvme_admin_get_log_page
	.comm	_BYTES_TO_DWORDS,4,2            ## @BYTES_TO_DWORDS
	.comm	_NVME_GET_SMART_LOG_PAGE,4,2    ## @NVME_GET_SMART_LOG_PAGE
	.comm	_NVME_SC_SUCCESS,4,2            ## @NVME_SC_SUCCESS
	.comm	_LOG_TEMP_UNKNOWN,4,2           ## @LOG_TEMP_UNKNOWN
	.comm	_KELVIN_TEMP_FACTOR,4,2         ## @KELVIN_TEMP_FACTOR
	.comm	_LOG_PAGE_INFORMATIONAL_EXCEPTIONS_PAGE,4,2 ## @LOG_PAGE_INFORMATIONAL_EXCEPTIONS_PAGE
	.comm	_REMAINING_INFO_EXCP_PAGE_LENGTH,4,2 ## @REMAINING_INFO_EXCP_PAGE_LENGTH
	.no_dead_strip	_nvme_trans_log_info_exceptions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function nvme_trans_log_info_exceptions
lCPI0_0:
	.long	35                              ; 0x23
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_nvme_trans_log_info_exceptions:        ; @nvme_trans_log_info_exceptions
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x2
	mov	x21, x1
	ldr	x20, [x0]
Lloh0:
	adrp	x24, _LOG_INFO_EXCP_PAGE_LENGTH@GOTPAGE
Lloh1:
	ldr	x24, [x24, _LOG_INFO_EXCP_PAGE_LENGTH@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh2:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x0, [x20]
	ldr	w3, [x23]
	add	x2, sp, #12
	mov	w1, #8
	bl	_dma_alloc_coherent
	cbz	x0, LBB0_5
; %bb.2:
	mov	x23, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh4:
	adrp	x8, _nvme_admin_get_log_page@GOTPAGE
Lloh5:
	ldr	x8, [x8, _nvme_admin_get_log_page@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	mov	w0, #-1
	bl	_cpu_to_le32
	str	x0, [sp, #32]
	ldr	w0, [sp, #12]
	bl	_cpu_to_le64
	str	w0, [sp, #24]
Lloh7:
	adrp	x8, _BYTES_TO_DWORDS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BYTES_TO_DWORDS@GOTPAGEOFF]
Lloh9:
	ldrsw	x8, [x8]
	mov	w9, #8
	udiv	x8, x9, x8
Lloh10:
	adrp	x9, _NVME_GET_SMART_LOG_PAGE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _NVME_GET_SMART_LOG_PAGE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w0, w9, w8, lsl #16
	bl	_cpu_to_le32
	ldr	x8, [sp, #16]
	str	x0, [x8]
	add	x1, sp, #16
	mov	x0, x20
	mov	x2, #0
	bl	_nvme_submit_admin_cmd
Lloh13:
	adrp	x8, _NVME_SC_SUCCESS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NVME_SC_SUCCESS@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.3:
	ldr	x8, [x23]
	ldp	w8, w9, [x8]
	add	w8, w8, w9, lsl #8
Lloh16:
	adrp	x9, _KELVIN_TEMP_FACTOR@GOTPAGE
Lloh17:
	ldr	x9, [x9, _KELVIN_TEMP_FACTOR@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	sub	w8, w8, w9
	b	LBB0_7
LBB0_4:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_9
LBB0_5:
Lloh22:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_8
LBB0_6:
Lloh25:
	adrp	x8, _LOG_TEMP_UNKNOWN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LOG_TEMP_UNKNOWN@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
LBB0_7:
Lloh28:
	adrp	x9, _LOG_PAGE_INFORMATIONAL_EXCEPTIONS_PAGE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _LOG_PAGE_INFORMATIONAL_EXCEPTIONS_PAGE@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	str	w9, [x19]
Lloh31:
	adrp	x9, _REMAINING_INFO_EXCP_PAGE_LENGTH@GOTPAGE
Lloh32:
	ldr	x9, [x9, _REMAINING_INFO_EXCP_PAGE_LENGTH@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	str	w9, [x19, #12]
Lloh34:
	adrp	x9, lCPI0_0@PAGE
Lloh35:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x19, #24]
	str	w8, [x19, #40]
	ldr	w1, [x24]
	mov	x0, x22
	bl	_min
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_nvme_trans_copy_to_user
	mov	x21, x0
	ldr	x0, [x20]
	ldr	w3, [sp, #12]
	mov	w1, #8
	mov	x2, x23
	bl	_dma_free_coherent
LBB0_8:
	mov	x0, x19
	bl	_kfree
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdr	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ; @SNTI_TRANSLATION_SUCCESS
	.comm	_LOG_INFO_EXCP_PAGE_LENGTH,4,2  ; @LOG_INFO_EXCP_PAGE_LENGTH
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_nvme_admin_get_log_page,4,2    ; @nvme_admin_get_log_page
	.comm	_BYTES_TO_DWORDS,4,2            ; @BYTES_TO_DWORDS
	.comm	_NVME_GET_SMART_LOG_PAGE,4,2    ; @NVME_GET_SMART_LOG_PAGE
	.comm	_NVME_SC_SUCCESS,4,2            ; @NVME_SC_SUCCESS
	.comm	_LOG_TEMP_UNKNOWN,4,2           ; @LOG_TEMP_UNKNOWN
	.comm	_KELVIN_TEMP_FACTOR,4,2         ; @KELVIN_TEMP_FACTOR
	.comm	_LOG_PAGE_INFORMATIONAL_EXCEPTIONS_PAGE,4,2 ; @LOG_PAGE_INFORMATIONAL_EXCEPTIONS_PAGE
	.comm	_REMAINING_INFO_EXCP_PAGE_LENGTH,4,2 ; @REMAINING_INFO_EXCP_PAGE_LENGTH
	.no_dead_strip	_nvme_trans_log_info_exceptions
.subsections_via_symbols
