	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcxhr_load_boot_binary         ## -- Begin function pcxhr_load_boot_binary
	.p2align	4, 0x90
_pcxhr_load_boot_binary:                ## @pcxhr_load_boot_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	%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
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdi), %ebx
	movzbl	%bl, %edi
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_2:
	movq	_PCXHR_PLX_MBOX1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shrl	$8, %ebx
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_PCXHR_OUTPL
	movq	_PCXHR_IT_DOWNLOAD_BOOT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_pcxhr_send_it_dsp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	_PCXHR_PLX_MBOX0@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_PCXHR_INPL
	movq	_PCXHR_MBOX0_HF5@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_PCXHR_OUTPL
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pcxhr_download_dsp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	(%r12), %esi
	movl	(%r13), %ecx
	movq	_PCXHR_TIMEOUT_DSP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-41(%rbp), %r9
	movq	%r15, %rdi
	movl	%ecx, %edx
	callq	_pcxhr_check_reg_bit
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PCXHR_PLX_MBOX1,4,2            ## @PCXHR_PLX_MBOX1
	.comm	_PCXHR_IT_DOWNLOAD_BOOT,4,2     ## @PCXHR_IT_DOWNLOAD_BOOT
	.comm	_PCXHR_PLX_MBOX0,4,2            ## @PCXHR_PLX_MBOX0
	.comm	_PCXHR_MBOX0_HF5,4,2            ## @PCXHR_MBOX0_HF5
	.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_boot_binary         ; -- Begin function pcxhr_load_boot_binary
	.p2align	2
_pcxhr_load_boot_binary:                ; @pcxhr_load_boot_binary
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w21, [x0]
	and	w0, w21, #0xff
	bl	_snd_BUG_ON
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _PCXHR_PLX_MBOX1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCXHR_PLX_MBOX1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	lsr	w2, w21, #8
	mov	x0, x19
	bl	_PCXHR_OUTPL
Lloh6:
	adrp	x8, _PCXHR_IT_DOWNLOAD_BOOT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCXHR_IT_DOWNLOAD_BOOT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_pcxhr_send_it_dsp
	cbnz	w0, LBB0_5
; %bb.3:
Lloh9:
	adrp	x22, _PCXHR_PLX_MBOX0@GOTPAGE
Lloh10:
	ldr	x22, [x22, _PCXHR_PLX_MBOX0@GOTPAGEOFF]
	ldr	w21, [x22]
	mov	x0, x19
	mov	x1, x21
	bl	_PCXHR_INPL
Lloh11:
	adrp	x23, _PCXHR_MBOX0_HF5@GOTPAGE
Lloh12:
	ldr	x23, [x23, _PCXHR_MBOX0_HF5@GOTPAGEOFF]
	ldr	w8, [x23]
	bic	w2, w0, w8
	mov	x0, x19
	mov	x1, x21
	bl	_PCXHR_OUTPL
	mov	x0, x19
	mov	x1, x20
	bl	_pcxhr_download_dsp
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w1, [x22]
	ldr	w2, [x23]
Lloh13:
	adrp	x8, _PCXHR_TIMEOUT_DSP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PCXHR_TIMEOUT_DSP@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x8]
	add	x5, sp, #15
	mov	x0, x19
	mov	x3, x2
	bl	_pcxhr_check_reg_bit
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PCXHR_PLX_MBOX1,4,2            ; @PCXHR_PLX_MBOX1
	.comm	_PCXHR_IT_DOWNLOAD_BOOT,4,2     ; @PCXHR_IT_DOWNLOAD_BOOT
	.comm	_PCXHR_PLX_MBOX0,4,2            ; @PCXHR_PLX_MBOX0
	.comm	_PCXHR_MBOX0_HF5,4,2            ; @PCXHR_MBOX0_HF5
	.comm	_PCXHR_TIMEOUT_DSP,4,2          ; @PCXHR_TIMEOUT_DSP
.subsections_via_symbols
