	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_handle_aen_notice
_nvme_handle_aen_notice:                ## @nvme_handle_aen_notice
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	%esi, %ebx
	shrl	$8, %ebx
	movzbl	%bl, %r12d
	movl	%r12d, %esi
	callq	_trace_nvme_async_event
	cmpb	$-126, %r12b
	je	LBB0_7
## %bb.1:
	cmpb	$-127, %bl
	je	LBB0_4
## %bb.2:
	cmpb	$-128, %bl
	jne	LBB0_6
## %bb.3:
	leaq	20(%r15), %rsi
	movl	$128, %edi
	callq	_set_bit
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvme_queue_scan                ## TAILCALL
LBB0_7:
	movl	%r14d, (%r15)
	jmp	LBB0_8
LBB0_4:
	movq	_NVME_CTRL_RESETTING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_nvme_change_ctrl_state
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movq	_nvme_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$16, %r15
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	4(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_CTRL_RESETTING,4,2        ## @NVME_CTRL_RESETTING
	.comm	_nvme_wq,4,2                    ## @nvme_wq
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"async event result %08x\n"

	.no_dead_strip	_nvme_handle_aen_notice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_handle_aen_notice
_nvme_handle_aen_notice:                ; @nvme_handle_aen_notice
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ubfx	w21, w1, #8, #8
	mov	x1, x21
	bl	_trace_nvme_async_event
	cmp	w21, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w21, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w21, #128
	b.ne	LBB0_8
; %bb.3:
	add	x1, x19, #20
	mov	w0, #128
	bl	_set_bit
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_nvme_queue_scan
LBB0_4:
	str	w20, [x19]
	b	LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _NVME_CTRL_RESETTING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_CTRL_RESETTING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nvme_change_ctrl_state
	cbz	w0, LBB0_7
; %bb.6:
Lloh3:
	adrp	x8, _nvme_wq@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nvme_wq@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #16
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_queue_work
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w0, [x19, #4]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dev_warn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_CTRL_RESETTING,4,2        ; @NVME_CTRL_RESETTING
	.comm	_nvme_wq,4,2                    ; @nvme_wq
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"async event result %08x\n"

	.no_dead_strip	_nvme_handle_aen_notice
.subsections_via_symbols
