	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmf_gpio_exit
_pmf_gpio_exit:                         ## @pmf_gpio_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_pmf_gpio_all_amps_off
	movq	$0, 48(%rbx)
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_pmf_unregister_irq_client
LBB0_2:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_pmf_unregister_irq_client
LBB0_4:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_pmf_unregister_irq_client
LBB0_6:
	leaq	44(%rbx), %rdi
	callq	_cancel_delayed_work
	leaq	28(%rbx), %rdi
	callq	_cancel_delayed_work
	leaq	12(%rbx), %rdi
	callq	_cancel_delayed_work
	xorl	%eax, %eax
	callq	_flush_scheduled_work
	leaq	40(%rbx), %rdi
	callq	_mutex_destroy
	leaq	24(%rbx), %rdi
	callq	_mutex_destroy
	leaq	8(%rbx), %rdi
	callq	_mutex_destroy
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_kfree
LBB0_8:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_kfree
LBB0_10:
	movq	(%rbx), %rdi
	addq	$8, %rsp
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.12:
	popq	%rbx
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_11:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pmf_gpio_exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmf_gpio_exit
_pmf_gpio_exit:                         ; @pmf_gpio_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
	bl	_pmf_gpio_all_amps_off
	str	xzr, [x19, #48]
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_pmf_unregister_irq_client
LBB0_2:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_pmf_unregister_irq_client
LBB0_4:
	ldr	x0, [x19]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_pmf_unregister_irq_client
LBB0_6:
	add	x0, x19, #44
	bl	_cancel_delayed_work
	add	x0, x19, #28
	bl	_cancel_delayed_work
	add	x0, x19, #12
	bl	_cancel_delayed_work
	bl	_flush_scheduled_work
	add	x0, x19, #40
	bl	_mutex_destroy
	add	x0, x19, #24
	bl	_mutex_destroy
	add	x0, x19, #8
	bl	_mutex_destroy
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_kfree
LBB0_8:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_kfree
LBB0_10:
	ldr	x0, [x19]
	cbz	x0, LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pmf_gpio_exit
.subsections_via_symbols
