	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menelaus_ack_irq
_menelaus_ack_irq:                      ## @menelaus_ack_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	leal	-8(%rdi), %ecx
	cmpl	$8, %edi
	movq	_MENELAUS_INT_ACK1@GOTPCREL(%rip), %rax
	cmovgeq	_MENELAUS_INT_ACK2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movzbl	%cl, %ecx
	cmovll	%edi, %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	movl	%eax, %edi
	popq	%rbp
	jmp	_menelaus_write_reg             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MENELAUS_INT_ACK2,4,2          ## @MENELAUS_INT_ACK2
	.comm	_MENELAUS_INT_ACK1,4,2          ## @MENELAUS_INT_ACK1
	.no_dead_strip	_menelaus_ack_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menelaus_ack_irq
_menelaus_ack_irq:                      ; @menelaus_ack_irq
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MENELAUS_INT_ACK1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MENELAUS_INT_ACK1@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MENELAUS_INT_ACK2@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MENELAUS_INT_ACK2@GOTPAGEOFF]
	sub	w10, w0, #8
	cmp	w0, #7
	csel	w10, w10, w0, gt
	csel	x8, x9, x8, gt
	ldr	w0, [x8]
	mov	w8, #1
	lsl	w1, w8, w10
	b	_menelaus_write_reg
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MENELAUS_INT_ACK2,4,2          ; @MENELAUS_INT_ACK2
	.comm	_MENELAUS_INT_ACK1,4,2          ; @MENELAUS_INT_ACK1
	.no_dead_strip	_menelaus_ack_irq
.subsections_via_symbols
