	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EXI_Sync                       ## -- Begin function EXI_Sync
	.p2align	4, 0x90
_EXI_Sync:                              ## @EXI_Sync
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	__exiReg@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	leaq	(%rdi,%rdi,4), %r15
	testb	$1, 12(%rax,%r15,4)
	jne	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movq	_eximap@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	callq	__CPU_ISR_Disable
	leaq	(%rbx,%rbx,2), %rax
	movl	(%r12,%rax,8), %r11d
	movq	_EXI_FLAG_SELECT@GOTPCREL(%rip), %rcx
	testl	%r11d, (%rcx)
	je	LBB0_10
## %bb.2:
	movq	_EXI_FLAG_DMA@GOTPCREL(%rip), %rdx
	movq	_EXI_FLAG_IMM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rdx), %r9d
	orl	%ecx, %r9d
	testl	%r11d, %r9d
	je	LBB0_10
## %bb.3:
	leaq	(%r12,%rax,8), %r8
	testl	%r11d, %ecx
	je	LBB0_15
## %bb.4:
	movq	16(%r12,%rax,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.5:
	movq	8(%r12,%rax,8), %r10
	testq	%r10, %r10
	jle	LBB0_15
## %bb.6:
	movq	(%r14), %rax
	movslq	16(%rax,%r15,4), %rdx
	cmpq	$1, %r10
	jne	LBB0_11
## %bb.7:
	xorl	%esi, %esi
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_8
LBB0_10:
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_11:
	movq	%r10, %r14
	andq	$-2, %r14
	movl	$16, %eax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	leal	8(%rax), %ecx
	movq	%rdx, %rdi
                                        ## kill: def $cl killed $cl killed $ecx
	sarq	%cl, %rdi
	movzbl	%dil, %ecx
	movq	%rcx, (%rbx,%rsi,8)
	movq	%rdx, %rdi
	movl	%eax, %ecx
	sarq	%cl, %rdi
	movzbl	%dil, %ecx
	movq	%rcx, 8(%rbx,%rsi,8)
	addq	$2, %rsi
	addq	$-16, %rax
	cmpq	%rsi, %r14
	jne	LBB0_12
LBB0_13:
	testb	$1, %r10b
	je	LBB0_15
## %bb.14:
	leal	(,%rsi,8), %eax
	movb	$24, %cl
	subb	%al, %cl
	sarq	%cl, %rdx
	movzbl	%dl, %eax
	movq	%rax, (%rbx,%rsi,8)
LBB0_15:
	notl	%r9d
	andl	%r9d, %r11d
	movl	%r11d, (%r8)
	movl	$1, %ebx
LBB0_16:
	callq	__CPU_ISR_Restore
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eximap,8,3                     ## @eximap
	.comm	__exiReg,8,3                    ## @_exiReg
	.comm	_EXI_FLAG_SELECT,4,2            ## @EXI_FLAG_SELECT
	.comm	_EXI_FLAG_DMA,4,2               ## @EXI_FLAG_DMA
	.comm	_EXI_FLAG_IMM,4,2               ## @EXI_FLAG_IMM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EXI_Sync                       ; -- Begin function EXI_Sync
	.p2align	2
_EXI_Sync:                              ; @EXI_Sync
	.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
Lloh0:
	adrp	x20, __exiReg@GOTPAGE
Lloh1:
	ldr	x20, [x20, __exiReg@GOTPAGEOFF]
	ldr	x8, [x20]
	add	x21, x0, x0, lsl #2
	add	x8, x8, x21, lsl #2
	ldr	w8, [x8, #12]
	tbnz	w8, #0, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x8, _eximap@GOTPAGE
Lloh3:
	ldr	x8, [x8, _eximap@GOTPAGEOFF]
Lloh4:
	ldr	x22, [x8]
	bl	__CPU_ISR_Disable
	mov	w8, #24
	madd	x8, x19, x8, x22
	ldr	w9, [x8]
Lloh5:
	adrp	x10, _EXI_FLAG_SELECT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _EXI_FLAG_SELECT@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.2:
Lloh8:
	adrp	x10, _EXI_FLAG_DMA@GOTPAGE
Lloh9:
	ldr	x10, [x10, _EXI_FLAG_DMA@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
Lloh11:
	adrp	x11, _EXI_FLAG_IMM@GOTPAGE
Lloh12:
	ldr	x11, [x11, _EXI_FLAG_IMM@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	orr	w10, w11, w10
	tst	w10, w9
	b.eq	LBB0_8
; %bb.3:
	tst	w11, w9
	b.eq	LBB0_14
; %bb.4:
	mov	w11, #24
	madd	x11, x19, x11, x22
	ldp	x13, x12, [x11, #8]
	cmp	x12, #0
	ccmp	x13, #1, #8, ne
	b.lt	LBB0_14
; %bb.5:
	ldr	x11, [x20]
	add	x11, x11, x21, lsl #2
	ldrsw	x11, [x11, #16]
	cmp	x13, #4
	b.hs	LBB0_9
; %bb.6:
	mov	x14, #0
	b	LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	b	LBB0_7
LBB0_8:
	mov	x19, #0
	b	LBB0_15
LBB0_9:
	mov	x15, #0
	and	x14, x13, #0xfffffffffffffffc
	add	x16, x12, #16
	mov	x17, x14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x0, x15, #24
	add	x1, x15, #16
	add	x2, x15, #8
	asr	x0, x11, x0
	asr	x1, x11, x1
	asr	x2, x11, x2
	asr	x3, x11, x15
	and	x0, x0, #0xff
	and	x1, x1, #0xff
	and	x2, x2, #0xff
	stp	x0, x1, [x16, #-16]
	and	x0, x3, #0xff
	stp	x2, x0, [x16], #32
	sub	x15, x15, #32
	subs	x17, x17, #4
	b.ne	LBB0_10
; %bb.11:
	cmp	x13, x14
	b.eq	LBB0_14
LBB0_12:
	sub	x13, x13, x14
	lsl	x14, x14, #3
	add	x12, x12, x14
	mov	w15, #24
	sub	x14, x15, x14
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	asr	x15, x11, x14
	and	x15, x15, #0xff
	str	x15, [x12], #8
	sub	x14, x14, #8
	sub	x13, x13, #1
	cbnz	x13, LBB0_13
LBB0_14:
	bic	w9, w9, w10
	str	w9, [x8]
	mov	w19, #1
LBB0_15:
	bl	__CPU_ISR_Restore
	mov	x0, x19
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_eximap,8,3                     ; @eximap
	.comm	__exiReg,8,3                    ; @_exiReg
	.comm	_EXI_FLAG_SELECT,4,2            ; @EXI_FLAG_SELECT
	.comm	_EXI_FLAG_DMA,4,2               ; @EXI_FLAG_DMA
	.comm	_EXI_FLAG_IMM,4,2               ; @EXI_FLAG_IMM
.subsections_via_symbols
