	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pca_isa_remove
_pca_isa_remove:                        ## @pca_isa_remove
	.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	_pca_isa_ops@GOTPCREL(%rip), %rdi
	callq	_i2c_del_adapter
	movq	_irq@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	testl	%edi, %edi
	js	LBB0_2
## %bb.1:
	callq	_disable_irq
	movl	(%rbx), %edi
	movq	_pca_isa_ops@GOTPCREL(%rip), %rsi
	callq	_free_irq
LBB0_2:
	movq	_base@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IO_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_release_region
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pca_isa_ops,4,2                ## @pca_isa_ops
	.comm	_irq,4,2                        ## @irq
	.comm	_base,4,2                       ## @base
	.comm	_IO_SIZE,4,2                    ## @IO_SIZE
	.no_dead_strip	_pca_isa_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pca_isa_remove
_pca_isa_remove:                        ; @pca_isa_remove
	.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
Lloh0:
	adrp	x0, _pca_isa_ops@GOTPAGE
Lloh1:
	ldr	x0, [x0, _pca_isa_ops@GOTPAGEOFF]
	bl	_i2c_del_adapter
Lloh2:
	adrp	x19, _irq@GOTPAGE
Lloh3:
	ldr	x19, [x19, _irq@GOTPAGEOFF]
	ldr	w0, [x19]
	tbnz	w0, #31, LBB0_2
; %bb.1:
	bl	_disable_irq
	ldr	w0, [x19]
Lloh4:
	adrp	x1, _pca_isa_ops@GOTPAGE
Lloh5:
	ldr	x1, [x1, _pca_isa_ops@GOTPAGEOFF]
	bl	_free_irq
LBB0_2:
Lloh6:
	adrp	x8, _base@GOTPAGE
Lloh7:
	ldr	x8, [x8, _base@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _IO_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IO_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_release_region
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_pca_isa_ops,4,2                ; @pca_isa_ops
	.comm	_irq,4,2                        ; @irq
	.comm	_base,4,2                       ; @base
	.comm	_IO_SIZE,4,2                    ; @IO_SIZE
	.no_dead_strip	_pca_isa_remove
.subsections_via_symbols
