	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ov_pcm_total                   ## -- Begin function ov_pcm_total
	.p2align	4, 0x90
_ov_pcm_total:                          ## @ov_pcm_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), %rcx
	movq	_OPENED@GOTPCREL(%rip), %rdx
	movq	_OV_EINVAL@GOTPCREL(%rip), %rax
	cmpq	(%rdx), %rcx
	jl	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	cmpl	$0, 24(%rdi)
	je	LBB0_7
## %bb.2:
	movl	8(%r14), %r12d
	cmpl	%esi, %r12d
	jle	LBB0_7
## %bb.3:
	testl	%esi, %esi
	js	LBB0_4
## %bb.6:
	leal	(%rsi,%rsi), %eax
	incl	%eax
	cltq
	shlq	$3, %rax
	addq	16(%r14), %rax
LBB0_7:
	movq	(%rax), %r15
LBB0_8:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	testl	%r12d, %r12d
	jle	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ov_pcm_total
	addq	%rax, %r15
	incl	%ebx
	cmpl	%ebx, %r12d
	jne	LBB0_5
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_OPENED,8,3                     ## @OPENED
	.comm	_OV_EINVAL,8,3                  ## @OV_EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ov_pcm_total                   ; -- Begin function ov_pcm_total
	.p2align	2
_ov_pcm_total:                          ; @ov_pcm_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, #24]
	cbz	w8, LBB0_5
; %bb.2:
	ldr	w22, [x19, #8]
	cmp	w22, w1
	b.le	LBB0_5
; %bb.3:
	tbnz	w1, #31, LBB0_8
; %bb.4:
	ldr	x8, [x19, #16]
	mov	w9, #1
	bfi	w9, w1, #1, #31
	add	x8, x8, w9, sxtw #3
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _OV_EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OV_EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	x20, [x8]
LBB0_7:
	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_8:
	cmp	w22, #1
	b.lt	LBB0_11
; %bb.9:
	mov	w21, #0
	mov	x20, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_ov_pcm_total
	add	x20, x0, x20
	add	w21, w21, #1
	cmp	w22, w21
	b.ne	LBB0_10
	b	LBB0_7
LBB0_11:
	mov	x20, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_OPENED,8,3                     ; @OPENED
	.comm	_OV_EINVAL,8,3                  ; @OV_EINVAL
.subsections_via_symbols
