	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __AIDHandler
___AIDHandler:                          ## @__AIDHandler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	__dspReg@GOTPCREL(%rip), %rax
	movq	_DSPCR_DSPINT@GOTPCREL(%rip), %rcx
	movq	_DSPCR_ARINT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	(%rax), %rax
	notl	%edx
	andl	20(%rax), %edx
	movq	_DSPCR_AIINT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%edx, 20(%rax)
	movq	___AIActive@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_5
## %bb.1:
	movl	$1, (%rbx)
	movq	___CallbackStack@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	___AID_Callback@GOTPCREL(%rip), %rdi
	callq	___AICallbackStackSwitch
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	callq	___AID_Callback
LBB0_4:
	movl	$0, (%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__dspReg,8,3                    ## @_dspReg
	.comm	_DSPCR_DSPINT,4,2               ## @DSPCR_DSPINT
	.comm	_DSPCR_ARINT,4,2                ## @DSPCR_ARINT
	.comm	_DSPCR_AIINT,4,2                ## @DSPCR_AIINT
	.comm	___AIActive,4,2                 ## @__AIActive
	.comm	___CallbackStack,8,3            ## @__CallbackStack
	.no_dead_strip	___AIDHandler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __AIDHandler
___AIDHandler:                          ; @__AIDHandler
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, __dspReg@GOTPAGE
Lloh1:
	ldr	x8, [x8, __dspReg@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x8, #20]
Lloh3:
	adrp	x10, _DSPCR_DSPINT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DSPCR_DSPINT@GOTPAGEOFF]
Lloh5:
	adrp	x11, _DSPCR_ARINT@GOTPAGE
Lloh6:
	ldr	x11, [x11, _DSPCR_ARINT@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
Lloh8:
	ldr	w11, [x11]
	orr	w10, w11, w10
	bic	w9, w9, w10
Lloh9:
	adrp	x10, _DSPCR_AIINT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _DSPCR_AIINT@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x8, #20]
Lloh12:
	adrp	x19, ___AIActive@GOTPAGE
Lloh13:
	ldr	x19, [x19, ___AIActive@GOTPAGEOFF]
	ldr	w8, [x19]
	cbnz	w8, LBB0_5
; %bb.1:
	mov	w8, #1
	str	w8, [x19]
Lloh14:
	adrp	x8, ___CallbackStack@GOTPAGE
Lloh15:
	ldr	x8, [x8, ___CallbackStack@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh17:
	adrp	x0, ___AID_Callback@GOTPAGE
Lloh18:
	ldr	x0, [x0, ___AID_Callback@GOTPAGEOFF]
	bl	___AICallbackStackSwitch
	b	LBB0_4
LBB0_3:
	bl	___AID_Callback
LBB0_4:
	str	wzr, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	__dspReg,8,3                    ; @_dspReg
	.comm	_DSPCR_DSPINT,4,2               ; @DSPCR_DSPINT
	.comm	_DSPCR_ARINT,4,2                ; @DSPCR_ARINT
	.comm	_DSPCR_AIINT,4,2                ; @DSPCR_AIINT
	.comm	___AIActive,4,2                 ; @__AIActive
	.comm	___CallbackStack,8,3            ; @__CallbackStack
	.no_dead_strip	___AIDHandler
.subsections_via_symbols
