	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcxhr_load_dsp_binary          ## -- Begin function pcxhr_load_dsp_binary
	.p2align	4, 0x90
_pcxhr_load_dsp_binary:                 ## @pcxhr_load_dsp_binary
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_PCXHR_IT_RESET_BOARD_FUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_pcxhr_send_it_dsp
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	_PCXHR_IT_DOWNLOAD_DSP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_pcxhr_send_it_dsp
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_pcxhr_download_dsp
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_PCXHR_DSP_ISR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PCXHR_ISR_HI08_CHK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PCXHR_TIMEOUT_DSP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-17(%rbp), %r9
	movq	%rbx, %rdi
	movl	%ecx, %edx
	callq	_pcxhr_check_reg_bit
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCXHR_IT_RESET_BOARD_FUNC,4,2  ## @PCXHR_IT_RESET_BOARD_FUNC
	.comm	_PCXHR_IT_DOWNLOAD_DSP,4,2      ## @PCXHR_IT_DOWNLOAD_DSP
	.comm	_PCXHR_DSP_ISR,4,2              ## @PCXHR_DSP_ISR
	.comm	_PCXHR_ISR_HI08_CHK,4,2         ## @PCXHR_ISR_HI08_CHK
	.comm	_PCXHR_TIMEOUT_DSP,4,2          ## @PCXHR_TIMEOUT_DSP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcxhr_load_dsp_binary          ; -- Begin function pcxhr_load_dsp_binary
	.p2align	2
_pcxhr_load_dsp_binary:                 ; @pcxhr_load_dsp_binary
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PCXHR_IT_RESET_BOARD_FUNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCXHR_IT_RESET_BOARD_FUNC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_pcxhr_send_it_dsp
	cbnz	w0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _PCXHR_IT_DOWNLOAD_DSP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCXHR_IT_DOWNLOAD_DSP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_pcxhr_send_it_dsp
	cbnz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_pcxhr_download_dsp
	cbnz	w0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _PCXHR_DSP_ISR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCXHR_DSP_ISR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _PCXHR_ISR_HI08_CHK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PCXHR_ISR_HI08_CHK@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _PCXHR_TIMEOUT_DSP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PCXHR_TIMEOUT_DSP@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	add	x5, sp, #15
	mov	x0, x19
	mov	x3, x2
	bl	_pcxhr_check_reg_bit
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PCXHR_IT_RESET_BOARD_FUNC,4,2  ; @PCXHR_IT_RESET_BOARD_FUNC
	.comm	_PCXHR_IT_DOWNLOAD_DSP,4,2      ; @PCXHR_IT_DOWNLOAD_DSP
	.comm	_PCXHR_DSP_ISR,4,2              ; @PCXHR_DSP_ISR
	.comm	_PCXHR_ISR_HI08_CHK,4,2         ; @PCXHR_ISR_HI08_CHK
	.comm	_PCXHR_TIMEOUT_DSP,4,2          ; @PCXHR_TIMEOUT_DSP
.subsections_via_symbols
