	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_odml_master
_write_odml_master:                     ## @write_odml_master
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %r13
	movq	(%rdi), %rax
	movq	8(%rdi), %r15
	movslq	%esi, %r14
	movq	(%rax,%r14,8), %rax
	movq	(%rax), %rbx
	movq	8(%rax), %r12
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_ff_start_tag
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, (%rbx)
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_avio_wl16
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_avio_w8
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_avio_w8
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_avio_wl32
	movl	(%r12), %edx
	leaq	-53(%rbp), %rdi
	movl	%r14d, %esi
	callq	_avi_stream2fourcc
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_ffio_wfourcc
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_avio_wl64
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_avio_wl32
	cmpl	$0, (%r15)
	jle	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_avio_wl64
	incl	%ebx
	movl	(%r15), %eax
	addl	%eax, %eax
	cmpl	%eax, %ebx
	jl	LBB0_1
LBB0_2:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ff_end_tag
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"JUNK"

	.no_dead_strip	_write_odml_master
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_odml_master
_write_odml_master:                     ; @write_odml_master
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	ldp	x21, x19, [x0, #8]
	ldr	x8, [x0]
	ldr	x8, [x8, w1, sxtw #3]
	ldp	x22, x23, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ff_start_tag
	str	w0, [x22]
	mov	x0, x19
	mov	w1, #4
	bl	_avio_wl16
	mov	x0, x19
	mov	w1, #0
	bl	_avio_w8
	mov	x0, x19
	mov	w1, #0
	bl	_avio_w8
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wl32
	ldr	w2, [x23]
	add	x0, sp, #11
	mov	x1, x20
	bl	_avi_stream2fourcc
	mov	x1, x0
	mov	x0, x19
	bl	_ffio_wfourcc
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wl64
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wl32
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wl64
	add	w20, w20, #1
	ldr	w8, [x21]
	cmp	w20, w8, lsl #1
	b.lt	LBB0_2
LBB0_3:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ff_end_tag
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"JUNK"

	.no_dead_strip	_write_odml_master
.subsections_via_symbols
