	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lx_interrupt_ack
_lx_interrupt_ack:                      ## @lx_interrupt_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	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_lx_interrupt_test_ack
	movq	_PCX_IRQ_NONE@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpl	(%rdx), %eax
	je	LBB0_5
## %bb.1:
	movl	%eax, (%rbx)
	movq	_MASK_SYS_ASYNC_EVENTS@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_MASK_SYS_STATUS_ESA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %eax
	je	LBB0_3
## %bb.2:
	notl	%ecx
	andl	%ecx, %eax
	movl	$1, (%r15)
LBB0_3:
	movl	$1, %ecx
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	$1, (%r14)
LBB0_5:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCX_IRQ_NONE,4,2               ## @PCX_IRQ_NONE
	.comm	_MASK_SYS_ASYNC_EVENTS,4,2      ## @MASK_SYS_ASYNC_EVENTS
	.comm	_MASK_SYS_STATUS_ESA,4,2        ## @MASK_SYS_STATUS_ESA
	.no_dead_strip	_lx_interrupt_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_ack
_lx_interrupt_ack:                      ; @lx_interrupt_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	x20, x3
	mov	x19, x2
	mov	x21, x1
	bl	_lx_interrupt_test_ack
Lloh0:
	adrp	x8, _PCX_IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCX_IRQ_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_6
LBB0_2:
	str	w0, [x21]
Lloh3:
	adrp	x8, _MASK_SYS_ASYNC_EVENTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MASK_SYS_ASYNC_EVENTS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh6:
	adrp	x9, _MASK_SYS_STATUS_ESA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MASK_SYS_STATUS_ESA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_4
; %bb.3:
	bic	w8, w8, w9
	mov	w9, #1
	str	w9, [x20]
LBB0_4:
	mov	w0, #1
	cbz	w8, LBB0_6
; %bb.5:
	str	w0, [x19]
LBB0_6:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PCX_IRQ_NONE,4,2               ; @PCX_IRQ_NONE
	.comm	_MASK_SYS_ASYNC_EVENTS,4,2      ; @MASK_SYS_ASYNC_EVENTS
	.comm	_MASK_SYS_STATUS_ESA,4,2        ; @MASK_SYS_STATUS_ESA
	.no_dead_strip	_lx_interrupt_ack
.subsections_via_symbols
