	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dss_remove
_dss_remove:                            ## @dss_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
	callq	_platform_get_drvdata
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_of_platform_depopulate
	movq	_dss_component_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_component_master_del
	movl	20(%rbx), %edi
	callq	_dss_debugfs_remove_file
	movl	16(%rbx), %edi
	callq	_dss_debugfs_remove_file
	movq	%rbx, %rdi
	callq	_dss_uninitialize_debugfs
	movq	%r14, %rdi
	callq	_pm_runtime_disable
	movq	%rbx, %rdi
	callq	_dss_uninit_ports
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_dss_video_pll_uninit
LBB0_2:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_dss_video_pll_uninit
LBB0_4:
	movq	%rbx, %rdi
	callq	_dss_put_clocks
	movq	%rbx, %rdi
	callq	_kfree
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dss_component_ops,4,2          ## @dss_component_ops
	.no_dead_strip	_dss_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dss_remove
_dss_remove:                            ; @dss_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	x20, x0
	bl	_platform_get_drvdata
	mov	x19, x0
	mov	x0, x20
	bl	_of_platform_depopulate
Lloh0:
	adrp	x1, _dss_component_ops@GOTPAGE
Lloh1:
	ldr	x1, [x1, _dss_component_ops@GOTPAGEOFF]
	mov	x0, x20
	bl	_component_master_del
	ldr	w0, [x19, #20]
	bl	_dss_debugfs_remove_file
	ldr	w0, [x19, #16]
	bl	_dss_debugfs_remove_file
	mov	x0, x19
	bl	_dss_uninitialize_debugfs
	mov	x0, x20
	bl	_pm_runtime_disable
	mov	x0, x19
	bl	_dss_uninit_ports
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_dss_video_pll_uninit
LBB0_2:
	ldr	x0, [x19]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_dss_video_pll_uninit
LBB0_4:
	mov	x0, x19
	bl	_dss_put_clocks
	mov	x0, x19
	bl	_kfree
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dss_component_ops,4,2          ; @dss_component_ops
	.no_dead_strip	_dss_remove
.subsections_via_symbols
