	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function piix4_adap_remove
_piix4_adap_remove:                     ## @piix4_adap_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_i2c_get_adapdata
	cmpq	$0, 8(%rax)
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_i2c_del_adapter
	cmpl	$0, (%rbx)
	jne	LBB0_3
## %bb.2:
	movq	8(%rbx), %rdi
	movq	_SMBIOSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_release_region
LBB0_3:
	movq	%rbx, %rdi
	callq	_kfree
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_piix4_port_shift_sb800,4,2     ## @piix4_port_shift_sb800
	.comm	_SMBIOSIZE,4,2                  ## @SMBIOSIZE
	.no_dead_strip	_piix4_adap_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function piix4_adap_remove
_piix4_adap_remove:                     ; @piix4_adap_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
	mov	x19, x0
	bl	_i2c_get_adapdata
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_i2c_del_adapter
	ldr	w8, [x20]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	x0, [x20, #8]
Lloh0:
	adrp	x8, _SMBIOSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMBIOSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_release_region
LBB0_3:
	mov	x0, x20
	bl	_kfree
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_piix4_port_shift_sb800,4,2     ; @piix4_port_shift_sb800
	.comm	_SMBIOSIZE,4,2                  ; @SMBIOSIZE
	.no_dead_strip	_piix4_adap_remove
.subsections_via_symbols
