	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_irq_handle_error            ## -- Begin function il_irq_handle_error
	.p2align	4, 0x90
_il_irq_handle_error:                   ## @il_irq_handle_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_S_FW_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %r14
	movq	%r14, %rsi
	callq	_set_bit
	movq	_S_HCMD_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_clear_bit
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_IL_ERR
	movq	24(%rbx), %rax
	movq	%rbx, %rdi
	callq	*8(%rax)
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	*%rax
LBB0_2:
	leaq	20(%rbx), %rdi
	callq	_wake_up
	movq	_S_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_clear_bit
	movq	_S_EXIT_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_3
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_IL_DL_FW_ERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_IL_DBG
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.5:
	movl	4(%rbx), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_S_FW_ERROR,4,2                 ## @S_FW_ERROR
	.comm	_S_HCMD_ACTIVE,4,2              ## @S_HCMD_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Loaded firmware version: %s\n"

	.comm	_S_READY,4,2                    ## @S_READY
	.comm	_S_EXIT_PENDING,4,2             ## @S_EXIT_PENDING
	.comm	_IL_DL_FW_ERRORS,4,2            ## @IL_DL_FW_ERRORS
L_.str.1:                               ## @.str.1
	.asciz	"Restarting adapter due to uCode error.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_irq_handle_error            ; -- Begin function il_irq_handle_error
	.p2align	2
_il_irq_handle_error:                   ; @il_irq_handle_error
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _S_FW_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_FW_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x20, x19, #16
	mov	x1, x20
	bl	_set_bit
Lloh3:
	adrp	x8, _S_HCMD_ACTIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S_HCMD_ACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_clear_bit
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	ldr	w1, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IL_ERR
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, #0
	mov	w2, #0
	blr	x8
LBB0_2:
	add	x0, x19, #20
	bl	_wake_up
Lloh8:
	adrp	x8, _S_READY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _S_READY@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_clear_bit
Lloh11:
	adrp	x8, _S_EXIT_PENDING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _S_EXIT_PENDING@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	w0, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh14:
	adrp	x8, _IL_DL_FW_ERRORS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IL_DL_FW_ERRORS@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_IL_DBG
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.5:
	ldr	w0, [x19, #4]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_queue_work
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_S_FW_ERROR,4,2                 ; @S_FW_ERROR
	.comm	_S_HCMD_ACTIVE,4,2              ; @S_HCMD_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Loaded firmware version: %s\n"

	.comm	_S_READY,4,2                    ; @S_READY
	.comm	_S_EXIT_PENDING,4,2             ; @S_EXIT_PENDING
	.comm	_IL_DL_FW_ERRORS,4,2            ; @IL_DL_FW_ERRORS
l_.str.1:                               ; @.str.1
	.asciz	"Restarting adapter due to uCode error.\n"

.subsections_via_symbols
