	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lx_interrupt_test_ack
_lx_interrupt_test_ack:                 ## @lx_interrupt_test_ack
	.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, %r14
	movq	_ePLX_IRQCS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_lx_plx_reg_read
	movq	_IRQCS_ACTIVE_PCIDB@GOTPCREL(%rip), %rcx
	movq	_PCX_IRQ_NONE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.1:
	movq	_ePLX_L2PCIDB@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_lx_plx_reg_read
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	orl	%eax, %ebx
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_lx_plx_reg_write
	jmp	LBB0_3
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ePLX_IRQCS,4,2                 ## @ePLX_IRQCS
	.comm	_IRQCS_ACTIVE_PCIDB,4,2         ## @IRQCS_ACTIVE_PCIDB
	.comm	_PCX_IRQ_NONE,4,2               ## @PCX_IRQ_NONE
	.comm	_ePLX_L2PCIDB,4,2               ## @ePLX_L2PCIDB
	.no_dead_strip	_lx_interrupt_test_ack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lx_interrupt_test_ack
_lx_interrupt_test_ack:                 ; @lx_interrupt_test_ack
	.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	x8, _ePLX_IRQCS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ePLX_IRQCS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_lx_plx_reg_read
Lloh3:
	adrp	x8, _IRQCS_ACTIVE_PCIDB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQCS_ACTIVE_PCIDB@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _PCX_IRQ_NONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PCX_IRQ_NONE@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x9]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.1:
Lloh9:
	adrp	x21, _ePLX_L2PCIDB@GOTPAGE
Lloh10:
	ldr	x21, [x21, _ePLX_L2PCIDB@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_lx_plx_reg_read
	cbz	w0, LBB0_4
; %bb.2:
	mov	x2, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	orr	w20, w2, w20
	ldr	w1, [x21]
	mov	x0, x19
	bl	_lx_plx_reg_write
	ldr	w1, [x21]
	mov	x0, x19
	bl	_lx_plx_reg_read
	mov	x2, x0
	cbnz	w0, LBB0_3
LBB0_4:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ePLX_IRQCS,4,2                 ; @ePLX_IRQCS
	.comm	_IRQCS_ACTIVE_PCIDB,4,2         ; @IRQCS_ACTIVE_PCIDB
	.comm	_PCX_IRQ_NONE,4,2               ; @PCX_IRQ_NONE
	.comm	_ePLX_L2PCIDB,4,2               ; @ePLX_L2PCIDB
	.no_dead_strip	_lx_interrupt_test_ack
.subsections_via_symbols
