	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpc85xx_guts_freeze_timebase
_mpc85xx_guts_freeze_timebase:          ## @mpc85xx_guts_freeze_timebase
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	callq	_device_get_softc
	movq	%rax, %rbx
	movl	(%rax), %edi
	movq	_GUTS_DEVDISR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_bus_read_4
	movl	(%rbx), %edi
	movl	(%r15), %esi
	movq	_DEVDISR_TB0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_DEVDISR_TB1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	orl	%eax, %edx
	orl	%ecx, %edx
	jmp	LBB0_3
LBB0_2:
	orl	%edx, %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, %edx
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bus_write_4                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GUTS_DEVDISR,4,2               ## @GUTS_DEVDISR
	.comm	_DEVDISR_TB0,4,2                ## @DEVDISR_TB0
	.comm	_DEVDISR_TB1,4,2                ## @DEVDISR_TB1
	.no_dead_strip	_mpc85xx_guts_freeze_timebase
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpc85xx_guts_freeze_timebase
_mpc85xx_guts_freeze_timebase:          ; @mpc85xx_guts_freeze_timebase
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	bl	_device_get_softc
	mov	x20, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x21, _GUTS_DEVDISR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GUTS_DEVDISR@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_bus_read_4
	ldr	w8, [x20]
	ldr	w1, [x21]
Lloh2:
	adrp	x9, _DEVDISR_TB0@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DEVDISR_TB0@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _DEVDISR_TB1@GOTPAGE
Lloh6:
	ldr	x10, [x10, _DEVDISR_TB1@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	orr	w11, w10, w9
	bic	w11, w0, w11
	orr	w9, w9, w0
	orr	w9, w9, w10
	cmp	w19, #0
	csel	w2, w11, w9, eq
	mov	x0, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_bus_write_4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GUTS_DEVDISR,4,2               ; @GUTS_DEVDISR
	.comm	_DEVDISR_TB0,4,2                ; @DEVDISR_TB0
	.comm	_DEVDISR_TB1,4,2                ; @DEVDISR_TB1
	.no_dead_strip	_mpc85xx_guts_freeze_timebase
.subsections_via_symbols
