	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function temp_to_reg
_temp_to_reg:                           ## @temp_to_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	js	LBB0_3
## %bb.1:
	cmpq	$255000, %rdi                   ## imm = 0x3E418
	jbe	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	addq	$500, %rdi                      ## imm = 0x1F4
	movabsq	$2361183241434822607, %rcx      ## imm = 0x20C49BA5E353F7CF
	movq	%rdi, %rax
	imulq	%rcx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	shrq	$63, %rcx
	sarq	$7, %rax
	addq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_temp_to_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function temp_to_reg
_temp_to_reg:                           ; @temp_to_reg
	.cfi_startproc
; %bb.0:
	tbnz	x0, #63, LBB0_2
; %bb.1:
	add	x8, x0, #500
	mov	x9, #63439
	movk	x9, #58195, lsl #16
	movk	x9, #39845, lsl #32
	movk	x9, #8388, lsl #48
	smulh	x8, x8, x9
	asr	x9, x8, #7
	add	x8, x9, x8, lsr #63
	mov	w9, #58392
	movk	w9, #3, lsl #16
	cmp	x0, x9
	csel	x0, xzr, x8, hi
	ret
LBB0_2:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_temp_to_reg
.subsections_via_symbols
