	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxf_write_timecode_component
_mxf_write_timecode_component:          ## @mxf_write_timecode_component
	.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
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movq	8(%rdi), %r12
	movq	%rbx, %rdi
	movl	$70656, %esi                    ## imm = 0x11400
	callq	_mxf_write_metadata_key
	movq	%rbx, %rdi
	movl	$75, %esi
	callq	_klv_encode_ber_length
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$15370, %edx                    ## imm = 0x3C0A
	callq	_mxf_write_local_tag
	movq	_TimecodeComponent@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r12), %edx
	movq	%rbx, %rdi
	callq	_mxf_write_uuid
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_mxf_write_common_fields
	movq	%rbx, %rdi
	movl	$8, %esi
	movl	$5377, %edx                     ## imm = 0x1501
	callq	_mxf_write_local_tag
	movl	4(%r12), %esi
	movq	%rbx, %rdi
	callq	_avio_wb64
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	$5378, %edx                     ## imm = 0x1502
	callq	_mxf_write_local_tag
	movl	8(%r12), %esi
	movq	%rbx, %rdi
	callq	_avio_wb16
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$5379, %edx                     ## imm = 0x1503
	callq	_mxf_write_local_tag
	movq	_AV_TIMECODE_FLAG_DROPFRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	andl	(%r12), %eax
	setne	%sil
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_avio_w8                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TimecodeComponent,4,2          ## @TimecodeComponent
	.comm	_AV_TIMECODE_FLAG_DROPFRAME,4,2 ## @AV_TIMECODE_FLAG_DROPFRAME
	.no_dead_strip	_mxf_write_timecode_component
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxf_write_timecode_component
_mxf_write_timecode_component:          ; @mxf_write_timecode_component
	.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
	mov	x20, x1
	mov	x21, x0
	ldp	x19, x22, [x0]
	mov	x0, x19
	mov	w1, #5120
	movk	w1, #1, lsl #16
	bl	_mxf_write_metadata_key
	mov	x0, x19
	mov	w1, #75
	bl	_klv_encode_ber_length
	mov	x0, x19
	mov	w1, #16
	mov	w2, #15370
	bl	_mxf_write_local_tag
Lloh0:
	adrp	x8, _TimecodeComponent@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TimecodeComponent@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x22, #12]
	mov	x0, x19
	bl	_mxf_write_uuid
	mov	x0, x21
	mov	x1, x20
	bl	_mxf_write_common_fields
	mov	x0, x19
	mov	w1, #8
	mov	w2, #5377
	bl	_mxf_write_local_tag
	ldr	w1, [x22, #4]
	mov	x0, x19
	bl	_avio_wb64
	mov	x0, x19
	mov	w1, #2
	mov	w2, #5378
	bl	_mxf_write_local_tag
	ldr	w1, [x22, #8]
	mov	x0, x19
	bl	_avio_wb16
	mov	x0, x19
	mov	w1, #1
	mov	w2, #5379
	bl	_mxf_write_local_tag
Lloh3:
	adrp	x8, _AV_TIMECODE_FLAG_DROPFRAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_TIMECODE_FLAG_DROPFRAME@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w9
	cset	w1, ne
	mov	x0, x19
	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
	b	_avio_w8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TimecodeComponent,4,2          ; @TimecodeComponent
	.comm	_AV_TIMECODE_FLAG_DROPFRAME,4,2 ; @AV_TIMECODE_FLAG_DROPFRAME
	.no_dead_strip	_mxf_write_timecode_component
.subsections_via_symbols
