	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dapm_update_bits
_dapm_update_bits:                      ## @dapm_update_bits
	.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
	movl	16(%rdi), %esi
	xorl	%r14d, %r14d
	testl	%esi, %esi
	js	LBB0_10
## %bb.1:
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	_snd_soc_dapm_input@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.2:
	movq	_snd_soc_dapm_output@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.3:
	movq	_snd_soc_dapm_hp@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.4:
	movq	_snd_soc_dapm_mic@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.5:
	movq	_snd_soc_dapm_line@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.6:
	movq	_snd_soc_dapm_spk@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.7:
	movq	32(%r15), %r12
	movl	8(%r15), %eax
	xorl	%ebx, %ebx
	testl	%eax, %eax
	sete	%bl
	cmpq	$0, 24(%r15)
	cmovel	%eax, %ebx
	movq	%r12, %rdi
	callq	_snd_soc_read
	movl	%eax, %r13d
	movb	12(%r15), %cl
	btrl	%ecx, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	orl	%eax, %ebx
	xorl	%r14d, %r14d
	cmpl	%ebx, %r13d
	setne	%r14b
	je	LBB0_9
## %bb.8:
	movl	(%r12), %edi
	movl	20(%r15), %edx
	cmpl	$0, 8(%r15)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str(%rip), %rsi
	movl	%edi, %r8d
	callq	_pop_dbg
	movl	16(%r15), %esi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_snd_soc_write
	movl	(%r12), %edi
	callq	_pop_wait
LBB0_9:
	movl	16(%r15), %esi
	leaq	L_.str.3(%rip), %rdi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%r14d, %r8d
	callq	_pr_debug
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_soc_dapm_input,8,3         ## @snd_soc_dapm_input
	.comm	_snd_soc_dapm_output,8,3        ## @snd_soc_dapm_output
	.comm	_snd_soc_dapm_hp,8,3            ## @snd_soc_dapm_hp
	.comm	_snd_soc_dapm_mic,8,3           ## @snd_soc_dapm_mic
	.comm	_snd_soc_dapm_line,8,3          ## @snd_soc_dapm_line
	.comm	_snd_soc_dapm_spk,8,3           ## @snd_soc_dapm_spk
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pop test %s : %s in %d ms\n"

L_.str.1:                               ## @.str.1
	.asciz	"on"

L_.str.2:                               ## @.str.2
	.asciz	"off"

L_.str.3:                               ## @.str.3
	.asciz	"reg %x old %x new %x change %d\n"

	.no_dead_strip	_dapm_update_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dapm_update_bits
_dapm_update_bits:                      ; @dapm_update_bits
	.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
	ldr	w1, [x0, #16]
	tbnz	w1, #31, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _snd_soc_dapm_input@GOTPAGE
Lloh1:
	ldr	x9, [x9, _snd_soc_dapm_input@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _snd_soc_dapm_output@GOTPAGE
Lloh4:
	ldr	x10, [x10, _snd_soc_dapm_output@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _snd_soc_dapm_hp@GOTPAGE
Lloh7:
	ldr	x11, [x11, _snd_soc_dapm_hp@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
Lloh9:
	adrp	x12, _snd_soc_dapm_mic@GOTPAGE
Lloh10:
	ldr	x12, [x12, _snd_soc_dapm_mic@GOTPAGEOFF]
Lloh11:
	ldr	x12, [x12]
Lloh12:
	adrp	x13, _snd_soc_dapm_line@GOTPAGE
Lloh13:
	ldr	x13, [x13, _snd_soc_dapm_line@GOTPAGEOFF]
Lloh14:
	ldr	x13, [x13]
Lloh15:
	adrp	x14, _snd_soc_dapm_spk@GOTPAGE
Lloh16:
	ldr	x14, [x14, _snd_soc_dapm_spk@GOTPAGEOFF]
Lloh17:
	ldr	x14, [x14]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	ccmp	x8, x12, #4, ne
	ccmp	x8, x13, #4, ne
	ccmp	x8, x14, #4, ne
	b.ne	LBB0_3
LBB0_2:
	mov	w21, #0
	b	LBB0_6
LBB0_3:
	ldr	w8, [x19, #8]
	ldp	x9, x22, [x19, #24]
	cmp	w8, #0
	cset	w10, eq
	cmp	x9, #0
	csel	w21, w8, w10, eq
	mov	x0, x22
	bl	_snd_soc_read
	mov	x20, x0
	ldr	w8, [x19, #12]
	mov	w9, #1
	lsl	w9, w9, w8
	bic	w9, w0, w9
	lsl	w8, w21, w8
	orr	w23, w9, w8
	cmp	w0, w23
	cset	w21, ne
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x22]
	ldr	w2, [x19, #20]
	ldr	w8, [x19, #8]
Lloh18:
	adrp	x9, l_.str.1@PAGE
Lloh19:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh20:
	adrp	x10, l_.str.2@PAGE
Lloh21:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w8, #0
	csel	x3, x10, x9, eq
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	x4, x0
	bl	_pop_dbg
	ldr	w1, [x19, #16]
	mov	x0, x22
	mov	x2, x23
	bl	_snd_soc_write
	ldr	w0, [x22]
	bl	_pop_wait
LBB0_5:
	ldr	w1, [x19, #16]
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x2, x20
	mov	x3, x23
	mov	x4, x21
	bl	_pr_debug
LBB0_6:
	mov	x0, x21
	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
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_soc_dapm_input,8,3         ; @snd_soc_dapm_input
	.comm	_snd_soc_dapm_output,8,3        ; @snd_soc_dapm_output
	.comm	_snd_soc_dapm_hp,8,3            ; @snd_soc_dapm_hp
	.comm	_snd_soc_dapm_mic,8,3           ; @snd_soc_dapm_mic
	.comm	_snd_soc_dapm_line,8,3          ; @snd_soc_dapm_line
	.comm	_snd_soc_dapm_spk,8,3           ; @snd_soc_dapm_spk
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pop test %s : %s in %d ms\n"

l_.str.1:                               ; @.str.1
	.asciz	"on"

l_.str.2:                               ; @.str.2
	.asciz	"off"

l_.str.3:                               ; @.str.3
	.asciz	"reg %x old %x new %x change %d\n"

	.no_dead_strip	_dapm_update_bits
.subsections_via_symbols
