	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcxhr_create_mixer             ## -- Begin function pcxhr_create_mixer
	.p2align	4, 0x90
_pcxhr_create_mixer:                    ## @pcxhr_create_mixer
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	addq	$48, %rdi
	callq	_mutex_init
	cmpl	$0, (%r14)
	jle	LBB0_29
## %bb.1:
	xorl	%r12d, %r12d
	movq	_pcxhr_control_analog_level@GOTPCREL(%rip), %r15
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%r12, %r12
	je	LBB0_26
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_pcxhr_init_audio_levels
	incq	%r12
	movslq	(%r14), %rax
	cmpq	%rax, %r12
	jge	LBB0_29
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r14), %rax
	movq	(%rax,%r12,8), %r13
	cmpq	$0, 8(%r13)
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movups	(%r15), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	16(%r15), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -64(%rbp)
	movl	$0, -56(%rbp)
	cmpq	$0, 32(%r14)
	movq	_db_scale_a_hr222_playback@GOTPCREL(%rip), %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_db_scale_analog_playback@GOTPCREL(%rip), %rax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	24(%r13), %r15d
	leaq	-64(%rbp), %rdi
	movq	%r13, %rsi
	callq	_snd_ctl_new1
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_30
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%r13), %ebx
	movq	_pcxhr_control_output_switch@GOTPCREL(%rip), %rdi
	movq	%r13, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_30
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_snd_pcxhr_pcm_vol@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	16(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -64(%rbp)
	movq	_PCXHR_PLAYBACK_STREAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	$0, -56(%rbp)
	movl	24(%r13), %ebx
	leaq	-64(%rbp), %rdi
	movq	%r13, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_30
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%r13), %ebx
	movq	_pcxhr_control_pcm_switch@GOTPCREL(%rip), %rdi
	movq	%r13, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_30
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%r13), %ebx
	movq	_pcxhr_control_playback_iec958_mask@GOTPCREL(%rip), %rdi
	movq	%r13, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_30
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%r13), %ebx
	movq	_pcxhr_control_playback_iec958@GOTPCREL(%rip), %rdi
	movq	%r13, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	movq	_pcxhr_control_analog_level@GOTPCREL(%rip), %r15
	js	LBB0_30
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%r13)
	je	LBB0_25
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movups	(%r15), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	16(%r15), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -64(%rbp)
	movl	$1, -56(%rbp)
	cmpq	$0, 32(%r14)
	movq	_db_scale_a_hr222_capture@GOTPCREL(%rip), %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_db_scale_analog_capture@GOTPCREL(%rip), %rax
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	24(%r13), %ebx
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_30
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_snd_pcxhr_pcm_vol@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	16(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -64(%rbp)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -56(%rbp)
	movl	24(%r13), %ebx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_30
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%r13), %ebx
	movq	_pcxhr_control_audio_src@GOTPCREL(%rip), %rdi
	movq	%r13, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_30
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%r13), %ebx
	movq	_pcxhr_control_capture_iec958_mask@GOTPCREL(%rip), %rdi
	movq	%r13, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_30
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%r13), %ebx
	movq	_pcxhr_control_capture_iec958@GOTPCREL(%rip), %rdi
	movq	%r13, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_30
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	cmpq	$0, 32(%r14)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_hr222_add_mic_controls
	testl	%eax, %eax
	js	LBB0_30
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%r13)
	jle	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%r13)
	jle	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%r13), %ebx
	movq	_pcxhr_control_monitor_vol@GOTPCREL(%rip), %rdi
	movq	%r13, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_30
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%r13), %ebx
	movq	_pcxhr_control_monitor_sw@GOTPCREL(%rip), %rdi
	movq	%r13, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	jns	LBB0_25
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%r13), %ebx
	movq	_pcxhr_control_clock_type@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%r13), %ebx
	movq	_pcxhr_control_clock_rate@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	jns	LBB0_28
	jmp	LBB0_30
LBB0_29:
	xorl	%eax, %eax
LBB0_30:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pcxhr_control_analog_level,24,3 ## @pcxhr_control_analog_level
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Master Playback Volume"

	.comm	_db_scale_a_hr222_playback,4,2  ## @db_scale_a_hr222_playback
	.comm	_db_scale_analog_playback,4,2   ## @db_scale_analog_playback
	.comm	_pcxhr_control_output_switch,24,3 ## @pcxhr_control_output_switch
	.comm	_snd_pcxhr_pcm_vol,24,3         ## @snd_pcxhr_pcm_vol
L_.str.1:                               ## @.str.1
	.asciz	"PCM Playback Volume"

	.comm	_PCXHR_PLAYBACK_STREAMS,4,2     ## @PCXHR_PLAYBACK_STREAMS
	.comm	_pcxhr_control_pcm_switch,24,3  ## @pcxhr_control_pcm_switch
	.comm	_pcxhr_control_playback_iec958_mask,24,3 ## @pcxhr_control_playback_iec958_mask
	.comm	_pcxhr_control_playback_iec958,24,3 ## @pcxhr_control_playback_iec958
L_.str.2:                               ## @.str.2
	.asciz	"Line Capture Volume"

	.comm	_db_scale_a_hr222_capture,4,2   ## @db_scale_a_hr222_capture
	.comm	_db_scale_analog_capture,4,2    ## @db_scale_analog_capture
L_.str.3:                               ## @.str.3
	.asciz	"PCM Capture Volume"

	.comm	_pcxhr_control_audio_src,24,3   ## @pcxhr_control_audio_src
	.comm	_pcxhr_control_capture_iec958_mask,24,3 ## @pcxhr_control_capture_iec958_mask
	.comm	_pcxhr_control_capture_iec958,24,3 ## @pcxhr_control_capture_iec958
	.comm	_pcxhr_control_monitor_vol,24,3 ## @pcxhr_control_monitor_vol
	.comm	_pcxhr_control_monitor_sw,24,3  ## @pcxhr_control_monitor_sw
	.comm	_pcxhr_control_clock_type,24,3  ## @pcxhr_control_clock_type
	.comm	_pcxhr_control_clock_rate,24,3  ## @pcxhr_control_clock_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcxhr_create_mixer             ; -- Begin function pcxhr_create_mixer
	.p2align	2
_pcxhr_create_mixer:                    ; @pcxhr_create_mixer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x0
	add	x0, x0, #48
	bl	_mutex_init
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.1:
	mov	x24, #0
Lloh0:
	adrp	x23, _pcxhr_control_analog_level@GOTPAGE
Lloh1:
	ldr	x23, [x23, _pcxhr_control_analog_level@GOTPAGEOFF]
Lloh2:
	adrp	x22, _snd_pcxhr_pcm_vol@GOTPAGE
Lloh3:
	ldr	x22, [x22, _snd_pcxhr_pcm_vol@GOTPAGEOFF]
	movi.2s	v8, #1
Lloh4:
	adrp	x25, l_.str@PAGE
Lloh5:
	add	x25, x25, l_.str@PAGEOFF
Lloh6:
	adrp	x26, _db_scale_analog_playback@GOTPAGE
Lloh7:
	ldr	x26, [x26, _db_scale_analog_playback@GOTPAGEOFF]
Lloh8:
	adrp	x28, _db_scale_a_hr222_playback@GOTPAGE
Lloh9:
	ldr	x28, [x28, _db_scale_a_hr222_playback@GOTPAGEOFF]
Lloh10:
	adrp	x27, _pcxhr_control_output_switch@GOTPAGE
Lloh11:
	ldr	x27, [x27, _pcxhr_control_output_switch@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	x24, LBB0_23
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_pcxhr_init_audio_levels
	add	x24, x24, #1
	ldrsw	x8, [x19]
	cmp	x24, x8
	b.ge	LBB0_25
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	ldr	x21, [x8, x24, lsl #3]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	q0, [x23]
	str	q0, [sp]
	ldr	x8, [x23, #16]
	str	x8, [sp, #16]
	str	x25, [sp]
	str	wzr, [sp, #8]
	ldr	x8, [x19, #32]
	cmp	x8, #0
	csel	x8, x26, x28, eq
	ldr	w8, [x8]
	str	w8, [sp, #16]
	ldr	w20, [x21, #24]
	mov	x0, sp
	mov	x1, x21
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_26
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w20, [x21, #24]
	mov	x0, x27
	mov	x1, x21
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_26
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	q0, [x22]
	str	q0, [sp]
	ldr	x8, [x22, #16]
	str	x8, [sp, #16]
Lloh12:
	adrp	x8, l_.str.1@PAGE
Lloh13:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [sp]
Lloh14:
	adrp	x8, _PCXHR_PLAYBACK_STREAMS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PCXHR_PLAYBACK_STREAMS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #8]
	ldr	w20, [x21, #24]
	mov	x0, sp
	mov	x1, x21
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_26
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w20, [x21, #24]
Lloh17:
	adrp	x0, _pcxhr_control_pcm_switch@GOTPAGE
Lloh18:
	ldr	x0, [x0, _pcxhr_control_pcm_switch@GOTPAGEOFF]
	mov	x1, x21
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_26
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w20, [x21, #24]
Lloh19:
	adrp	x0, _pcxhr_control_playback_iec958_mask@GOTPAGE
Lloh20:
	ldr	x0, [x0, _pcxhr_control_playback_iec958_mask@GOTPAGEOFF]
	mov	x1, x21
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_26
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w20, [x21, #24]
Lloh21:
	adrp	x0, _pcxhr_control_playback_iec958@GOTPAGE
Lloh22:
	ldr	x0, [x0, _pcxhr_control_playback_iec958@GOTPAGEOFF]
	mov	x1, x21
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_26
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	q0, [x23]
	str	q0, [sp]
	ldr	x8, [x23, #16]
	str	x8, [sp, #16]
Lloh23:
	adrp	x8, l_.str.2@PAGE
Lloh24:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [sp]
	mov	w8, #1
	str	w8, [sp, #8]
	ldr	x8, [x19, #32]
	cmp	x8, #0
Lloh25:
	adrp	x8, _db_scale_analog_capture@GOTPAGE
Lloh26:
	ldr	x8, [x8, _db_scale_analog_capture@GOTPAGEOFF]
Lloh27:
	adrp	x9, _db_scale_a_hr222_capture@GOTPAGE
Lloh28:
	ldr	x9, [x9, _db_scale_a_hr222_capture@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [sp, #16]
	ldr	w20, [x21, #24]
	mov	x0, sp
	mov	x1, x21
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_26
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	q0, [x22]
	str	q0, [sp]
	ldr	x8, [x22, #16]
	str	x8, [sp, #16]
Lloh29:
	adrp	x8, l_.str.3@PAGE
Lloh30:
	add	x8, x8, l_.str.3@PAGEOFF
	str	x8, [sp]
	str	d8, [sp, #8]
	ldr	w20, [x21, #24]
	mov	x0, sp
	mov	x1, x21
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_26
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w20, [x21, #24]
Lloh31:
	adrp	x0, _pcxhr_control_audio_src@GOTPAGE
Lloh32:
	ldr	x0, [x0, _pcxhr_control_audio_src@GOTPAGEOFF]
	mov	x1, x21
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_26
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w20, [x21, #24]
Lloh33:
	adrp	x0, _pcxhr_control_capture_iec958_mask@GOTPAGE
Lloh34:
	ldr	x0, [x0, _pcxhr_control_capture_iec958_mask@GOTPAGEOFF]
	mov	x1, x21
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_26
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w20, [x21, #24]
Lloh35:
	adrp	x0, _pcxhr_control_capture_iec958@GOTPAGE
Lloh36:
	ldr	x0, [x0, _pcxhr_control_capture_iec958@GOTPAGEOFF]
	mov	x1, x21
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_26
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_hr222_add_mic_controls
	tbnz	w0, #31, LBB0_26
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #16]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w20, [x21, #24]
Lloh37:
	adrp	x0, _pcxhr_control_monitor_vol@GOTPAGE
Lloh38:
	ldr	x0, [x0, _pcxhr_control_monitor_vol@GOTPAGEOFF]
	mov	x1, x21
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_26
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w20, [x21, #24]
Lloh39:
	adrp	x0, _pcxhr_control_monitor_sw@GOTPAGE
Lloh40:
	ldr	x0, [x0, _pcxhr_control_monitor_sw@GOTPAGEOFF]
	mov	x1, x21
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbz	w0, #31, LBB0_2
	b	LBB0_26
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w20, [x21, #24]
Lloh41:
	adrp	x0, _pcxhr_control_clock_type@GOTPAGE
Lloh42:
	ldr	x0, [x0, _pcxhr_control_clock_type@GOTPAGEOFF]
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w20, [x21, #24]
Lloh43:
	adrp	x0, _pcxhr_control_clock_rate@GOTPAGE
Lloh44:
	ldr	x0, [x0, _pcxhr_control_clock_rate@GOTPAGEOFF]
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbz	w0, #31, LBB0_3
	b	LBB0_26
LBB0_25:
	mov	w0, #0
LBB0_26:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_pcxhr_control_analog_level,24,3 ; @pcxhr_control_analog_level
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Master Playback Volume"

	.comm	_db_scale_a_hr222_playback,4,2  ; @db_scale_a_hr222_playback
	.comm	_db_scale_analog_playback,4,2   ; @db_scale_analog_playback
	.comm	_pcxhr_control_output_switch,24,3 ; @pcxhr_control_output_switch
	.comm	_snd_pcxhr_pcm_vol,24,3         ; @snd_pcxhr_pcm_vol
l_.str.1:                               ; @.str.1
	.asciz	"PCM Playback Volume"

	.comm	_PCXHR_PLAYBACK_STREAMS,4,2     ; @PCXHR_PLAYBACK_STREAMS
	.comm	_pcxhr_control_pcm_switch,24,3  ; @pcxhr_control_pcm_switch
	.comm	_pcxhr_control_playback_iec958_mask,24,3 ; @pcxhr_control_playback_iec958_mask
	.comm	_pcxhr_control_playback_iec958,24,3 ; @pcxhr_control_playback_iec958
l_.str.2:                               ; @.str.2
	.asciz	"Line Capture Volume"

	.comm	_db_scale_a_hr222_capture,4,2   ; @db_scale_a_hr222_capture
	.comm	_db_scale_analog_capture,4,2    ; @db_scale_analog_capture
l_.str.3:                               ; @.str.3
	.asciz	"PCM Capture Volume"

	.comm	_pcxhr_control_audio_src,24,3   ; @pcxhr_control_audio_src
	.comm	_pcxhr_control_capture_iec958_mask,24,3 ; @pcxhr_control_capture_iec958_mask
	.comm	_pcxhr_control_capture_iec958,24,3 ; @pcxhr_control_capture_iec958
	.comm	_pcxhr_control_monitor_vol,24,3 ; @pcxhr_control_monitor_vol
	.comm	_pcxhr_control_monitor_sw,24,3  ; @pcxhr_control_monitor_sw
	.comm	_pcxhr_control_clock_type,24,3  ; @pcxhr_control_clock_type
	.comm	_pcxhr_control_clock_rate,24,3  ; @pcxhr_control_clock_rate
.subsections_via_symbols
