	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_soc_put_volsw_2r           ## -- Begin function snd_soc_put_volsw_2r
	.p2align	4, 0x90
_snd_soc_put_volsw_2r:                  ## @snd_soc_put_volsw_2r
	.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, %r12
	movq	(%rdi), %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	4(%rbx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	8(%rbx), %r14d
	movl	12(%rbx), %r15d
	movl	%r15d, %edi
	callq	_fls
	movl	$-1, %r13d
	movl	%eax, %ecx
	shll	%cl, %r13d
	notl	%r13d
	movl	%r13d, %esi
	movl	%r14d, %ecx
	shll	%cl, %esi
	movl	16(%rbx), %edi
	movq	(%r12), %rcx
	movl	(%rcx), %edx
	andl	%r13d, %edx
	movl	%r15d, %eax
	subl	%edx, %eax
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	testl	%edi, %edi
	cmovel	%edx, %eax
	movl	4(%rcx), %r12d
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	%r14d, %ecx
	movl	%esi, %ebx
	shll	%cl, %eax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_snd_soc_update_bits
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	andl	%r13d, %r12d
	subl	%r12d, %r15d
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	cmovel	%r12d, %r15d
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r15d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r15d, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_soc_update_bits            ## TAILCALL
LBB0_1:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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_2r           ; -- Begin function snd_soc_put_volsw_2r
	.p2align	2
_snd_soc_put_volsw_2r:                  ; @snd_soc_put_volsw_2r
	.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	x23, x1
	ldr	x22, [x0]
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldp	w24, w20, [x22]
	ldp	w25, w21, [x22, #8]
	mov	x0, x21
	bl	_fls
	mov	w8, #-1
	lsl	w8, w8, w0
	mvn	w27, w8
	ldr	w26, [x22, #16]
	lsl	w22, w27, w25
	ldr	x9, [x23]
	ldp	w10, w23, [x9]
	bic	w8, w10, w8
	sub	w9, w21, w8
	cmp	w26, #0
	csel	w8, w8, w9, eq
	lsl	w3, w8, w25
	mov	x0, x19
	mov	x1, x24
	mov	x2, x22
	bl	_snd_soc_update_bits
	tbnz	w0, #31, LBB0_2
; %bb.1:
	and	w8, w23, w27
	sub	w9, w21, w8
	cmp	w26, #0
	csel	w8, w8, w9, eq
	lsl	w3, w8, w25
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	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
	b	_snd_soc_update_bits
LBB0_2:
	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
.subsections_via_symbols
