	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_soc_put_volsw              ## -- Begin function snd_soc_put_volsw
	.p2align	4, 0x90
_snd_soc_put_volsw:                     ## @snd_soc_put_volsw
	.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, %r14
	movq	(%rdi), %r15
	callq	_snd_kcontrol_chip
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%r15), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	4(%r15), %r13d
	movl	8(%r15), %r12d
	movl	12(%r15), %ebx
	movl	%ebx, %edi
	callq	_fls
	movl	$-1, %esi
	movl	%eax, %ecx
	shll	%cl, %esi
	notl	%esi
	movl	16(%r15), %r8d
	movq	(%r14), %rdi
	movl	(%rdi), %ecx
	andl	%esi, %ecx
	movl	%ebx, %eax
	subl	%ecx, %eax
	testl	%r8d, %r8d
	cmovel	%ecx, %eax
	movl	%esi, %edx
	movl	%r13d, %ecx
	shll	%cl, %edx
	shll	%cl, %eax
	cmpl	%r12d, %r13d
	je	LBB0_2
## %bb.1:
	movl	4(%rdi), %ecx
	andl	%esi, %ecx
	subl	%ecx, %ebx
	testl	%r8d, %r8d
	cmovel	%ecx, %ebx
	movl	%r12d, %ecx
	shll	%cl, %esi
	orl	%esi, %edx
	shll	%cl, %ebx
	orl	%ebx, %eax
LBB0_2:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_soc_update_bits            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_soc_put_volsw              ; -- Begin function snd_soc_put_volsw
	.p2align	2
_snd_soc_put_volsw:                     ; @snd_soc_put_volsw
	.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	x22, x1
	ldr	x24, [x0]
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldp	w20, w25, [x24]
	ldp	w23, w21, [x24, #8]
	mov	x0, x21
	bl	_fls
	mov	w8, #-1
	lsl	w11, w8, w0
	mvn	w8, w11
	ldr	w9, [x24, #16]
	ldr	x10, [x22]
	ldr	w12, [x10]
	bic	w11, w12, w11
	sub	w12, w21, w11
	cmp	w9, #0
	csel	w11, w11, w12, eq
	lsl	w2, w8, w25
	lsl	w3, w11, w25
	cmp	w25, w23
	b.eq	LBB0_2
; %bb.1:
	ldr	w10, [x10, #4]
	and	w10, w10, w8
	sub	w11, w21, w10
	cmp	w9, #0
	csel	w9, w10, w11, eq
	lsl	w8, w8, w23
	orr	w2, w2, w8
	lsl	w8, w9, w23
	orr	w3, w8, w3
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	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
	b	_snd_soc_update_bits
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
