	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __dsp_bootstrap
___dsp_bootstrap:                       ## @__dsp_bootstrap
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_SYS_GetArenaHi
	leaq	-128(%rax), %rdi
	movl	$2164260864, %esi               ## imm = 0x81000000
	movl	$128, %edx
	callq	_memcpy
	movq	__dsp_initcode@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$2164260864, %edi               ## imm = 0x81000000
	movl	$128, %edx
	callq	_memcpy
	movl	$2164260864, %edi               ## imm = 0x81000000
	movl	$128, %esi
	callq	_DCFlushRange
	movq	__dspReg@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movl	$67, 36(%rcx)
	movq	_DSPCR_DSPRESET@GOTPCREL(%rip), %r13
	movq	_DSPCR_DSPINT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r13), %eax
	movq	_DSPCR_ARINT@GOTPCREL(%rip), %r12
	orl	(%r12), %eax
	movq	_DSPCR_AIINT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movq	_DSPCR_HALT@GOTPCREL(%rip), %r14
	orl	(%r14), %eax
	movq	_DSPCR_RES@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, %eax
	movl	%eax, 20(%rcx)
	testl	%edx, %edx
	je	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_1
LBB0_2:
	movl	$0, (%rcx)
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rcx), %edi
	movl	$16, %esi
	movl	$16, %edx
	callq	__SHIFTL
	movq	(%r15), %rcx
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	$16777216, 32(%rcx)             ## imm = 0x1000000
	movl	$32, 40(%rcx)
	movl	(%r12), %eax
	testl	%eax, 20(%rcx)
	je	LBB0_5
## %bb.6:
	xorl	%eax, %eax
	callq	_gettick
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_gettick
	subl	%ebx, %eax
	cmpl	$2194, %eax                     ## imm = 0x892
	jl	LBB0_7
## %bb.8:
	movq	(%r15), %rax
	movq	$16777216, 32(%rax)             ## imm = 0x1000000
	movl	$32, 40(%rax)
	movl	20(%rax), %esi
	movl	(%r12), %edx
	testl	%esi, %edx
	je	LBB0_9
## %bb.10:
	movl	(%r13), %ecx
	movl	%ecx, %edi
	notl	%edi
	andl	%edi, %esi
	movl	%esi, 20(%rax)
	testl	$1024, %esi                     ## imm = 0x400
	jne	LBB0_11
## %bb.12:
	movl	(%r14), %ebx
	movl	%ebx, %edi
	notl	%edi
	andl	%edi, %esi
	movl	%esi, 20(%rax)
	testb	$-128, 9(%rax)
	jne	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_11
LBB0_14:
	orl	%edx, %ecx
	orl	%ebx, %ecx
	movq	_DSPCR_DSPINT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_DSPCR_AIINT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_DSPCR_RES@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, %ecx
	movl	%ecx, 20(%rax)
	testl	%edx, %edx
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_15
LBB0_16:
	xorl	%eax, %eax
	callq	_SYS_GetArenaHi
	leaq	-128(%rax), %rsi
	movl	$2164260864, %edi               ## imm = 0x81000000
	movl	$128, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__dsp_initcode,8,3              ## @_dsp_initcode
	.comm	__dspReg,8,3                    ## @_dspReg
	.comm	_DSPCR_DSPRESET,4,2             ## @DSPCR_DSPRESET
	.comm	_DSPCR_DSPINT,4,2               ## @DSPCR_DSPINT
	.comm	_DSPCR_ARINT,4,2                ## @DSPCR_ARINT
	.comm	_DSPCR_AIINT,4,2                ## @DSPCR_AIINT
	.comm	_DSPCR_HALT,4,2                 ## @DSPCR_HALT
	.comm	_DSPCR_RES,4,2                  ## @DSPCR_RES
	.no_dead_strip	___dsp_bootstrap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function __dsp_bootstrap
lCPI0_0:
	.long	16777216                        ; 0x1000000
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
___dsp_bootstrap:                       ; @__dsp_bootstrap
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	bl	_SYS_GetArenaHi
	sub	x0, x0, #128
	mov	w1, #-2130706432
	mov	w2, #128
	bl	_memcpy
Lloh0:
	adrp	x8, __dsp_initcode@GOTPAGE
Lloh1:
	ldr	x8, [x8, __dsp_initcode@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	w0, #-2130706432
	mov	w2, #128
	bl	_memcpy
	mov	w0, #-2130706432
	mov	w1, #128
	bl	_DCFlushRange
Lloh3:
	adrp	x25, __dspReg@GOTPAGE
Lloh4:
	ldr	x25, [x25, __dspReg@GOTPAGEOFF]
	ldr	x8, [x25]
	mov	w9, #67
	str	w9, [x8, #36]
Lloh5:
	adrp	x23, _DSPCR_DSPRESET@GOTPAGE
Lloh6:
	ldr	x23, [x23, _DSPCR_DSPRESET@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh7:
	adrp	x20, _DSPCR_DSPINT@GOTPAGE
Lloh8:
	ldr	x20, [x20, _DSPCR_DSPINT@GOTPAGEOFF]
	ldr	w10, [x20]
	orr	w9, w10, w9
Lloh9:
	adrp	x26, _DSPCR_ARINT@GOTPAGE
Lloh10:
	ldr	x26, [x26, _DSPCR_ARINT@GOTPAGEOFF]
	ldr	w10, [x26]
Lloh11:
	adrp	x21, _DSPCR_AIINT@GOTPAGE
Lloh12:
	ldr	x21, [x21, _DSPCR_AIINT@GOTPAGEOFF]
	orr	w9, w9, w10
	ldr	w10, [x21]
	orr	w9, w9, w10
Lloh13:
	adrp	x24, _DSPCR_HALT@GOTPAGE
Lloh14:
	ldr	x24, [x24, _DSPCR_HALT@GOTPAGEOFF]
	ldr	w10, [x24]
	orr	w9, w9, w10
Lloh15:
	adrp	x22, _DSPCR_RES@GOTPAGE
Lloh16:
	ldr	x22, [x22, _DSPCR_RES@GOTPAGEOFF]
	ldr	w10, [x22]
	orr	w9, w10, w9
	str	w9, [x8, #20]
	cbz	w10, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	b	LBB0_1
LBB0_2:
	str	wzr, [x8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x8, #8]
	mov	w1, #16
	mov	w2, #16
	bl	__SHIFTL
	ldr	x8, [x25]
	tbnz	w0, #31, LBB0_3
; %bb.4:
Lloh17:
	adrp	x9, lCPI0_0@PAGE
Lloh18:
	ldr	d8, [x9, lCPI0_0@PAGEOFF]
	str	d8, [x8, #32]
	mov	w9, #32
	str	w9, [x8, #40]
	ldr	w8, [x8, #20]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.5:
	bl	_gettick
	mov	x19, x0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	bl	_gettick
	sub	w8, w0, w19
	cmp	w8, #2194
	b.lt	LBB0_6
; %bb.7:
	ldr	x8, [x25]
	str	d8, [x8, #32]
	mov	w9, #32
	str	w9, [x8, #40]
	ldr	w11, [x8, #20]
	ldr	w9, [x26]
	tst	w9, w11
	b.eq	LBB0_12
; %bb.8:
	ldr	w10, [x23]
	bic	w12, w11, w10
	str	w12, [x8, #20]
	tbnz	w12, #10, LBB0_13
; %bb.9:
	ldr	w11, [x24]
	bic	w12, w12, w11
	str	w12, [x8, #20]
	ldrb	w12, [x8, #9]
	tbnz	w12, #7, LBB0_14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_10
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_11
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_12
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_13
LBB0_14:
	ldr	w12, [x20]
	ldr	w13, [x21]
	orr	w9, w10, w9
	orr	w9, w9, w11
	orr	w9, w9, w12
	orr	w9, w9, w13
	ldr	w10, [x22]
	orr	w9, w9, w10
	str	w9, [x8, #20]
	cbz	w10, LBB0_16
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_15
LBB0_16:
	bl	_SYS_GetArenaHi
	sub	x1, x0, #128
	mov	w0, #-2130706432
	mov	w2, #128
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	b	_memcpy
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	__dsp_initcode,8,3              ; @_dsp_initcode
	.comm	__dspReg,8,3                    ; @_dspReg
	.comm	_DSPCR_DSPRESET,4,2             ; @DSPCR_DSPRESET
	.comm	_DSPCR_DSPINT,4,2               ; @DSPCR_DSPINT
	.comm	_DSPCR_ARINT,4,2                ; @DSPCR_ARINT
	.comm	_DSPCR_AIINT,4,2                ; @DSPCR_AIINT
	.comm	_DSPCR_HALT,4,2                 ; @DSPCR_HALT
	.comm	_DSPCR_RES,4,2                  ; @DSPCR_RES
	.no_dead_strip	___dsp_bootstrap
.subsections_via_symbols
