	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc8610_hpcd_machine_remove    ## -- Begin function mpc8610_hpcd_machine_remove
	.p2align	4, 0x90
_mpc8610_hpcd_machine_remove:           ## @mpc8610_hpcd_machine_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	(%rdi), %rbx
	movl	24(%rbx), %esi
	movq	8(%rbx), %rdi
	movq	16(%rbx), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_guts_set_dmacr
	movl	24(%rbx), %esi
	movq	8(%rbx), %rdi
	movq	16(%rbx), %rax
	movl	4(%rax), %edx
	xorl	%ecx, %ecx
	callq	_guts_set_dmacr
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.3:
	movq	_CCSR_GUTS_PMUXCR_SSI2_LA@GOTPCREL(%rip), %rax
	movq	_CCSR_GUTS_PMUXCR_SSI2_MASK@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_1:
	movq	_CCSR_GUTS_PMUXCR_SSI1_LA@GOTPCREL(%rip), %rax
	movq	_CCSR_GUTS_PMUXCR_SSI1_MASK@GOTPCREL(%rip), %rcx
LBB0_4:
	movq	8(%rbx), %rdi
	movl	(%rcx), %esi
	movl	(%rax), %edx
	callq	_clrsetbits_be32
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CCSR_GUTS_PMUXCR_SSI1_MASK,4,2 ## @CCSR_GUTS_PMUXCR_SSI1_MASK
	.comm	_CCSR_GUTS_PMUXCR_SSI1_LA,4,2   ## @CCSR_GUTS_PMUXCR_SSI1_LA
	.comm	_CCSR_GUTS_PMUXCR_SSI2_MASK,4,2 ## @CCSR_GUTS_PMUXCR_SSI2_MASK
	.comm	_CCSR_GUTS_PMUXCR_SSI2_LA,4,2   ## @CCSR_GUTS_PMUXCR_SSI2_LA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc8610_hpcd_machine_remove    ; -- Begin function mpc8610_hpcd_machine_remove
	.p2align	2
_mpc8610_hpcd_machine_remove:           ; @mpc8610_hpcd_machine_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
	ldr	x19, [x0]
	ldr	w1, [x19, #24]
	ldp	x0, x8, [x19, #8]
	ldr	w2, [x8]
	mov	w3, #0
	bl	_guts_set_dmacr
	ldr	w1, [x19, #24]
	ldp	x0, x8, [x19, #8]
	ldr	w2, [x8, #4]
	mov	w3, #0
	bl	_guts_set_dmacr
	ldr	w8, [x19]
	cbz	w8, LBB0_3
; %bb.1:
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _CCSR_GUTS_PMUXCR_SSI2_LA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CCSR_GUTS_PMUXCR_SSI2_LA@GOTPAGEOFF]
Lloh2:
	adrp	x9, _CCSR_GUTS_PMUXCR_SSI2_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CCSR_GUTS_PMUXCR_SSI2_MASK@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _CCSR_GUTS_PMUXCR_SSI1_LA@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CCSR_GUTS_PMUXCR_SSI1_LA@GOTPAGEOFF]
Lloh6:
	adrp	x9, _CCSR_GUTS_PMUXCR_SSI1_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CCSR_GUTS_PMUXCR_SSI1_MASK@GOTPAGEOFF]
LBB0_4:
	ldr	x0, [x19, #8]
	ldr	w1, [x9]
	ldr	w2, [x8]
	bl	_clrsetbits_be32
LBB0_5:
	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	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CCSR_GUTS_PMUXCR_SSI1_MASK,4,2 ; @CCSR_GUTS_PMUXCR_SSI1_MASK
	.comm	_CCSR_GUTS_PMUXCR_SSI1_LA,4,2   ; @CCSR_GUTS_PMUXCR_SSI1_LA
	.comm	_CCSR_GUTS_PMUXCR_SSI2_MASK,4,2 ; @CCSR_GUTS_PMUXCR_SSI2_MASK
	.comm	_CCSR_GUTS_PMUXCR_SSI2_LA,4,2   ; @CCSR_GUTS_PMUXCR_SSI2_LA
.subsections_via_symbols
