	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_odml_entry
_update_odml_entry:                     ## @update_odml_entry
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	16(%rdi), %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %r13
	movslq	%esi, %r12
	movq	(%rax,%r12,8), %rax
	movq	8(%rax), %r14
	movq	%rbx, %rdi
	callq	_avio_flush
	movq	%rbx, %rdi
	callq	_avio_tell
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	24(%r14), %rsi
	addq	$-8, %rsi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_avio_seek
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ffio_wfourcc
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_avio_skip
	movl	(%r13), %esi
	subl	8(%r14), %esi
	movq	%rbx, %rdi
	callq	_avio_wl32
	movl	(%r13), %esi
	subl	8(%r14), %esi
	shll	$4, %esi
	movq	%rbx, %rdi
	callq	_avio_skip
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_avio_wl64
	movq	%rbx, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_avio_wl32
	movq	(%r15), %rax
	movq	(%rax,%r12,8), %rdi
	leaq	-80(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	leaq	-76(%rbp), %rcx
	callq	_ff_parse_specific_params
	movq	(%r15), %rax
	movq	(%rax,%r12,8), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movl	-44(%rbp), %ecx
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.2:
	movl	(%r14), %r12d
	subl	12(%r14), %r12d
	movl	%r12d, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jle	LBB0_3
## %bb.4:
	cmpl	$0, 4(%r14)
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_avpriv_request_sample
	movl	$1, 4(%r14)
	movl	-44(%rbp), %ecx
	jmp	LBB0_6
LBB0_7:
	movl	16(%r14), %esi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_3:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_6:
	movl	%r12d, %eax
	cltd
	idivl	%ecx
	movl	%eax, %esi
LBB0_8:
	movq	%rbx, %rdi
	callq	_avio_wl32
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_avio_seek
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"indx"

	.comm	_AVMEDIA_TYPE_AUDIO,8,3         ## @AVMEDIA_TYPE_AUDIO
L_.str.1:                               ## @.str.1
	.asciz	"OpenDML index duration for audio packets with partial frames"

	.no_dead_strip	_update_odml_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_odml_entry
_update_odml_entry:                     ; @update_odml_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x23, x2
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x21, x0
	ldp	x27, x19, [x0, #8]
	ldr	x8, [x0]
	sbfiz	x26, x1, #3, #32
	ldr	x8, [x8, x26]
	ldr	x25, [x8, #8]
	mov	x0, x19
	bl	_avio_flush
	mov	x0, x19
	bl	_avio_tell
	mov	x20, x0
	ldr	x8, [x25, #24]
	sub	x1, x8, #8
Lloh0:
	adrp	x24, _SEEK_SET@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SEEK_SET@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x19
	bl	_avio_seek
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ffio_wfourcc
	mov	x0, x19
	mov	w1, #8
	bl	_avio_skip
	ldr	w8, [x27]
	ldr	w9, [x25, #8]
	sub	w1, w8, w9
	mov	x0, x19
	bl	_avio_wl32
	ldr	w8, [x27]
	ldr	w9, [x25, #8]
	sub	w8, w8, w9
	lsl	w1, w8, #4
	mov	x0, x19
	bl	_avio_skip
	mov	x0, x19
	mov	x1, x23
	bl	_avio_wl64
	mov	x0, x19
	mov	x1, x22
	bl	_avio_wl32
	ldr	x8, [x21]
	ldr	x0, [x8, x26]
	add	x1, sp, #12
	add	x2, sp, #8
	add	x3, sp, #4
	bl	_ff_parse_specific_params
	ldr	x8, [x21]
	ldr	x8, [x8, x26]
	ldr	x8, [x8]
	ldr	x9, [x8]
Lloh4:
	adrp	x8, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x8]
	ldr	w8, [sp, #8]
	cmp	x9, x10
	ccmp	w8, #1, #8, eq
	b.ge	LBB0_2
; %bb.1:
	ldr	w1, [x25, #16]
	b	LBB0_6
LBB0_2:
	ldr	w9, [x25]
	ldr	w10, [x25, #12]
	sub	w22, w9, w10
	sdiv	w9, w22, w8
	msub	w9, w9, w8, w22
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.3:
	ldr	w9, [x25, #4]
	cbnz	w9, LBB0_5
; %bb.4:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_avpriv_request_sample
	mov	w8, #1
	str	w8, [x25, #4]
	ldr	w8, [sp, #8]
LBB0_5:
	sdiv	w1, w22, w8
LBB0_6:
	mov	x0, x19
	bl	_avio_wl32
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x20
	bl	_avio_seek
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"indx"

	.comm	_AVMEDIA_TYPE_AUDIO,8,3         ; @AVMEDIA_TYPE_AUDIO
l_.str.1:                               ; @.str.1
	.asciz	"OpenDML index duration for audio packets with partial frames"

	.no_dead_strip	_update_odml_entry
.subsections_via_symbols
