	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_soc_put_volsw_twl4030
_snd_soc_put_volsw_twl4030:             ## @snd_soc_put_volsw_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
	pushq	%rax
	.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, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r15d
	movl	4(%rbx), %r13d
	movl	8(%rbx), %r12d
	movl	12(%rbx), %ebx
	movl	%ebx, %edi
	callq	_fls
	movl	$-1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	notl	%edx
	movq	(%r14), %rdi
	movl	(%rdi), %esi
	movl	%edx, %eax
	movl	%r13d, %ecx
	shll	%cl, %eax
	andl	%edx, %esi
	incl	%ebx
	movl	%ebx, %ecx
	subl	%esi, %ecx
	xorl	%r8d, %r8d
	testw	%si, %si
	movzwl	%cx, %esi
	cmovel	%r8d, %esi
	movl	%r13d, %ecx
	shll	%cl, %esi
	cmpl	%r12d, %r13d
	je	LBB0_2
## %bb.1:
	movl	4(%rdi), %edi
	andl	%edx, %edi
	movl	%r12d, %ecx
	shll	%cl, %edx
	orl	%edx, %eax
	subl	%edi, %ebx
	testw	%di, %di
	movzwl	%bx, %edx
	cmovel	%r8d, %edx
	shll	%cl, %edx
	orl	%edx, %esi
LBB0_2:
	movzwl	%ax, %edx
	movzwl	%si, %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_soc_update_bits            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_soc_put_volsw_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_twl4030
_snd_soc_put_volsw_twl4030:             ; @snd_soc_put_volsw_twl4030
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	ldr	x22, [x0]
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldp	w20, w24, [x22]
	ldp	w23, w22, [x22, #8]
	mov	x0, x22
	bl	_fls
	mov	w8, #-1
	lsl	w8, w8, w0
	mvn	w10, w8
	ldr	x12, [x21]
	ldr	w9, [x12]
	bic	w9, w9, w8
	lsl	w8, w10, w24
	add	w11, w22, #1
	sub	w13, w11, w9
	and	w13, w13, #0xffff
	tst	w9, #0xffff
	csel	w9, wzr, w13, eq
	lsl	w9, w9, w24
	cmp	w24, w23
	b.eq	LBB0_2
; %bb.1:
	ldr	w12, [x12, #4]
	and	w12, w12, w10
	lsl	w10, w10, w23
	orr	w8, w8, w10
	sub	w10, w11, w12
	and	w10, w10, #0xffff
	tst	w12, #0xffff
	csel	w10, wzr, w10, eq
	lsl	w10, w10, w23
	orr	w9, w10, w9
LBB0_2:
	and	w2, w8, #0xffff
	and	w3, w9, #0xffff
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_snd_soc_update_bits
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_soc_put_volsw_twl4030
.subsections_via_symbols
