	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tas_i2c_remove
_tas_i2c_remove:                        ## @tas_i2c_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_i2c_get_clientdata
	movq	%rax, %rbx
	movq	_TAS_ACR_ANALOG_PDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	leaq	4(%rbx), %rdi
	callq	_aoa_codec_unregister
	movl	4(%rbx), %edi
	callq	_of_node_put
	movq	_TAS_REG_ACR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_tas_write_reg
	movq	%rbx, %rdi
	callq	_mutex_destroy
	movq	%rbx, %rdi
	callq	_kfree
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TAS_ACR_ANALOG_PDOWN,4,2       ## @TAS_ACR_ANALOG_PDOWN
	.comm	_TAS_REG_ACR,4,2                ## @TAS_REG_ACR
	.no_dead_strip	_tas_i2c_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tas_i2c_remove
_tas_i2c_remove:                        ; @tas_i2c_remove
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_i2c_get_clientdata
	mov	x19, x0
Lloh0:
	adrp	x8, _TAS_ACR_ANALOG_PDOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TAS_ACR_ANALOG_PDOWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	add	x0, x0, #4
	bl	_aoa_codec_unregister
	ldr	w0, [x19, #4]
	bl	_of_node_put
Lloh3:
	adrp	x8, _TAS_REG_ACR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TAS_REG_ACR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #12
	mov	x0, x19
	mov	w2, #1
	bl	_tas_write_reg
	mov	x0, x19
	bl	_mutex_destroy
	mov	x0, x19
	bl	_kfree
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TAS_ACR_ANALOG_PDOWN,4,2       ; @TAS_ACR_ANALOG_PDOWN
	.comm	_TAS_REG_ACR,4,2                ; @TAS_REG_ACR
	.no_dead_strip	_tas_i2c_remove
.subsections_via_symbols
