	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omapdrm_cleanup
_omapdrm_cleanup:                       ## @omapdrm_cleanup
	.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	8(%rdi), %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DBG
	movq	%rbx, %rdi
	callq	_drm_dev_unregister
	movq	%rbx, %rdi
	callq	_omap_modeset_disable_external_hpd
	movq	%rbx, %rdi
	callq	_drm_kms_helper_poll_fini
	movq	%rbx, %rdi
	callq	_omap_fbdev_fini
	movq	%rbx, %rdi
	callq	_drm_atomic_helper_shutdown
	movq	%rbx, %rdi
	callq	_drm_mode_config_cleanup
	movq	%rbx, %rdi
	callq	_omap_drm_irq_uninstall
	movq	%rbx, %rdi
	callq	_omap_gem_deinit
	movl	(%r14), %edi
	callq	_destroy_workqueue
	movq	%rbx, %rdi
	callq	_omap_disconnect_pipelines
	movq	%r14, %rdi
	callq	_omap_crtc_pre_uninit
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_drm_dev_put                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_omapdrm_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omapdrm_cleanup
_omapdrm_cleanup:                       ; @omapdrm_cleanup
	.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]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG
	mov	x0, x20
	bl	_drm_dev_unregister
	mov	x0, x20
	bl	_omap_modeset_disable_external_hpd
	mov	x0, x20
	bl	_drm_kms_helper_poll_fini
	mov	x0, x20
	bl	_omap_fbdev_fini
	mov	x0, x20
	bl	_drm_atomic_helper_shutdown
	mov	x0, x20
	bl	_drm_mode_config_cleanup
	mov	x0, x20
	bl	_omap_drm_irq_uninstall
	mov	x0, x20
	bl	_omap_gem_deinit
	ldr	w0, [x19]
	bl	_destroy_workqueue
	mov	x0, x20
	bl	_omap_disconnect_pipelines
	mov	x0, x19
	bl	_omap_crtc_pre_uninit
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_drm_dev_put
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_omapdrm_cleanup
.subsections_via_symbols
