	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_soc_put_volsw_r2_twl4030
_snd_soc_put_volsw_r2_twl4030:          ## @snd_soc_put_volsw_r2_twl4030
	.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), %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r12
	movl	(%rbx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	4(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	8(%rbx), %r13d
	movl	12(%rbx), %ebx
	movl	%ebx, %edi
	callq	_fls
	movl	$-1, %r15d
	movl	%eax, %ecx
	shll	%cl, %r15d
	notl	%r15d
	movl	%r15d, %eax
	movl	%r13d, %ecx
	shll	%cl, %eax
	movq	(%r14), %rdx
	movl	(%rdx), %ecx
	andl	%r15d, %ecx
	incl	%ebx
	movl	%ebx, %esi
	subl	%ecx, %esi
	xorl	%edi, %edi
	testw	%cx, %cx
	cmovel	%edi, %esi
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	%r13d, %ecx
	shll	%cl, %esi
	movl	4(%rdx), %r13d
	movzwl	%si, %ecx
	movzwl	%ax, %r14d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	callq	_snd_soc_update_bits
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	andl	%r15d, %r13d
	subl	%r13d, %ebx
	testw	%r13w, %r13w
	movl	$0, %eax
	cmovel	%eax, %ebx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movzwl	%bx, %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	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
	.no_dead_strip	_snd_soc_put_volsw_r2_twl4030
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_soc_put_volsw_r2_twl4030
_snd_soc_put_volsw_r2_twl4030:          ; @snd_soc_put_volsw_r2_twl4030
	.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	x21, x1
	ldr	x23, [x0]
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldp	w22, w20, [x23]
	ldp	w24, w23, [x23, #8]
	mov	x0, x23
	bl	_fls
	mov	w8, #-1
	lsl	w8, w8, w0
	mvn	w25, w8
	lsl	w9, w25, w24
	ldr	x10, [x21]
	ldp	w11, w26, [x10]
	bic	w8, w11, w8
	add	w23, w23, #1
	sub	w10, w23, w8
	tst	w8, #0xffff
	csel	w8, wzr, w10, eq
	lsl	w8, w8, w24
	and	w3, w8, #0xffff
	and	w21, w9, #0xffff
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_snd_soc_update_bits
	tbnz	w0, #31, LBB0_2
; %bb.1:
	and	w8, w26, w25
	sub	w9, w23, w8
	tst	w8, #0xffff
	csel	w8, wzr, w9, eq
	lsl	w8, w8, w24
	and	w3, w8, #0xffff
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	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
LBB0_2:
	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_soc_put_volsw_r2_twl4030
.subsections_via_symbols
