	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dv_get_audio_sample_count
_dv_get_audio_sample_count:             ## @dv_get_audio_sample_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movl	12(%rdi), %ecx
	shrl	$3, %ecx
	andl	$7, %ecx
	cmpl	$1, %ecx
	je	LBB0_3
## %bb.1:
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.2:
	testl	%esi, %esi
	movl	$1580, %edx                     ## imm = 0x62C
	movl	$1896, %ecx                     ## imm = 0x768
	jmp	LBB0_5
LBB0_3:
	testl	%esi, %esi
	movl	$1452, %edx                     ## imm = 0x5AC
	movl	$1742, %ecx                     ## imm = 0x6CE
	jmp	LBB0_5
LBB0_4:
	testl	%esi, %esi
	movl	$1053, %edx                     ## imm = 0x41D
	movl	$1264, %ecx                     ## imm = 0x4F0
LBB0_5:
	cmovel	%edx, %ecx
	andl	$63, %eax
	addl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dv_get_audio_sample_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dv_get_audio_sample_count
_dv_get_audio_sample_count:             ; @dv_get_audio_sample_count
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	ldr	w9, [x0, #12]
	ubfx	w9, w9, #3, #3
	mov	w10, #1742
	mov	w11, #1452
	cmp	w1, #0
	csel	w10, w11, w10, eq
	mov	w11, #1264
	mov	w12, #1053
	csel	w11, w12, w11, eq
	mov	w12, #1896
	mov	w13, #1580
	cmp	w1, #0
	csel	w12, w13, w12, eq
	cmp	w9, #0
	csel	w11, w11, w12, ne
	cmp	w9, #1
	csel	w9, w10, w11, eq
	and	w8, w8, #0x3f
	add	w0, w9, w8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dv_get_audio_sample_count
.subsections_via_symbols
