	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_sbmixer_put_double
_snd_sbmixer_put_double:                ## @snd_sbmixer_put_double
	.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	%rsi, %r15
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r13
	movl	(%rbx), %ebx
	movzbl	%bl, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movzbl	%bh, %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r14d
	shrl	$16, %r14d
	andl	$7, %r14d
	movl	%ebx, %r12d
	shrl	$19, %r12d
	andl	$7, %r12d
	shrl	$24, %ebx
	movq	(%r15), %rax
	movl	(%rax), %edx
	andl	%ebx, %edx
	movl	%r14d, %ecx
	shll	%cl, %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	4(%rax), %r15d
	andl	%ebx, %r15d
	movl	%r12d, %ecx
	shll	%cl, %r15d
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %esi
	callq	_snd_sbmixer_read
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	cmpl	%esi, %r13d
	jne	LBB0_3
## %bb.1:
	movl	%ebx, %edx
	movl	%r14d, %ecx
	shll	%cl, %edx
	movzbl	%al, %esi
	movl	%r12d, %ecx
	shll	%cl, %ebx
	orl	%edx, %ebx
	notl	%ebx
	andl	%esi, %ebx
	orl	-48(%rbp), %r15d                ## 4-byte Folded Reload
	orl	%ebx, %r15d
	movzbl	%r15b, %eax
	xorl	%r14d, %r14d
	cmpl	%esi, %eax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_7
## %bb.2:
	movzbl	%r15b, %edx
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_6
LBB0_3:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %r13d
	callq	_snd_sbmixer_read
	movzbl	%r13b, %esi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	shll	%cl, %edx
	notl	%edx
	andl	%esi, %edx
	orl	-48(%rbp), %edx                 ## 4-byte Folded Reload
	movzbl	%al, %eax
	movl	%r12d, %ecx
	shll	%cl, %ebx
	notl	%ebx
	andl	%eax, %ebx
	orl	%r15d, %ebx
	movzbl	%dl, %ecx
	cmpl	%esi, %ecx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_5
## %bb.4:
	xorl	%r14d, %r14d
	movzbl	%bl, %ecx
	cmpl	%eax, %ecx
	je	LBB0_7
LBB0_5:
	movzbl	%dl, %edx
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_snd_sbmixer_write
	movzbl	%bl, %edx
	movq	%r12, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
LBB0_6:
	callq	_snd_sbmixer_write
	movl	$1, %r14d
LBB0_7:
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movl	%r14d, %eax
	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_put_double
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_sbmixer_put_double
_snd_sbmixer_put_double:                ; @snd_sbmixer_put_double
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x22, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldr	w8, [x20]
	and	w20, w8, #0xff
	ubfx	w21, w8, #8, #8
	ubfx	w25, w8, #16, #3
	ubfx	w23, w8, #19, #3
	lsr	w24, w8, #24
	ldr	x8, [x22]
	ldp	w9, w8, [x8]
	and	w9, w9, w24
	lsl	w27, w9, w25
	and	w8, w8, w24
	lsl	w26, w8, w23
	bl	_spin_lock_irqsave
	mov	x0, x19
	mov	x1, x20
	bl	_snd_sbmixer_read
	mov	x22, x0
	cmp	w20, w21
	b.ne	LBB0_3
; %bb.1:
	lsl	w8, w24, w25
	lsl	w9, w24, w23
	orr	w8, w8, w9
	bic	w8, w22, w8
	orr	w9, w26, w27
	orr	w8, w9, w8
	cmp	w22, w8, uxtb
	b.eq	LBB0_6
; %bb.2:
	and	w2, w8, #0xff
	mov	x0, x19
	mov	x1, x20
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	bl	_snd_sbmixer_read
	lsl	w8, w24, w25
	bic	w8, w22, w8
	orr	w8, w8, w27
	lsl	w9, w24, w23
	bic	w9, w0, w9
	orr	w9, w9, w26
	and	w23, w9, #0xff
	cmp	w22, w8, uxtb
	ccmp	w23, w0, #0, eq
	b.eq	LBB0_6
; %bb.4:
	and	w2, w8, #0xff
	mov	x0, x19
	mov	x1, x20
	bl	_snd_sbmixer_write
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
LBB0_5:
	bl	_snd_sbmixer_write
	mov	w20, #1
	b	LBB0_7
LBB0_6:
	mov	w20, #0
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_sbmixer_put_double
.subsections_via_symbols
