	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_82xx_clear_legacy_intr
_qlcnic_82xx_clear_legacy_intr:         ## @qlcnic_82xx_clear_legacy_intr
	.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
	movl	(%rdi), %edi
	callq	_readl
	movq	16(%rbx), %rcx
	movq	_IRQ_NONE@GOTPCREL(%rip), %r14
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.1:
	movl	8(%rbx), %edi
	callq	_readl
	movl	%eax, %edi
	callq	_ISR_LEGACY_INT_TRIGGERED
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	4(%rbx), %esi
	movl	$-1, %edi
	callq	_writel
	movl	(%rbx), %edi
	callq	_readl
	movl	(%rbx), %edi
	callq	_readl
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r14
LBB0_3:
	movl	(%r14), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_qlcnic_82xx_clear_legacy_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_82xx_clear_legacy_intr
_qlcnic_82xx_clear_legacy_intr:         ; @qlcnic_82xx_clear_legacy_intr
	.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
	ldr	w0, [x0]
	bl	_readl
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
	ldr	w0, [x19, #8]
	bl	_readl
	bl	_ISR_LEGACY_INT_TRIGGERED
	cbz	w0, LBB0_3
; %bb.2:
	ldr	w1, [x19, #4]
	mov	w0, #-1
	bl	_writel
	ldr	w0, [x19]
	bl	_readl
	ldr	w0, [x19]
	bl	_readl
Lloh0:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_qlcnic_82xx_clear_legacy_intr
.subsections_via_symbols
