	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_timer_init_params         ## -- Begin function mips_timer_init_params
	.p2align	4, 0x90
_mips_timer_init_params:                ## @mips_timer_init_params
	.cfi_startproc
## %bb.0:
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movl	%edi, %eax
	shrl	$31, %eax
	addl	%edi, %eax
	sarl	%eax
	movl	%eax, %edi
LBB0_2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_counter_freq@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	movslq	%edi, %rsi
	imulq	$1125899907, %rsi, %rax         ## imm = 0x431BDE83
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$50, %rax
	addl	%ecx, %eax
	movq	_cycles_per_usec@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_tick_ticker@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$1, %edx
	popq	%rbp
	jmp	_set_cputicker                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_counter_freq,4,2               ## @counter_freq
	.comm	_cycles_per_usec,4,2            ## @cycles_per_usec
	.comm	_tick_ticker,4,2                ## @tick_ticker
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mips_timer_init_params         ; -- Begin function mips_timer_init_params
	.p2align	2
_mips_timer_init_params:                ; @mips_timer_init_params
	.cfi_startproc
; %bb.0:
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w8, w8, #1
	cmp	w1, #0
	csel	w1, w0, w8, eq
Lloh0:
	adrp	x8, _counter_freq@GOTPAGE
Lloh1:
	ldr	x8, [x8, _counter_freq@GOTPAGEOFF]
Lloh2:
	str	w1, [x8]
	mov	w8, #56963
	movk	w8, #17179, lsl #16
	smull	x8, w1, w8
	lsr	x9, x8, #63
	asr	x8, x8, #50
	add	w8, w8, w9
Lloh3:
	adrp	x9, _cycles_per_usec@GOTPAGE
Lloh4:
	ldr	x9, [x9, _cycles_per_usec@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
Lloh6:
	adrp	x8, _tick_ticker@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tick_ticker@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w2, #1
	b	_set_cputicker
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_counter_freq,4,2               ; @counter_freq
	.comm	_cycles_per_usec,4,2            ; @cycles_per_usec
	.comm	_tick_ticker,4,2                ; @tick_ticker
.subsections_via_symbols
