	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_tvtoto
_php_tvtoto:                            ## @php_tvtoto
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	imull	$1000, (%rdi), %ecx             ## imm = 0x3E8
	movslq	4(%rdi), %rax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$38, %rax
	addl	%edx, %eax
	addl	%ecx, %eax
	popq	%rbp
                                        ## kill: def $eax killed $eax killed $rax
	retq
LBB0_1:
	movl	$-1, %eax
                                        ## kill: def $eax killed $eax killed $rax
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_php_tvtoto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_tvtoto
_php_tvtoto:                            ; @php_tvtoto
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, #1000
	ldp	w9, w10, [x0]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	mov	w11, #19923
	movk	w11, #4194, lsl #16
	mul	x10, x10, x11
	lsr	x11, x10, #63
	asr	x10, x10, #38
	add	w10, w10, w11
	madd	w0, w9, w8, w10
	ret
LBB0_2:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_php_tvtoto
.subsections_via_symbols
