	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_sbmixer_init
_snd_sbmixer_init:                      ## @snd_sbmixer_init
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r15d
	movq	%rcx, %r14
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_snd_sbmixer_write
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	testl	%r15d, %r15d
	jle	LBB0_3
## %bb.1:
	movl	%r15d, %r15d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movzbl	(%r14,%r13,2), %esi
	movzbl	1(%r14,%r13,2), %edx
	movq	%r12, %rdi
	callq	_snd_sbmixer_write
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	incq	%r13
	cmpq	%r13, %r15
	jne	LBB0_2
LBB0_3:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	jle	LBB0_7
## %bb.4:
	movq	%rbx, %r15
	movl	%eax, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %rsi
	movq	%r12, %rdi
	callq	_snd_sbmixer_add_ctl_elem
	testl	%eax, %eax
	js	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_6
LBB0_7:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_snd_component_add
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_strcpy
	xorl	%eax, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_sbmixer_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_sbmixer_init
_snd_sbmixer_init:                      ; @snd_sbmixer_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x5
	mov	x25, x4
	mov	x24, x3
	mov	x23, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x20, [x0, #8]
	bl	_spin_lock_irqsave
	mov	x0, x22
	mov	w1, #0
	mov	w2, #0
	bl	_snd_sbmixer_write
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	cmp	w25, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w25, w25
	add	x24, x24, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldurb	w1, [x24, #-1]
	ldrb	w2, [x24], #2
	mov	x0, x22
	bl	_snd_sbmixer_write
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	subs	x25, x25, #1
	b.ne	LBB0_2
LBB0_3:
	cmp	w23, #1
	b.lt	LBB0_7
; %bb.4:
	mov	w23, w23
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x21]
	mov	x0, x22
	bl	_snd_sbmixer_add_ctl_elem
	tbnz	w0, #31, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #8
	subs	x23, x23, #1
	b.ne	LBB0_5
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	bl	_snd_component_add
	ldr	w0, [x20]
	mov	x1, x19
	bl	_strcpy
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_sbmixer_init
.subsections_via_symbols
