	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_fb_helper_fini             ## -- Begin function drm_fb_helper_fini
	.p2align	4, 0x90
_drm_fb_helper_fini:                    ## @drm_fb_helper_fini
	.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
	movq	%rdi, %rbx
	callq	_list_empty
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_list_del
	movq	_kernel_fb_helper_list@GOTPCREL(%rip), %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	_panic_notifier_list@GOTPCREL(%rip), %rdi
	movq	_paniced@GOTPCREL(%rip), %rsi
	callq	_atomic_notifier_chain_unregister
	movq	_sysrq_drm_fb_helper_restore_op@GOTPCREL(%rip), %rsi
	movl	$118, %edi
	callq	_unregister_sysrq_key
LBB0_3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_drm_fb_helper_crtc_free        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_kernel_fb_helper_list,4,2      ## @kernel_fb_helper_list
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"drm: unregistered panic notifier\n"

	.comm	_panic_notifier_list,4,2        ## @panic_notifier_list
	.comm	_paniced,4,2                    ## @paniced
	.comm	_sysrq_drm_fb_helper_restore_op,4,2 ## @sysrq_drm_fb_helper_restore_op
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_fb_helper_fini             ; -- Begin function drm_fb_helper_fini
	.p2align	2
_drm_fb_helper_fini:                    ; @drm_fb_helper_fini
	.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
	bl	_list_empty
	cbnz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_list_del
Lloh0:
	adrp	x0, _kernel_fb_helper_list@GOTPAGE
Lloh1:
	ldr	x0, [x0, _kernel_fb_helper_list@GOTPAGEOFF]
	bl	_list_empty
	cbz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
Lloh4:
	adrp	x0, _panic_notifier_list@GOTPAGE
Lloh5:
	ldr	x0, [x0, _panic_notifier_list@GOTPAGEOFF]
Lloh6:
	adrp	x1, _paniced@GOTPAGE
Lloh7:
	ldr	x1, [x1, _paniced@GOTPAGEOFF]
	bl	_atomic_notifier_chain_unregister
Lloh8:
	adrp	x1, _sysrq_drm_fb_helper_restore_op@GOTPAGE
Lloh9:
	ldr	x1, [x1, _sysrq_drm_fb_helper_restore_op@GOTPAGEOFF]
	mov	w0, #118
	bl	_unregister_sysrq_key
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_drm_fb_helper_crtc_free
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_kernel_fb_helper_list,4,2      ; @kernel_fb_helper_list
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"drm: unregistered panic notifier\n"

	.comm	_panic_notifier_list,4,2        ; @panic_notifier_list
	.comm	_paniced,4,2                    ; @paniced
	.comm	_sysrq_drm_fb_helper_restore_op,4,2 ; @sysrq_drm_fb_helper_restore_op
.subsections_via_symbols
