	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function davinci_i2s_remove
_davinci_i2s_remove:                    ## @davinci_i2s_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_davinci_i2s_dai@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rbx
	callq	_snd_soc_unregister_dai
	movq	(%rbx), %rdi
	callq	_clk_disable
	movq	(%rbx), %rdi
	callq	_clk_put
	movq	$0, (%rbx)
	movq	%rbx, %rdi
	callq	_kfree
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	(%rax), %rdi
	movq	8(%rax), %rsi
	subq	%rdi, %rsi
	incq	%rsi
	callq	_release_mem_region
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_davinci_i2s_dai,8,3            ## @davinci_i2s_dai
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.no_dead_strip	_davinci_i2s_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function davinci_i2s_remove
_davinci_i2s_remove:                    ; @davinci_i2s_remove
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, _davinci_i2s_dai@GOTPAGE
Lloh1:
	ldr	x0, [x0, _davinci_i2s_dai@GOTPAGEOFF]
	ldr	x20, [x0]
	bl	_snd_soc_unregister_dai
	ldr	x0, [x20]
	bl	_clk_disable
	ldr	x0, [x20]
	bl	_clk_put
	str	xzr, [x20]
	mov	x0, x20
	bl	_kfree
Lloh2:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	ldp	x8, x9, [x0]
	sub	x9, x9, x8
	add	x1, x9, #1
	mov	x0, x8
	bl	_release_mem_region
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_davinci_i2s_dai,8,3            ; @davinci_i2s_dai
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.no_dead_strip	_davinci_i2s_remove
.subsections_via_symbols
