	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_gf1_new_mixer              ## -- Begin function snd_gf1_new_mixer
	.p2align	4, 0x90
_snd_gf1_new_mixer:                     ## @snd_gf1_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
	xorl	%edi, %edi
	testq	%r12, %r12
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	16(%r12), %r14
	xorl	%edi, %edi
	testq	%r14, %r14
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	cmpq	$0, 8(%r12)
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_component_add
LBB0_6:
	movq	(%r14), %rdi
	cmpb	$0, (%rdi)
	movq	8(%r12), %rax
	je	LBB0_14
## %bb.7:
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	callq	_strcat
	movq	(%r14), %rdi
LBB0_9:
	leaq	L_.str.4(%rip), %rsi
	callq	_strcat
	cmpq	$0, 8(%r12)
	je	LBB0_15
LBB0_10:
	movq	_snd_ics_controls@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_21
## %bb.11:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%r13, %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_3
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %ecx
	addq	$4, %r13
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	jb	LBB0_12
	jmp	LBB0_3
LBB0_14:
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	callq	_strcpy
	cmpq	$0, 8(%r12)
	jne	LBB0_10
LBB0_15:
	movl	$1, %eax
	cmpq	$0, (%r12)
	jne	LBB0_17
## %bb.16:
	movq	_snd_gf1_controls@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_21
LBB0_17:
	movl	%eax, %r15d
	xorl	%ebx, %ebx
	movq	_snd_gf1_controls@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_3
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	addq	$4, %rbx
	xorl	%eax, %eax
	decq	%r15
	jne	LBB0_18
	jmp	LBB0_3
LBB0_21:
	xorl	%eax, %eax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ICS2101"

L_.str.1:                               ## @.str.1
	.asciz	"GF1,ICS2101"

L_.str.2:                               ## @.str.2
	.asciz	"GF1"

L_.str.3:                               ## @.str.3
	.asciz	",ICS2101"

L_.str.4:                               ## @.str.4
	.asciz	",GF1"

	.comm	_snd_gf1_controls,8,3           ## @snd_gf1_controls
	.comm	_snd_ics_controls,8,3           ## @snd_ics_controls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_gf1_new_mixer              ; -- Begin function snd_gf1_new_mixer
	.p2align	2
_snd_gf1_new_mixer:                     ; @snd_gf1_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
	cmp	x0, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x20, [x19, #16]
	cmp	x20, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
LBB0_4:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_snd_component_add
LBB0_6:
	ldr	x0, [x20]
	ldrb	w9, [x0]
	ldr	x8, [x19, #8]
	cbz	w9, LBB0_14
; %bb.7:
	cbz	x8, LBB0_9
; %bb.8:
Lloh5:
	adrp	x1, l_.str.3@PAGE
Lloh6:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcat
	ldr	x0, [x20]
LBB0_9:
Lloh7:
	adrp	x1, l_.str.4@PAGE
Lloh8:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcat
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_15
LBB0_10:
Lloh9:
	adrp	x21, _snd_ics_controls@GOTPAGE
Lloh10:
	ldr	x21, [x21, _snd_ics_controls@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_3
; %bb.11:
	mov	x22, #0
	mov	x23, #0
LBB0_12:                                ; =>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_3
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	mov	x8, x0
	mov	w0, #0
	add	x22, x22, #4
	cmp	x23, w8, uxtw
	b.lo	LBB0_12
	b	LBB0_3
LBB0_14:
Lloh11:
	adrp	x9, l_.str.1@PAGE
Lloh12:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh13:
	adrp	x10, l_.str.2@PAGE
Lloh14:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x1, x10, x9, eq
	bl	_strcpy
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_10
LBB0_15:
	ldr	x8, [x19]
Lloh15:
	adrp	x21, _snd_gf1_controls@GOTPAGE
Lloh16:
	ldr	x21, [x21, _snd_gf1_controls@GOTPAGEOFF]
	cbz	x8, LBB0_17
; %bb.16:
	mov	w0, #1
	b	LBB0_18
LBB0_17:
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_3
LBB0_18:
	mov	x22, #0
	mov	w23, w0
LBB0_19:                                ; =>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_3
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	w0, #0
	add	x22, x22, #4
	subs	x23, x23, #1
	b.ne	LBB0_19
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ICS2101"

l_.str.1:                               ; @.str.1
	.asciz	"GF1,ICS2101"

l_.str.2:                               ; @.str.2
	.asciz	"GF1"

l_.str.3:                               ; @.str.3
	.asciz	",ICS2101"

l_.str.4:                               ; @.str.4
	.asciz	",GF1"

	.comm	_snd_gf1_controls,8,3           ; @snd_gf1_controls
	.comm	_snd_ics_controls,8,3           ; @snd_ics_controls
.subsections_via_symbols
