	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8971_resume
_wm8971_resume:                         ## @wm8971_resume
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_platform_get_drvdata
	movq	(%rax), %rax
	movq	(%rax), %r15
	movq	(%r15), %r13
	movq	_wm8971_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	movq	_WM8971_RESET@GOTPCREL(%rip), %r14
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_wm8971_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	movslq	%eax, %rcx
	addl	$2, %ebx
	movq	%r12, %rax
	cmpq	%rcx, %r12
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rax), %r12
	movl	(%r14), %ecx
	cmpq	%rcx, %r12
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13,%rax,4), %ecx
	shrl	$8, %ecx
	andl	$1, %ecx
	orl	%ebx, %ecx
	movl	%ecx, -56(%rbp)
	movzbl	(%r13,%rax,4), %eax
	movl	%eax, -52(%rbp)
	movl	32(%r15), %edi
	leaq	-56(%rbp), %rsi
	movl	$2, %edx
	callq	*40(%r15)
	jmp	LBB0_4
LBB0_5:
	movq	_SND_SOC_BIAS_STANDBY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_wm8971_set_bias_level
	movq	8(%r15), %rax
	movq	_SND_SOC_BIAS_ON@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_WM8971_PWR1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_snd_soc_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$65086, %eax                    ## imm = 0xFE3E
	movl	(%r14), %esi
	leal	448(%rax), %edx
	movq	%r15, %rdi
	callq	_snd_soc_write
	movq	(%rbx), %rax
	movq	%rax, 24(%r15)
	movq	_wm8971_workq@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	addq	$16, %r15
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_msecs_to_jiffies
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_queue_delayed_work
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_wm8971_reg,4,2                 ## @wm8971_reg
	.comm	_WM8971_RESET,4,2               ## @WM8971_RESET
	.comm	_SND_SOC_BIAS_STANDBY,4,2       ## @SND_SOC_BIAS_STANDBY
	.comm	_SND_SOC_BIAS_ON,8,3            ## @SND_SOC_BIAS_ON
	.comm	_WM8971_PWR1,4,2                ## @WM8971_PWR1
	.comm	_wm8971_workq,4,2               ## @wm8971_workq
	.no_dead_strip	_wm8971_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8971_resume
_wm8971_resume:                         ; @wm8971_resume
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	bl	_platform_get_drvdata
	ldr	x8, [x0]
	ldr	x19, [x8]
	ldr	x20, [x19]
Lloh3:
	adrp	x21, _wm8971_reg@GOTPAGE
Lloh4:
	ldr	x21, [x21, _wm8971_reg@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w22, #0
	mov	x8, #0
Lloh5:
	adrp	x23, _WM8971_RESET@GOTPAGE
Lloh6:
	ldr	x23, [x23, _WM8971_RESET@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x21]
	bl	_ARRAY_SIZE
	add	w22, w22, #2
	cmp	x24, w0, sxtw
	mov	x8, x24
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x24, x8, #1
	ldr	w9, [x23]
	cmp	x24, x9
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	x8, x8, #2
	ldr	w9, [x20, x8]
	ubfx	w9, w9, #8, #1
	orr	w9, w9, w22
	str	w9, [sp]
	ldrb	w8, [x20, x8]
	str	w8, [sp, #4]
	ldr	x8, [x19, #40]
	ldr	w0, [x19, #32]
	mov	x1, sp
	mov	w2, #2
	blr	x8
	b	LBB0_2
LBB0_5:
Lloh7:
	adrp	x8, _SND_SOC_BIAS_STANDBY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SND_SOC_BIAS_STANDBY@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wm8971_set_bias_level
	ldr	x8, [x19, #8]
Lloh10:
	adrp	x20, _SND_SOC_BIAS_ON@GOTPAGE
Lloh11:
	ldr	x20, [x20, _SND_SOC_BIAS_ON@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
Lloh12:
	adrp	x21, _WM8971_PWR1@GOTPAGE
Lloh13:
	ldr	x21, [x21, _WM8971_PWR1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_snd_soc_read
	and	w8, w0, #0xfffe
	ldr	w1, [x21]
	orr	w2, w8, #0x1c0
	mov	x0, x19
	bl	_snd_soc_write
	ldr	x8, [x20]
	str	x8, [x19, #24]
Lloh14:
	adrp	x8, _wm8971_workq@GOTPAGE
Lloh15:
	ldr	x8, [x8, _wm8971_workq@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
	add	x19, x19, #16
	mov	w0, #1000
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_queue_delayed_work
LBB0_7:
	ldr	x8, [sp, #8]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	w0, #0
	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
	add	sp, sp, #80
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_wm8971_reg,4,2                 ; @wm8971_reg
	.comm	_WM8971_RESET,4,2               ; @WM8971_RESET
	.comm	_SND_SOC_BIAS_STANDBY,4,2       ; @SND_SOC_BIAS_STANDBY
	.comm	_SND_SOC_BIAS_ON,8,3            ; @SND_SOC_BIAS_ON
	.comm	_WM8971_PWR1,4,2                ; @WM8971_PWR1
	.comm	_wm8971_workq,4,2               ; @wm8971_workq
	.no_dead_strip	_wm8971_resume
.subsections_via_symbols
