	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_card_saa7134_new_mixer
_snd_card_saa7134_new_mixer:            ## @snd_card_saa7134_new_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	16(%rdi), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_strscpy
	movq	_snd_saa7134_volume_controls@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%r13, %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_4:
	movq	_snd_saa7134_capture_controls@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	(%r15), %rcx
	movslq	(%rcx,%rbx), %rcx
	movq	8(%r12), %rdx
	movq	%rax, (%rdx,%rcx,8)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$4, %rbx
	cmpq	%rax, %r13
	jb	LBB0_7
LBB0_8:
	movq	_MIXER_ADDR_UNSELECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SAA7134 Mixer"

	.comm	_snd_saa7134_volume_controls,8,3 ## @snd_saa7134_volume_controls
	.comm	_snd_saa7134_capture_controls,8,3 ## @snd_saa7134_capture_controls
	.comm	_MIXER_ADDR_UNSELECTED,4,2      ## @MIXER_ADDR_UNSELECTED
	.no_dead_strip	_snd_card_saa7134_new_mixer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_card_saa7134_new_mixer
_snd_card_saa7134_new_mixer:            ; @snd_card_saa7134_new_mixer
	.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	x20, [x0, #16]
	ldr	w0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_strscpy
Lloh2:
	adrp	x21, _snd_saa7134_volume_controls@GOTPAGE
Lloh3:
	ldr	x21, [x21, _snd_saa7134_volume_controls@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_4
; %bb.1:
	mov	x22, #0
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x0, x8, x22
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, uxtw
	b.lo	LBB0_2
LBB0_4:
Lloh4:
	adrp	x21, _snd_saa7134_capture_controls@GOTPAGE
Lloh5:
	ldr	x21, [x21, _snd_saa7134_capture_controls@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_8
; %bb.5:
	mov	x22, #0
	mov	x23, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x0, x8, x22
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	ldr	x8, [x21]
	ldrsw	x8, [x8, x22]
	ldr	x9, [x19, #8]
	str	x0, [x9, x8, lsl #3]
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, uxtw
	b.lo	LBB0_6
LBB0_8:
	mov	w0, #0
Lloh6:
	adrp	x8, _MIXER_ADDR_UNSELECTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MIXER_ADDR_UNSELECTED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_9:
	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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SAA7134 Mixer"

	.comm	_snd_saa7134_volume_controls,8,3 ; @snd_saa7134_volume_controls
	.comm	_snd_saa7134_capture_controls,8,3 ; @snd_saa7134_capture_controls
	.comm	_MIXER_ADDR_UNSELECTED,4,2      ; @MIXER_ADDR_UNSELECTED
	.no_dead_strip	_snd_card_saa7134_new_mixer
.subsections_via_symbols
