	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpc85xx_jog_get
_mpc85xx_jog_get:                       ## @mpc85xx_jog_get
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movl	%edi, %r14d
	callq	_device_get_softc
	movq	%rax, %r15
	movq	_CPUFREQ_VAL_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_memset
	movq	_GUTS_PORPLLSR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ccsr_read4
	movl	(%r15), %esi
	movl	%eax, %edi
	callq	_PMJCR_GET_CORE_MULT
	movl	%eax, %r12d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_mpc85xx_get_system_clock
	imull	%r12d, %eax
	movq	_MHZ@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, 4(%rbx)
	movl	%r14d, (%rbx)
	jmp	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_3:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CPUFREQ_VAL_UNKNOWN,4,2        ## @CPUFREQ_VAL_UNKNOWN
	.comm	_GUTS_PORPLLSR,4,2              ## @GUTS_PORPLLSR
	.comm	_MHZ,4,2                        ## @MHZ
	.no_dead_strip	_mpc85xx_jog_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpc85xx_jog_get
_mpc85xx_jog_get:                       ; @mpc85xx_jog_get
	.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
	cbz	x1, LBB0_2
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_device_get_softc
	mov	x21, x0
Lloh0:
	adrp	x8, _CPUFREQ_VAL_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPUFREQ_VAL_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #8
	bl	_memset
Lloh3:
	adrp	x8, _GUTS_PORPLLSR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GUTS_PORPLLSR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_ccsr_read4
	ldr	w1, [x21]
	bl	_PMJCR_GET_CORE_MULT
	mov	x21, x0
	bl	_mpc85xx_get_system_clock
	mov	x8, x0
	mov	w0, #0
	mul	w8, w8, w21
Lloh6:
	adrp	x9, _MHZ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MHZ@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	stp	w20, w8, [x19]
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_3:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CPUFREQ_VAL_UNKNOWN,4,2        ; @CPUFREQ_VAL_UNKNOWN
	.comm	_GUTS_PORPLLSR,4,2              ; @GUTS_PORPLLSR
	.comm	_MHZ,4,2                        ; @MHZ
	.no_dead_strip	_mpc85xx_jog_get
.subsections_via_symbols
