	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __exi_clearirqs
___exi_clearirqs:                       ## @__exi_clearirqs
	.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
	movq	__exiReg@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	leal	(%rdi,%rdi,4), %edi
	movslq	%edi, %r9
	movq	_EXI_EXI_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_EXI_TC_IRQ@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	movl	%edi, %r11d
	orl	%r10d, %r11d
	movq	_EXI_EXT_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, %r11d
	notl	%r11d
	andl	(%r8,%r9,4), %r11d
	testl	%esi, %esi
	cmovel	%esi, %r10d
	testl	%edx, %edx
	cmovel	%edx, %edi
	testl	%ecx, %ecx
	cmovel	%ecx, %eax
	orl	%r10d, %edi
	orl	%eax, %edi
	orl	%r11d, %edi
	movl	%edi, (%r8,%r9,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__exiReg,8,3                    ## @_exiReg
	.comm	_EXI_EXI_IRQ,4,2                ## @EXI_EXI_IRQ
	.comm	_EXI_TC_IRQ,4,2                 ## @EXI_TC_IRQ
	.comm	_EXI_EXT_IRQ,4,2                ## @EXI_EXT_IRQ
	.no_dead_strip	___exi_clearirqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __exi_clearirqs
___exi_clearirqs:                       ; @__exi_clearirqs
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, __exiReg@GOTPAGE
Lloh1:
	ldr	x8, [x8, __exiReg@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	w9, w0, w0, lsl #2
	sbfiz	x9, x9, #2, #32
	ldr	w10, [x8, x9]
Lloh3:
	adrp	x11, _EXI_EXI_IRQ@GOTPAGE
Lloh4:
	ldr	x11, [x11, _EXI_EXI_IRQ@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
Lloh6:
	adrp	x12, _EXI_TC_IRQ@GOTPAGE
Lloh7:
	ldr	x12, [x12, _EXI_TC_IRQ@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x12]
	orr	w13, w12, w11
Lloh9:
	adrp	x14, _EXI_EXT_IRQ@GOTPAGE
Lloh10:
	ldr	x14, [x14, _EXI_EXT_IRQ@GOTPAGEOFF]
Lloh11:
	ldr	w14, [x14]
	orr	w13, w13, w14
	bic	w10, w10, w13
	cmp	w1, #0
	csel	w11, wzr, w11, eq
	cmp	w2, #0
	csel	w12, wzr, w12, eq
	cmp	w3, #0
	csel	w13, wzr, w14, eq
	orr	w11, w12, w11
	orr	w11, w11, w13
	orr	w10, w11, w10
	str	w10, [x8, x9]
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__exiReg,8,3                    ; @_exiReg
	.comm	_EXI_EXI_IRQ,4,2                ; @EXI_EXI_IRQ
	.comm	_EXI_TC_IRQ,4,2                 ; @EXI_TC_IRQ
	.comm	_EXI_EXT_IRQ,4,2                ; @EXI_EXT_IRQ
	.no_dead_strip	___exi_clearirqs
.subsections_via_symbols
