	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sony_pf_remove
_sony_pf_remove:                        ## @sony_pf_remove
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_sony_pf_users@GOTPCREL(%rip), %rdi
	callq	_atomic_dec_and_test
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_sony_pf_device@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_platform_device_unregister
	movq	_sony_pf_driver@GOTPCREL(%rip), %rdi
	popq	%rbp
	jmp	_platform_driver_unregister     ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sony_pf_users,4,2              ## @sony_pf_users
	.comm	_sony_pf_device,4,2             ## @sony_pf_device
	.comm	_sony_pf_driver,4,2             ## @sony_pf_driver
	.no_dead_strip	_sony_pf_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sony_pf_remove
_sony_pf_remove:                        ; @sony_pf_remove
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, _sony_pf_users@GOTPAGE
Lloh1:
	ldr	x0, [x0, _sony_pf_users@GOTPAGEOFF]
	bl	_atomic_dec_and_test
	cbz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _sony_pf_device@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sony_pf_device@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_platform_device_unregister
Lloh5:
	adrp	x0, _sony_pf_driver@GOTPAGE
Lloh6:
	ldr	x0, [x0, _sony_pf_driver@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_platform_driver_unregister
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_sony_pf_users,4,2              ; @sony_pf_users
	.comm	_sony_pf_device,4,2             ; @sony_pf_device
	.comm	_sony_pf_driver,4,2             ; @sony_pf_driver
	.no_dead_strip	_sony_pf_remove
.subsections_via_symbols
