	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_es1688_mixer               ## -- Begin function snd_es1688_mixer
	.p2align	4, 0x90
_snd_es1688_mixer:                      ## @snd_es1688_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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, (%r12)
	sete	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_16
LBB0_5:
	movq	(%r12), %r14
	movl	(%r14), %r15d
	movq	%r12, %rdi
	callq	_snd_es1688_chip_id
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_strcpy
	movq	_snd_es1688_controls@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>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_16
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jb	LBB0_7
LBB0_9:
	movq	_ES1688_INIT_TABLE_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_15
## %bb.10:
	xorl	%ebx, %ebx
	movq	_snd_es1688_init_table@GOTPCREL(%rip), %r15
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	callq	_snd_es1688_write
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	movl	(%r14), %eax
	cmpq	%rax, %rbx
	jae	LBB0_15
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movzbl	(%rax), %ecx
	movzbl	1(%rax), %eax
	movzbl	%cl, %esi
	movzbl	%al, %edx
	movq	%r12, %rdi
	cmpb	$-97, %cl
	ja	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	callq	_snd_es1688_mixer_write
	jmp	LBB0_14
LBB0_15:
	xorl	%eax, %eax
LBB0_16:
	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	_snd_es1688_controls,8,3        ## @snd_es1688_controls
	.comm	_ES1688_INIT_TABLE_SIZE,4,2     ## @ES1688_INIT_TABLE_SIZE
	.comm	_snd_es1688_init_table,8,3      ## @snd_es1688_init_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_es1688_mixer               ; -- Begin function snd_es1688_mixer
	.p2align	2
_snd_es1688_mixer:                      ; @snd_es1688_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
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	cmp	x8, #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
	b	LBB0_15
LBB0_3:
	mov	w0, #1
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_2
LBB0_4:
	ldr	x20, [x19]
	ldr	w21, [x20]
	mov	x0, x19
	bl	_snd_es1688_chip_id
	mov	x1, x0
	mov	x0, x21
	bl	_strcpy
Lloh3:
	adrp	x21, _snd_es1688_controls@GOTPAGE
Lloh4:
	ldr	x21, [x21, _snd_es1688_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
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_15
; %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:
Lloh5:
	adrp	x20, _ES1688_INIT_TABLE_SIZE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _ES1688_INIT_TABLE_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_14
; %bb.9:
	mov	x21, #0
Lloh7:
	adrp	x22, _snd_es1688_init_table@GOTPAGE
Lloh8:
	ldr	x22, [x22, _snd_es1688_init_table@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	bl	_snd_es1688_write
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x21, x21, #1
	ldr	w8, [x20]
	cmp	x21, x8
	b.hs	LBB0_14
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x8, [x8, x21, lsl #3]
	ldrb	w1, [x8]
	ldrb	w2, [x8, #1]
	mov	x0, x19
	cmp	w1, #159
	b.hi	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	bl	_snd_es1688_mixer_write
	b	LBB0_11
LBB0_14:
	mov	w0, #0
LBB0_15:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_snd_es1688_controls,8,3        ; @snd_es1688_controls
	.comm	_ES1688_INIT_TABLE_SIZE,4,2     ; @ES1688_INIT_TABLE_SIZE
	.comm	_snd_es1688_init_table,8,3      ; @snd_es1688_init_table
.subsections_via_symbols
