	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ibm_exit
_ibm_exit:                              ## @ibm_exit
	.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	_TPACPI_DBG_EXIT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dbg_printk
	leaq	56(%rbx), %rdi
	callq	_list_del_init
	cmpq	$0, 32(%rbx)
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_dbg_printk
	xorl	%edi, %edi
	cmpq	$0, 48(%rbx)
	sete	%dil
	callq	_BUG_ON
	movq	48(%rbx), %rax
	movq	16(%rax), %rcx
	movl	(%rcx), %edi
	movl	8(%rax), %esi
	movq	_dispatch_acpi_notify@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_acpi_remove_notify_handler
	movq	$0, 32(%rbx)
LBB0_2:
	cmpq	$0, 24(%rbx)
	je	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_dbg_printk
	movl	(%rbx), %edi
	movq	_proc_dir@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_remove_proc_entry
	movq	$0, 24(%rbx)
LBB0_4:
	cmpq	$0, 16(%rbx)
	je	LBB0_6
## %bb.5:
	movl	(%r14), %edi
	movl	(%rbx), %edx
	leaq	L_.str.3(%rip), %rsi
	callq	_dbg_printk
	xorl	%edi, %edi
	cmpq	$0, 48(%rbx)
	sete	%dil
	callq	_BUG_ON
	movq	48(%rbx), %rax
	movq	(%rax), %rdi
	callq	_acpi_bus_unregister_driver
	movq	48(%rbx), %rax
	movq	(%rax), %rdi
	callq	_kfree
	movq	48(%rbx), %rax
	movq	$0, (%rax)
	movq	$0, 16(%rbx)
LBB0_6:
	cmpq	$0, 8(%rbx)
	je	LBB0_9
## %bb.7:
	movq	40(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	*%rcx
	movq	$0, 8(%rbx)
LBB0_9:
	movq	_TPACPI_DBG_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str.4(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dbg_printk                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TPACPI_DBG_EXIT,4,2            ## @TPACPI_DBG_EXIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"removing %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: acpi_remove_notify_handler\n"

	.comm	_dispatch_acpi_notify,4,2       ## @dispatch_acpi_notify
L_.str.2:                               ## @.str.2
	.asciz	"%s: remove_proc_entry\n"

	.comm	_proc_dir,4,2                   ## @proc_dir
L_.str.3:                               ## @.str.3
	.asciz	"%s: acpi_bus_unregister_driver\n"

	.comm	_TPACPI_DBG_INIT,4,2            ## @TPACPI_DBG_INIT
L_.str.4:                               ## @.str.4
	.asciz	"finished removing %s\n"

	.no_dead_strip	_ibm_exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ibm_exit
_ibm_exit:                              ; @ibm_exit
	.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	x20, _TPACPI_DBG_EXIT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _TPACPI_DBG_EXIT@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	w2, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dbg_printk
	add	x0, x19, #56
	bl	_list_del_init
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	ldr	w2, [x19]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dbg_printk
	ldr	x8, [x19, #48]
	cmp	x8, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x8, [x19, #48]
	ldr	x9, [x8, #16]
	ldr	w0, [x9]
	ldr	w1, [x8, #8]
Lloh6:
	adrp	x8, _dispatch_acpi_notify@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dispatch_acpi_notify@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_acpi_remove_notify_handler
	str	xzr, [x19, #32]
LBB0_2:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x20]
	ldr	w2, [x19]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dbg_printk
	ldr	w0, [x19]
Lloh11:
	adrp	x8, _proc_dir@GOTPAGE
Lloh12:
	ldr	x8, [x8, _proc_dir@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_remove_proc_entry
	str	xzr, [x19, #24]
LBB0_4:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w0, [x20]
	ldr	w2, [x19]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dbg_printk
	ldr	x8, [x19, #48]
	cmp	x8, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x8, [x19, #48]
	ldr	x0, [x8]
	bl	_acpi_bus_unregister_driver
	ldr	x8, [x19, #48]
	ldr	x0, [x8]
	bl	_kfree
	ldr	x8, [x19, #48]
	str	xzr, [x8]
	str	xzr, [x19, #16]
LBB0_6:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_9
; %bb.7:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_9
; %bb.8:
	blr	x8
	str	xzr, [x19, #8]
LBB0_9:
Lloh16:
	adrp	x8, _TPACPI_DBG_INIT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TPACPI_DBG_INIT@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldr	w2, [x19]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dbg_printk
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_TPACPI_DBG_EXIT,4,2            ; @TPACPI_DBG_EXIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"removing %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: acpi_remove_notify_handler\n"

	.comm	_dispatch_acpi_notify,4,2       ; @dispatch_acpi_notify
l_.str.2:                               ; @.str.2
	.asciz	"%s: remove_proc_entry\n"

	.comm	_proc_dir,4,2                   ; @proc_dir
l_.str.3:                               ; @.str.3
	.asciz	"%s: acpi_bus_unregister_driver\n"

	.comm	_TPACPI_DBG_INIT,4,2            ; @TPACPI_DBG_INIT
l_.str.4:                               ; @.str.4
	.asciz	"finished removing %s\n"

	.no_dead_strip	_ibm_exit
.subsections_via_symbols
