	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcxhr_init_audio_levels
_pcxhr_init_audio_levels:               ## @pcxhr_init_audio_levels
	.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	%rdi, %rbx
	cmpq	$0, 80(%rdi)
	je	LBB0_6
## %bb.1:
	movq	_PCXHR_PLAYBACK_STREAMS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_4
## %bb.2:
	xorl	%ecx, %ecx
	movq	_PCXHR_DIGITAL_ZERO_LEVEL@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	movq	(%rsi,%rcx,8), %rsi
	movl	$1, (%rsi)
	movq	(%rdx), %rsi
	movq	72(%rbx), %rdi
	movq	(%rdi,%rcx,8), %rdi
	movq	%rsi, (%rdi)
	incq	%rcx
	movslq	(%rax), %rsi
	cmpq	%rsi, %rcx
	jl	LBB0_3
LBB0_4:
	movq	_IEC958_AES0_PROFESSIONAL@GOTPCREL(%rip), %rax
	movq	_IEC958_AES0_PRO_FS_48000@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	8(%rbx), %rax
	movl	%ecx, (%rax)
	movq	32(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_hr222_update_analog_audio_level
LBB0_6:
	cmpq	$0, 56(%rbx)
	je	LBB0_9
## %bb.7:
	movq	_PCXHR_DIGITAL_ZERO_LEVEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	48(%rbx), %rcx
	movq	%rax, (%rcx)
	movl	$1, 24(%rbx)
	movq	32(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_hr222_update_analog_audio_level
LBB0_9:
	cmpq	$0, 80(%rbx)
	je	LBB0_19
## %bb.10:
	movq	_PCXHR_PLAYBACK_STREAMS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	testq	%rcx, %rcx
	jle	LBB0_17
## %bb.11:
	movq	_PCXHR_DIGITAL_ZERO_LEVEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$1, %ecx
	jne	LBB0_13
## %bb.12:
	xorl	%edx, %edx
	jmp	LBB0_15
LBB0_13:
	movq	%rcx, %rsi
	andq	$-2, %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movq	(%rdi,%rdx,8), %rdi
	movl	$1, 4(%rdi)
	movq	72(%rbx), %rdi
	movq	(%rdi,%rdx,8), %rdi
	movq	%rax, 8(%rdi)
	movq	(%rbx), %rdi
	movq	8(%rdi,%rdx,8), %rdi
	movl	$1, 4(%rdi)
	movq	72(%rbx), %rdi
	movq	8(%rdi,%rdx,8), %rdi
	movq	%rax, 8(%rdi)
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_14
LBB0_15:
	testb	$1, %cl
	je	LBB0_17
## %bb.16:
	movq	(%rbx), %rcx
	movq	(%rcx,%rdx,8), %rcx
	movl	$1, 4(%rcx)
	movq	72(%rbx), %rcx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rax, 8(%rcx)
LBB0_17:
	movq	_IEC958_AES0_PROFESSIONAL@GOTPCREL(%rip), %rax
	movq	_IEC958_AES0_PRO_FS_48000@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	8(%rbx), %rax
	movl	%ecx, (%rax)
	movq	32(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.18:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_hr222_update_analog_audio_level
LBB0_19:
	cmpq	$0, 56(%rbx)
	je	LBB0_21
## %bb.20:
	movq	_PCXHR_DIGITAL_ZERO_LEVEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	48(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movl	$1, 24(%rbx)
	movq	32(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.22:
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_hr222_update_analog_audio_level ## TAILCALL
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCXHR_PLAYBACK_STREAMS,4,2     ## @PCXHR_PLAYBACK_STREAMS
	.comm	_PCXHR_DIGITAL_ZERO_LEVEL,8,3   ## @PCXHR_DIGITAL_ZERO_LEVEL
	.comm	_IEC958_AES0_PROFESSIONAL,4,2   ## @IEC958_AES0_PROFESSIONAL
	.comm	_IEC958_AES0_PRO_FS_48000,4,2   ## @IEC958_AES0_PRO_FS_48000
	.comm	_HR222_LINE_CAPTURE_ZERO_LEVEL,4,2 ## @HR222_LINE_CAPTURE_ZERO_LEVEL
	.comm	_HR222_LINE_PLAYBACK_ZERO_LEVEL,4,2 ## @HR222_LINE_PLAYBACK_ZERO_LEVEL
	.comm	_PCXHR_LINE_CAPTURE_ZERO_LEVEL,4,2 ## @PCXHR_LINE_CAPTURE_ZERO_LEVEL
	.comm	_PCXHR_LINE_PLAYBACK_ZERO_LEVEL,4,2 ## @PCXHR_LINE_PLAYBACK_ZERO_LEVEL
	.no_dead_strip	_pcxhr_init_audio_levels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcxhr_init_audio_levels
_pcxhr_init_audio_levels:               ; @pcxhr_init_audio_levels
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	ldr	x8, [x0, #80]
Lloh0:
	adrp	x20, _PCXHR_DIGITAL_ZERO_LEVEL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PCXHR_DIGITAL_ZERO_LEVEL@GOTPAGEOFF]
Lloh2:
	adrp	x23, _PCXHR_PLAYBACK_STREAMS@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PCXHR_PLAYBACK_STREAMS@GOTPAGEOFF]
Lloh4:
	adrp	x21, _IEC958_AES0_PROFESSIONAL@GOTPAGE
Lloh5:
	ldr	x21, [x21, _IEC958_AES0_PROFESSIONAL@GOTPAGEOFF]
Lloh6:
	adrp	x22, _IEC958_AES0_PRO_FS_48000@GOTPAGE
Lloh7:
	ldr	x22, [x22, _IEC958_AES0_PRO_FS_48000@GOTPAGEOFF]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x8, #0
	mov	w9, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x19]
	lsl	x11, x8, #3
	ldr	x10, [x10, x11]
	str	w9, [x10]
	ldr	x10, [x20]
	ldr	x12, [x19, #72]
	ldr	x11, [x12, x11]
	str	x10, [x11]
	add	x8, x8, #1
	ldrsw	x10, [x23]
	cmp	x8, x10
	b.lt	LBB0_3
LBB0_4:
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	x9, [x19, #8]
	str	w8, [x9]
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_hr222_update_analog_audio_level
LBB0_6:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_9
; %bb.7:
	ldr	x8, [x20]
	ldr	x9, [x19, #48]
	str	x8, [x9]
	mov	w8, #1
	str	w8, [x19, #24]
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_hr222_update_analog_audio_level
LBB0_9:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_15
; %bb.10:
	ldrsw	x8, [x23]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x9, #0
	ldr	x10, [x20]
	mov	w11, #1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x19]
	lsl	x13, x9, #3
	ldr	x12, [x12, x13]
	str	w11, [x12, #4]
	ldr	x12, [x19, #72]
	ldr	x12, [x12, x13]
	str	x10, [x12, #8]
	add	x9, x9, #1
	cmp	x9, x8
	b.lt	LBB0_12
LBB0_13:
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	x9, [x19, #8]
	str	w8, [x9]
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.14:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	bl	_hr222_update_analog_audio_level
LBB0_15:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_18
; %bb.16:
	ldr	x8, [x20]
	ldr	x9, [x19, #48]
	str	x8, [x9, #8]
	mov	w8, #1
	str	w8, [x19, #24]
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_18
; %bb.17:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_hr222_update_analog_audio_level
LBB0_18:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCXHR_PLAYBACK_STREAMS,4,2     ; @PCXHR_PLAYBACK_STREAMS
	.comm	_PCXHR_DIGITAL_ZERO_LEVEL,8,3   ; @PCXHR_DIGITAL_ZERO_LEVEL
	.comm	_IEC958_AES0_PROFESSIONAL,4,2   ; @IEC958_AES0_PROFESSIONAL
	.comm	_IEC958_AES0_PRO_FS_48000,4,2   ; @IEC958_AES0_PRO_FS_48000
	.comm	_HR222_LINE_CAPTURE_ZERO_LEVEL,4,2 ; @HR222_LINE_CAPTURE_ZERO_LEVEL
	.comm	_HR222_LINE_PLAYBACK_ZERO_LEVEL,4,2 ; @HR222_LINE_PLAYBACK_ZERO_LEVEL
	.comm	_PCXHR_LINE_CAPTURE_ZERO_LEVEL,4,2 ; @PCXHR_LINE_CAPTURE_ZERO_LEVEL
	.comm	_PCXHR_LINE_PLAYBACK_ZERO_LEVEL,4,2 ; @PCXHR_LINE_PLAYBACK_ZERO_LEVEL
	.no_dead_strip	_pcxhr_init_audio_levels
.subsections_via_symbols
