	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpc85xx_rcpm_attach
_mpc85xx_rcpm_attach:                   ## @mpc85xx_rcpm_attach
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	callq	_device_get_softc
	movq	%rax, %r14
	movq	_mpc85xx_rcpm_freeze_timebase@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_freeze_timebase@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_rcpm_dev@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movl	$0, -20(%rbp)
	movq	_SYS_RES_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RF_ACTIVE@GOTPCREL(%rip), %rax
	movq	_RF_SHAREABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	-20(%rbp), %rdx
	movl	%ebx, %edi
	callq	_bus_alloc_resource_any
	movl	%eax, (%r14)
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mpc85xx_rcpm_freeze_timebase,4,2 ## @mpc85xx_rcpm_freeze_timebase
	.comm	_freeze_timebase,4,2            ## @freeze_timebase
	.comm	_rcpm_dev,4,2                   ## @rcpm_dev
	.comm	_SYS_RES_MEMORY,4,2             ## @SYS_RES_MEMORY
	.comm	_RF_ACTIVE,4,2                  ## @RF_ACTIVE
	.comm	_RF_SHAREABLE,4,2               ## @RF_SHAREABLE
	.no_dead_strip	_mpc85xx_rcpm_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpc85xx_rcpm_attach
_mpc85xx_rcpm_attach:                   ; @mpc85xx_rcpm_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	_device_get_softc
	mov	x20, x0
Lloh0:
	adrp	x8, _mpc85xx_rcpm_freeze_timebase@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mpc85xx_rcpm_freeze_timebase@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _freeze_timebase@GOTPAGE
Lloh4:
	ldr	x9, [x9, _freeze_timebase@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
Lloh6:
	adrp	x8, _rcpm_dev@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rcpm_dev@GOTPAGEOFF]
Lloh8:
	str	w19, [x8]
	str	wzr, [sp, #12]
Lloh9:
	adrp	x8, _SYS_RES_MEMORY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SYS_RES_MEMORY@GOTPAGEOFF]
Lloh11:
	adrp	x9, _RF_ACTIVE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RF_ACTIVE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	ldr	w8, [x9]
Lloh15:
	adrp	x9, _RF_SHAREABLE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RF_SHAREABLE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x2, sp, #12
	mov	x0, x19
	bl	_bus_alloc_resource_any
	str	w0, [x20]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mpc85xx_rcpm_freeze_timebase,4,2 ; @mpc85xx_rcpm_freeze_timebase
	.comm	_freeze_timebase,4,2            ; @freeze_timebase
	.comm	_rcpm_dev,4,2                   ; @rcpm_dev
	.comm	_SYS_RES_MEMORY,4,2             ; @SYS_RES_MEMORY
	.comm	_RF_ACTIVE,4,2                  ; @RF_ACTIVE
	.comm	_RF_SHAREABLE,4,2               ; @RF_SHAREABLE
	.no_dead_strip	_mpc85xx_rcpm_attach
.subsections_via_symbols
