	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8350_remove
_wm8350_remove:                         ## @wm8350_remove
	.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
	callq	_platform_get_drvdata
	movq	(%rax), %rax
	movq	(%rax), %r14
	movq	8(%r14), %r15
	movq	16(%r14), %rbx
	movq	_WM8350_JACK_DETECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM8350_JDL_ENA@GOTPCREL(%rip), %rax
	movq	_WM8350_JDR_ENA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_wm8350_clear_bits
	movq	_WM8350_POWER_MGMT_4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM8350_TOCLK_ENA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_wm8350_clear_bits
	movq	_WM8350_IRQ_CODEC_JCK_DET_L@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_wm8350_mask_irq
	movq	_WM8350_IRQ_CODEC_JCK_DET_R@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_wm8350_mask_irq
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_wm8350_free_irq
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_wm8350_free_irq
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r15)
	movq	%r14, %rdi
	callq	_cancel_delayed_work
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_schedule_delayed_work
	xorl	%eax, %eax
	callq	_flush_scheduled_work
LBB0_2:
	movq	_SND_SOC_BIAS_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wm8350_set_bias_level
	movq	_WM8350_POWER_MGMT_5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM8350_CODEC_ENA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_wm8350_clear_bits
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM8350_JACK_DETECT,4,2         ## @WM8350_JACK_DETECT
	.comm	_WM8350_JDL_ENA,4,2             ## @WM8350_JDL_ENA
	.comm	_WM8350_JDR_ENA,4,2             ## @WM8350_JDR_ENA
	.comm	_WM8350_POWER_MGMT_4,4,2        ## @WM8350_POWER_MGMT_4
	.comm	_WM8350_TOCLK_ENA,4,2           ## @WM8350_TOCLK_ENA
	.comm	_WM8350_IRQ_CODEC_JCK_DET_L,4,2 ## @WM8350_IRQ_CODEC_JCK_DET_L
	.comm	_WM8350_IRQ_CODEC_JCK_DET_R,4,2 ## @WM8350_IRQ_CODEC_JCK_DET_R
	.comm	_SND_SOC_BIAS_OFF,4,2           ## @SND_SOC_BIAS_OFF
	.comm	_WM8350_POWER_MGMT_5,4,2        ## @WM8350_POWER_MGMT_5
	.comm	_WM8350_CODEC_ENA,4,2           ## @WM8350_CODEC_ENA
	.no_dead_strip	_wm8350_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8350_remove
_wm8350_remove:                         ; @wm8350_remove
	.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
	bl	_platform_get_drvdata
	ldr	x8, [x0]
	ldr	x20, [x8]
	ldp	x21, x19, [x20, #8]
Lloh0:
	adrp	x8, _WM8350_JACK_DETECT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WM8350_JACK_DETECT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _WM8350_JDL_ENA@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WM8350_JDL_ENA@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _WM8350_JDR_ENA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WM8350_JDR_ENA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_wm8350_clear_bits
Lloh9:
	adrp	x8, _WM8350_POWER_MGMT_4@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WM8350_POWER_MGMT_4@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _WM8350_TOCLK_ENA@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WM8350_TOCLK_ENA@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wm8350_clear_bits
Lloh15:
	adrp	x22, _WM8350_IRQ_CODEC_JCK_DET_L@GOTPAGE
Lloh16:
	ldr	x22, [x22, _WM8350_IRQ_CODEC_JCK_DET_L@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_wm8350_mask_irq
Lloh17:
	adrp	x23, _WM8350_IRQ_CODEC_JCK_DET_R@GOTPAGE
Lloh18:
	ldr	x23, [x23, _WM8350_IRQ_CODEC_JCK_DET_R@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_wm8350_mask_irq
	ldr	w1, [x22]
	mov	x0, x19
	bl	_wm8350_free_irq
	ldr	w1, [x23]
	mov	x0, x19
	bl	_wm8350_free_irq
	stp	xzr, xzr, [x21]
	mov	x0, x20
	bl	_cancel_delayed_work
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #0
	bl	_schedule_delayed_work
	bl	_flush_scheduled_work
LBB0_2:
Lloh19:
	adrp	x8, _SND_SOC_BIAS_OFF@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SND_SOC_BIAS_OFF@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wm8350_set_bias_level
Lloh22:
	adrp	x8, _WM8350_POWER_MGMT_5@GOTPAGE
Lloh23:
	ldr	x8, [x8, _WM8350_POWER_MGMT_5@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _WM8350_CODEC_ENA@GOTPAGE
Lloh26:
	ldr	x8, [x8, _WM8350_CODEC_ENA@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wm8350_clear_bits
	mov	w0, #0
	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 AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_WM8350_JACK_DETECT,4,2         ; @WM8350_JACK_DETECT
	.comm	_WM8350_JDL_ENA,4,2             ; @WM8350_JDL_ENA
	.comm	_WM8350_JDR_ENA,4,2             ; @WM8350_JDR_ENA
	.comm	_WM8350_POWER_MGMT_4,4,2        ; @WM8350_POWER_MGMT_4
	.comm	_WM8350_TOCLK_ENA,4,2           ; @WM8350_TOCLK_ENA
	.comm	_WM8350_IRQ_CODEC_JCK_DET_L,4,2 ; @WM8350_IRQ_CODEC_JCK_DET_L
	.comm	_WM8350_IRQ_CODEC_JCK_DET_R,4,2 ; @WM8350_IRQ_CODEC_JCK_DET_R
	.comm	_SND_SOC_BIAS_OFF,4,2           ; @SND_SOC_BIAS_OFF
	.comm	_WM8350_POWER_MGMT_5,4,2        ; @WM8350_POWER_MGMT_5
	.comm	_WM8350_CODEC_ENA,4,2           ; @WM8350_CODEC_ENA
	.no_dead_strip	_wm8350_remove
.subsections_via_symbols
