	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_idc_req_aen
_ql_idc_req_aen:                        ## @ql_idc_req_aen
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_drv@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	8(%rdi), %edx
	leaq	L_.str(%rip), %rcx
	callq	_netif_err
	leaq	12(%rbx), %rsi
	movl	$4, 12(%rbx)
	movq	%rbx, %rdi
	callq	_ql_get_mb_sts
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%r15), %esi
	movl	8(%rbx), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%rbx, %rdi
	callq	_netif_err
	movq	%rbx, %rdi
	callq	_ql_queue_asic_error
	jmp	LBB0_3
LBB0_2:
	movq	_INTR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INTR_MASK_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$16, %edx
	movq	%rbx, %rdi
	callq	_ql_write32
	movl	4(%rbx), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_queue_delayed_work
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter!\n"

L_.str.1:                               ## @.str.1
	.asciz	"Could not read MPI, resetting ASIC!\n"

	.comm	_INTR_MASK,4,2                  ## @INTR_MASK
	.comm	_INTR_MASK_PI,4,2               ## @INTR_MASK_PI
	.no_dead_strip	_ql_idc_req_aen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_idc_req_aen
_ql_idc_req_aen:                        ; @ql_idc_req_aen
	.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	x19, x0
Lloh0:
	adrp	x21, _drv@GOTPAGE
Lloh1:
	ldr	x21, [x21, _drv@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	w2, [x0, #8]
Lloh2:
	adrp	x3, l_.str@PAGE
Lloh3:
	add	x3, x3, l_.str@PAGEOFF
	bl	_netif_err
	mov	w8, #4
	mov	x1, x19
	str	w8, [x1, #12]!
	mov	x0, x19
	bl	_ql_get_mb_sts
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w1, [x21]
	ldr	w2, [x19, #8]
Lloh4:
	adrp	x3, l_.str.1@PAGE
Lloh5:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netif_err
	mov	x0, x19
	bl	_ql_queue_asic_error
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _INTR_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INTR_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _INTR_MASK_PI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _INTR_MASK_PI@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsl	w2, w8, #16
	mov	x0, x19
	bl	_ql_write32
	ldr	w0, [x19, #4]
	mov	x1, x19
	mov	w2, #0
	bl	_queue_delayed_work
LBB0_3:
	mov	x0, 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
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter!\n"

l_.str.1:                               ; @.str.1
	.asciz	"Could not read MPI, resetting ASIC!\n"

	.comm	_INTR_MASK,4,2                  ; @INTR_MASK
	.comm	_INTR_MASK_PI,4,2               ; @INTR_MASK_PI
	.no_dead_strip	_ql_idc_req_aen
.subsections_via_symbols
