	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmel_hlcdc_dc_unload
_atmel_hlcdc_dc_unload:                 ## @atmel_hlcdc_dc_unload
	.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, %rbx
	movq	8(%rdi), %r14
	movl	(%r14), %edi
	callq	_flush_workqueue
	movq	%rbx, %rdi
	callq	_drm_kms_helper_poll_fini
	movq	%rbx, %rdi
	callq	_drm_atomic_helper_shutdown
	movq	%rbx, %rdi
	callq	_drm_mode_config_cleanup
	movl	(%rbx), %edi
	callq	_pm_runtime_get_sync
	movq	%rbx, %rdi
	callq	_drm_irq_uninstall
	movl	(%rbx), %edi
	callq	_pm_runtime_put_sync
	movq	$0, 8(%rbx)
	movl	(%rbx), %edi
	callq	_pm_runtime_disable
	movq	8(%r14), %rax
	movl	4(%rax), %edi
	callq	_clk_disable_unprepare
	movq	16(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	_clk_disable_unprepare
LBB0_2:
	movl	(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_destroy_workqueue              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_atmel_hlcdc_dc_unload
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmel_hlcdc_dc_unload
_atmel_hlcdc_dc_unload:                 ; @atmel_hlcdc_dc_unload
	.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
	ldr	x20, [x0, #8]
	ldr	w0, [x20]
	bl	_flush_workqueue
	mov	x0, x19
	bl	_drm_kms_helper_poll_fini
	mov	x0, x19
	bl	_drm_atomic_helper_shutdown
	mov	x0, x19
	bl	_drm_mode_config_cleanup
	ldr	w0, [x19]
	bl	_pm_runtime_get_sync
	mov	x0, x19
	bl	_drm_irq_uninstall
	ldr	w0, [x19]
	bl	_pm_runtime_put_sync
	str	xzr, [x19, #8]
	ldr	w0, [x19]
	bl	_pm_runtime_disable
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #4]
	bl	_clk_disable_unprepare
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_clk_disable_unprepare
LBB0_2:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_destroy_workqueue
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_atmel_hlcdc_dc_unload
.subsections_via_symbols
