	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ov_time_total                  ## -- Begin function ov_time_total
	.p2align	4, 0x90
_ov_time_total:                         ## @ov_time_total
	.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
                                        ## kill: def $esi killed $esi def $rsi
	movq	(%rdi), %rax
	movq	_OPENED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	cmpl	$0, 32(%rdi)
	je	LBB0_1
## %bb.3:
	movl	8(%r14), %r12d
	cmpl	%esi, %r12d
	jle	LBB0_1
## %bb.4:
	testl	%esi, %esi
	js	LBB0_5
## %bb.9:
	movq	16(%r14), %rcx
	movq	24(%r14), %rax
	leal	(%rsi,%rsi), %edx
	incl	%edx
	movslq	%edx, %rdx
	imull	$1000, (%rax,%rdx,8), %eax      ## imm = 0x3E8
	movl	%esi, %esi
	cltd
	idivl	(%rcx,%rsi,4)
	movl	%eax, %r15d
	jmp	LBB0_10
LBB0_1:
	movq	_OV_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_10:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	testl	%r12d, %r12d
	jle	LBB0_6
## %bb.7:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ov_time_total
	addl	%eax, %r15d
	incl	%ebx
	cmpl	%ebx, %r12d
	jne	LBB0_8
	jmp	LBB0_10
LBB0_6:
	xorl	%r15d, %r15d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_OPENED,8,3                     ## @OPENED
	.comm	_OV_EINVAL,4,2                  ## @OV_EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ov_time_total                  ; -- Begin function ov_time_total
	.p2align	2
_ov_time_total:                         ; @ov_time_total
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _OPENED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OPENED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #32]
	cbz	w8, LBB0_5
; %bb.2:
	ldr	w22, [x19, #8]
	cmp	w22, w1
	b.le	LBB0_5
; %bb.3:
	tbnz	w1, #31, LBB0_7
; %bb.4:
	mov	w8, #1
	bfi	w8, w1, #1, #31
	ldp	x10, x9, [x19, #16]
	ldr	x8, [x9, w8, sxtw #3]
	mov	w9, #1000
	mul	w8, w8, w9
	ldr	w9, [x10, w1, uxtw #2]
	sdiv	w20, w8, w9
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _OV_EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OV_EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
LBB0_6:
	mov	x0, x20
	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
LBB0_7:
	cmp	w22, #1
	b.lt	LBB0_10
; %bb.8:
	mov	w21, #0
	mov	w20, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_ov_time_total
	add	w20, w0, w20
	add	w21, w21, #1
	cmp	w22, w21
	b.ne	LBB0_9
	b	LBB0_6
LBB0_10:
	mov	w20, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_OPENED,8,3                     ; @OPENED
	.comm	_OV_EINVAL,4,2                  ; @OV_EINVAL
.subsections_via_symbols
