	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_dsp
_load_dsp:                              ## @load_dsp
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	%rsi, (%rdi)
	je	LBB0_1
## %bb.3:
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rdi)
	movq	$0, (%rdi)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rdi)
	leaq	L_.str.1(%rip), %rdi
	callq	_DE_INIT
	movq	_DSP_VC_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_send_vector
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	movl	$10, %edi
	callq	_udelay
	movl	$1000, %ebx                     ## imm = 0x3E8
	movq	_CHI32_STATUS_REG@GOTPCREL(%rip), %r12
	movq	_CHI32_STATUS_REG_HF3@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_get_dsp_register
	testl	%eax, (%r15)
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$10, %edi
	callq	_udelay
	decl	%ebx
	jne	LBB0_6
## %bb.8:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_36
LBB0_1:
	leaq	L_.str(%rip), %rdi
LBB0_2:
	callq	_DE_INIT
	xorl	%r15d, %r15d
	jmp	LBB0_38
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_36
LBB0_9:
	movq	_CHI32_CONTROL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_get_dsp_register
	orl	$2304, %eax                     ## imm = 0x900
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_set_dsp_register
	movslq	(%r13), %r12
	cmpl	$4, 4(%r13,%r12,4)
	jne	LBB0_10
LBB0_23:
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_write_dsp
	testq	%rax, %rax
	js	LBB0_24
## %bb.25:
	movl	$10, %edi
	callq	_udelay
	movl	$5000, %ebx                     ## imm = 0x1388
	movq	_CHI32_STATUS_REG_HF4@GOTPCREL(%rip), %r15
	movq	_FALSE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	_CHI32_STATUS_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_get_dsp_register
	testl	%eax, (%r15)
	jne	LBB0_27
## %bb.34:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	$100, %edi
	callq	_udelay
	decl	%ebx
	jne	LBB0_26
## %bb.35:
	leaq	L_.str.13(%rip), %rdi
	jmp	LBB0_36
LBB0_10:
	leaq	4(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	movslq	%r12d, %rax
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	cmpl	$4, 4(%r13,%rax,4)
	je	LBB0_23
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
	movslq	%r12d, %rax
	movl	12(%r13,%rax,4), %r15d
	testq	%r15, %r15
	je	LBB0_23
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	8(%r13,%rax,4), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rcx
	movl	16(%r13,%rax,4), %r13d
	movl	20(%rcx,%rax,4), %ebx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_write_dsp
	testq	%rax, %rax
	js	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	shll	$16, %r13d
	addl	%ebx, %r13d
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_write_dsp
	testq	%rax, %rax
	js	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_write_dsp
	testq	%rax, %rax
	js	LBB0_39
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=1
	addl	$6, %r12d
	testl	%r15d, %r15d
	jle	LBB0_12
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=1
	movslq	%r12d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-4(%r13,%rbx,8), %esi
	shll	$16, %esi
	addl	(%r13,%rbx,8), %esi
	movq	%r14, %rdi
	callq	_write_dsp
	testq	%rax, %rax
	js	LBB0_22
## %bb.11:                              ##   in Loop: Header=BB0_21 Depth=2
	incq	%rbx
	addl	$2, %r12d
	cmpl	%ebx, %r15d
	jne	LBB0_21
	jmp	LBB0_12
LBB0_22:
	leaq	L_.str.7(%rip), %rdi
LBB0_36:
	callq	_DE_INIT
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
LBB0_37:
	subl	(%rax), %r15d
LBB0_38:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	leaq	L_.str.8(%rip), %rdi
	callq	_DE_INIT
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_27:
	movq	_CHI32_CONTROL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_get_dsp_register
	andl	$-6913, %eax                    ## imm = 0xE4FF
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_set_dsp_register
	movq	_DSP_FNC_SET_COMMPAGE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_write_dsp
	testq	%rax, %rax
	js	LBB0_28
## %bb.29:
	movl	8(%r14), %esi
	movq	%r14, %rdi
	callq	_write_dsp
	testq	%rax, %rax
	js	LBB0_30
## %bb.31:
	movq	%r14, %rdi
	callq	_read_sn
	testq	%rax, %rax
	js	LBB0_32
## %bb.33:
	movq	%r13, (%r14)
	movq	(%r12), %rax
	movq	%rax, 16(%r14)
	leaq	L_.str.12(%rip), %rdi
	jmp	LBB0_2
LBB0_28:
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_36
LBB0_30:
	leaq	L_.str.10(%rip), %rdi
	jmp	LBB0_36
LBB0_15:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_36
LBB0_17:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_36
LBB0_39:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_36
LBB0_32:
	leaq	L_.str.11(%rip), %rdi
	jmp	LBB0_36
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DSP is already loaded!\n"

	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,8,3                      ## @FALSE
L_.str.1:                               ## @.str.1
	.asciz	"load_dsp: Set bad_board to TRUE\n"

	.comm	_DSP_VC_RESET,4,2               ## @DSP_VC_RESET
L_.str.2:                               ## @.str.2
	.asciz	"LoadDsp: send_vector DSP_VC_RESET failed, Critical Failure\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_CHI32_STATUS_REG,4,2           ## @CHI32_STATUS_REG
	.comm	_CHI32_STATUS_REG_HF3,4,2       ## @CHI32_STATUS_REG_HF3
L_.str.3:                               ## @.str.3
	.asciz	"load_dsp: Timeout waiting for CHI32_STATUS_REG_HF3\n"

	.comm	_CHI32_CONTROL_REG,4,2          ## @CHI32_CONTROL_REG
L_.str.4:                               ## @.str.4
	.asciz	"load_dsp: failed to write number of DSP words\n"

L_.str.5:                               ## @.str.5
	.asciz	"load_dsp: failed to write DSP address\n"

L_.str.6:                               ## @.str.6
	.asciz	"load_dsp: failed to write DSP memory type\n"

L_.str.7:                               ## @.str.7
	.asciz	"load_dsp: failed to write DSP data\n"

L_.str.8:                               ## @.str.8
	.asciz	"load_dsp: Failed to write final zero\n"

	.comm	_CHI32_STATUS_REG_HF4,4,2       ## @CHI32_STATUS_REG_HF4
	.comm	_DSP_FNC_SET_COMMPAGE_ADDR,4,2  ## @DSP_FNC_SET_COMMPAGE_ADDR
L_.str.9:                               ## @.str.9
	.asciz	"load_dsp: Failed to write DSP_FNC_SET_COMMPAGE_ADDR\n"

L_.str.10:                              ## @.str.10
	.asciz	"load_dsp: Failed to write comm page address\n"

L_.str.11:                              ## @.str.11
	.asciz	"load_dsp: Failed to read serial number\n"

L_.str.12:                              ## @.str.12
	.asciz	"load_dsp: OK!\n"

L_.str.13:                              ## @.str.13
	.asciz	"load_dsp: DSP load timed out waiting for HF4\n"

	.no_dead_strip	_load_dsp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_dsp
_load_dsp:                              ; @load_dsp
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x0]
	cmp	x8, x1
	b.eq	LBB0_6
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	xzr, [x0]
Lloh3:
	adrp	x23, _FALSE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
	ldr	x9, [x23]
	stp	x8, x9, [x0, #16]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DE_INIT
Lloh7:
	adrp	x8, _DSP_VC_RESET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DSP_VC_RESET@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_send_vector
	tbnz	x0, #63, LBB0_8
; %bb.2:
	mov	w0, #10
	bl	_udelay
	mov	w21, #1000
Lloh10:
	adrp	x24, _CHI32_STATUS_REG@GOTPAGE
Lloh11:
	ldr	x24, [x24, _CHI32_STATUS_REG@GOTPAGEOFF]
Lloh12:
	adrp	x22, _CHI32_STATUS_REG_HF3@GOTPAGE
Lloh13:
	ldr	x22, [x22, _CHI32_STATUS_REG_HF3@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	mov	x0, x19
	bl	_get_dsp_register
	ldr	w8, [x22]
	tst	w8, w0
	b.ne	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #10
	bl	_udelay
	subs	w21, w21, #1
	b.ne	LBB0_3
; %bb.5:
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_37
LBB0_6:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
LBB0_7:
	bl	_DE_INIT
	mov	w0, #0
	b	LBB0_38
LBB0_8:
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_37
LBB0_9:
Lloh20:
	adrp	x8, _CHI32_CONTROL_REG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CHI32_CONTROL_REG@GOTPAGEOFF]
Lloh22:
	ldr	w21, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_get_dsp_register
	mov	w8, #2304
	orr	w2, w0, w8
	mov	x0, x19
	mov	x1, x21
	bl	_set_dsp_register
	ldr	w22, [x20]
	add	w8, w22, #1
	ldr	w8, [x20, w8, sxtw #2]
	cmp	w8, #4
	b.ne	LBB0_15
LBB0_10:
	mov	x0, x19
	mov	w1, #0
	bl	_write_dsp
	tbnz	x0, #63, LBB0_26
; %bb.11:
	mov	w0, #10
	bl	_udelay
	mov	w21, #5000
Lloh23:
	adrp	x22, _CHI32_STATUS_REG_HF4@GOTPAGE
Lloh24:
	ldr	x22, [x22, _CHI32_STATUS_REG_HF4@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	mov	x0, x19
	bl	_get_dsp_register
	ldr	w8, [x22]
	tst	w8, w0
	b.ne	LBB0_27
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w0, #100
	bl	_udelay
	subs	w21, w21, #1
	b.ne	LBB0_12
; %bb.14:
Lloh25:
	adrp	x0, l_.str.13@PAGE
Lloh26:
	add	x0, x0, l_.str.13@PAGEOFF
	b	LBB0_37
LBB0_15:
	add	x26, x20, #4
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	w8, w22, #1
	ldr	w8, [x20, w8, sxtw #2]
	cmp	w8, #4
	b.eq	LBB0_10
LBB0_17:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
	add	x8, x20, w22, sxtw #2
	ldr	w21, [x8, #12]
	cbz	w21, LBB0_10
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	sxtw	x27, w22
	ldr	w22, [x8, #8]
	add	x8, x20, x27, lsl #2
	ldp	w28, w25, [x8, #16]
	mov	x0, x19
	mov	x1, x21
	bl	_write_dsp
	tbnz	x0, #63, LBB0_33
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	add	w1, w25, w28, lsl #16
	mov	x0, x19
	bl	_write_dsp
	tbnz	x0, #63, LBB0_34
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_write_dsp
	tbnz	x0, #63, LBB0_35
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=1
	add	w22, w27, #6
	cmp	w21, #1
	b.lt	LBB0_16
; %bb.22:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x27, x26, w22, sxtw #2
LBB0_23:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	w8, w9, [x27, #-4]
	add	w1, w9, w8, lsl #16
	mov	x0, x19
	bl	_write_dsp
	tbnz	x0, #63, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	add	x27, x27, #8
	add	w22, w22, #2
	subs	w21, w21, #1
	b.ne	LBB0_23
	b	LBB0_16
LBB0_25:
Lloh27:
	adrp	x0, l_.str.7@PAGE
Lloh28:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_37
LBB0_26:
Lloh29:
	adrp	x0, l_.str.8@PAGE
Lloh30:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_37
LBB0_27:
Lloh31:
	adrp	x8, _CHI32_CONTROL_REG@GOTPAGE
Lloh32:
	ldr	x8, [x8, _CHI32_CONTROL_REG@GOTPAGEOFF]
Lloh33:
	ldr	w21, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_get_dsp_register
	mov	w8, #-6913
	and	w2, w0, w8
	mov	x0, x19
	mov	x1, x21
	bl	_set_dsp_register
Lloh34:
	adrp	x8, _DSP_FNC_SET_COMMPAGE_ADDR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _DSP_FNC_SET_COMMPAGE_ADDR@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_write_dsp
	tbnz	x0, #63, LBB0_31
; %bb.28:
	ldr	w1, [x19, #8]
	mov	x0, x19
	bl	_write_dsp
	tbnz	x0, #63, LBB0_32
; %bb.29:
	mov	x0, x19
	bl	_read_sn
	tbnz	x0, #63, LBB0_36
; %bb.30:
	str	x20, [x19]
	ldr	x8, [x23]
	str	x8, [x19, #16]
Lloh37:
	adrp	x0, l_.str.12@PAGE
Lloh38:
	add	x0, x0, l_.str.12@PAGEOFF
	b	LBB0_7
LBB0_31:
Lloh39:
	adrp	x0, l_.str.9@PAGE
Lloh40:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_37
LBB0_32:
Lloh41:
	adrp	x0, l_.str.10@PAGE
Lloh42:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_37
LBB0_33:
Lloh43:
	adrp	x0, l_.str.4@PAGE
Lloh44:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_37
LBB0_34:
Lloh45:
	adrp	x0, l_.str.5@PAGE
Lloh46:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_37
LBB0_35:
Lloh47:
	adrp	x0, l_.str.6@PAGE
Lloh48:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_37
LBB0_36:
Lloh49:
	adrp	x0, l_.str.11@PAGE
Lloh50:
	add	x0, x0, l_.str.11@PAGEOFF
LBB0_37:
	bl	_DE_INIT
Lloh51:
	adrp	x8, _EIO@GOTPAGE
Lloh52:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_38:
	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	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DSP is already loaded!\n"

	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,8,3                      ; @FALSE
l_.str.1:                               ; @.str.1
	.asciz	"load_dsp: Set bad_board to TRUE\n"

	.comm	_DSP_VC_RESET,4,2               ; @DSP_VC_RESET
l_.str.2:                               ; @.str.2
	.asciz	"LoadDsp: send_vector DSP_VC_RESET failed, Critical Failure\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_CHI32_STATUS_REG,4,2           ; @CHI32_STATUS_REG
	.comm	_CHI32_STATUS_REG_HF3,4,2       ; @CHI32_STATUS_REG_HF3
l_.str.3:                               ; @.str.3
	.asciz	"load_dsp: Timeout waiting for CHI32_STATUS_REG_HF3\n"

	.comm	_CHI32_CONTROL_REG,4,2          ; @CHI32_CONTROL_REG
l_.str.4:                               ; @.str.4
	.asciz	"load_dsp: failed to write number of DSP words\n"

l_.str.5:                               ; @.str.5
	.asciz	"load_dsp: failed to write DSP address\n"

l_.str.6:                               ; @.str.6
	.asciz	"load_dsp: failed to write DSP memory type\n"

l_.str.7:                               ; @.str.7
	.asciz	"load_dsp: failed to write DSP data\n"

l_.str.8:                               ; @.str.8
	.asciz	"load_dsp: Failed to write final zero\n"

	.comm	_CHI32_STATUS_REG_HF4,4,2       ; @CHI32_STATUS_REG_HF4
	.comm	_DSP_FNC_SET_COMMPAGE_ADDR,4,2  ; @DSP_FNC_SET_COMMPAGE_ADDR
l_.str.9:                               ; @.str.9
	.asciz	"load_dsp: Failed to write DSP_FNC_SET_COMMPAGE_ADDR\n"

l_.str.10:                              ; @.str.10
	.asciz	"load_dsp: Failed to write comm page address\n"

l_.str.11:                              ; @.str.11
	.asciz	"load_dsp: Failed to read serial number\n"

l_.str.12:                              ; @.str.12
	.asciz	"load_dsp: OK!\n"

l_.str.13:                              ; @.str.13
	.asciz	"load_dsp: DSP load timed out waiting for HF4\n"

	.no_dead_strip	_load_dsp
.subsections_via_symbols
