	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxf_write_identification
_mxf_write_identification:              ## @mxf_write_identification
	.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	%rdi, %r14
	movq	24(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r15
	movq	16(%rdi), %rbx
	movq	%rbx, %rdi
	movl	$77824, %esi                    ## imm = 0x13000
	callq	_mxf_write_metadata_key
	movq	(%rbx), %rdx
	addq	$-16, %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_PRINT_KEY
	movq	_AVFMT_FLAG_BITEXACT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.4(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_LIBAVFORMAT_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AV_STRINGIFY
LBB0_3:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	_ff_mxf_opatom_muxer@GOTPCREL(%rip), %r15
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r12
	cmoveq	%rax, %r12
	leaq	L_.str(%rip), %rdi
	callq	_mxf_utf16_local_tag_length
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_mxf_utf16_local_tag_length
	movl	%eax, %r15d
	addl	%r13d, %r15d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_mxf_utf16_local_tag_length
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r15), %esi
	addl	$100, %esi
	movq	%rbx, %rdi
	callq	_klv_encode_ber_length
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$15370, %edx                    ## imm = 0x3C0A
	callq	_mxf_write_local_tag
	movq	_Identification@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_mxf_write_uuid
	movq	(%rbx), %rdx
	addq	$-16, %rdx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_PRINT_KEY
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$15369, %edx                    ## imm = 0x3C09
	callq	_mxf_write_local_tag
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_mxf_write_uuid
	movq	%rbx, %rdi
	movl	$15361, %esi                    ## imm = 0x3C01
	leaq	L_.str(%rip), %rdx
	callq	_mxf_write_local_tag_utf16
	movq	%rbx, %rdi
	movl	$15362, %esi                    ## imm = 0x3C02
	movq	%r12, %rdx
	callq	_mxf_write_local_tag_utf16
	movq	%rbx, %rdi
	movl	$10, %esi
	movl	$15363, %edx                    ## imm = 0x3C03
	callq	_mxf_write_local_tag
	movq	%r14, %rdi
	callq	_store_version
	movq	%rbx, %rdi
	movl	$15364, %esi                    ## imm = 0x3C04
	movq	%r13, %rdx
	callq	_mxf_write_local_tag_utf16
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$15365, %edx                    ## imm = 0x3C05
	callq	_mxf_write_local_tag
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_mxf_write_uuid
	movq	%rbx, %rdi
	movl	$8, %esi
	movl	$15366, %edx                    ## imm = 0x3C06
	callq	_mxf_write_local_tag
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_avio_wb64
	movq	%rbx, %rdi
	movl	$10, %esi
	movl	$15367, %edx                    ## imm = 0x3C07
	callq	_mxf_write_local_tag
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_store_version                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FFmpeg"

	.comm	_ff_mxf_opatom_muxer,4,2        ## @ff_mxf_opatom_muxer
L_.str.1:                               ## @.str.1
	.asciz	"OP1a Muxer"

L_.str.2:                               ## @.str.2
	.asciz	"OPAtom Muxer"

L_.str.3:                               ## @.str.3
	.asciz	"identification key"

	.comm	_AVFMT_FLAG_BITEXACT,4,2        ## @AVFMT_FLAG_BITEXACT
L_.str.4:                               ## @.str.4
	.asciz	"0.0.0"

	.comm	_LIBAVFORMAT_VERSION,4,2        ## @LIBAVFORMAT_VERSION
	.comm	_Identification,4,2             ## @Identification
L_.str.5:                               ## @.str.5
	.asciz	"identification uid"

	.no_dead_strip	_mxf_write_identification
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxf_write_identification
_mxf_write_identification:              ; @mxf_write_identification
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldp	x20, x25, [x0, #16]
	ldr	x22, [x0, #8]
	mov	x0, x20
	mov	w1, #12288
	movk	w1, #1, lsl #16
	bl	_mxf_write_metadata_key
	ldr	x8, [x20]
	sub	x2, x8, #16
Lloh0:
	adrp	x1, l_.str.3@PAGE
Lloh1:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_PRINT_KEY
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _AVFMT_FLAG_BITEXACT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AVFMT_FLAG_BITEXACT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x21, l_.str.4@PAGE
Lloh6:
	add	x21, x21, l_.str.4@PAGEOFF
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x8, _LIBAVFORMAT_VERSION@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LIBAVFORMAT_VERSION@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_AV_STRINGIFY
	mov	x21, x0
LBB0_3:
Lloh10:
	adrp	x8, _ff_mxf_opatom_muxer@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ff_mxf_opatom_muxer@GOTPAGEOFF]
Lloh12:
	adrp	x9, l_.str.1@PAGE
Lloh13:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh14:
	adrp	x10, l_.str.2@PAGE
Lloh15:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x22, x8
	csel	x22, x10, x9, eq
Lloh16:
	adrp	x23, l_.str@PAGE
Lloh17:
	add	x23, x23, l_.str@PAGEOFF
	mov	x0, x23
	bl	_mxf_utf16_local_tag_length
	mov	x24, x0
	mov	x0, x22
	bl	_mxf_utf16_local_tag_length
	add	w24, w24, w0
	mov	x0, x21
	bl	_mxf_utf16_local_tag_length
	add	w8, w24, w0
	add	w1, w8, #100
	mov	x0, x20
	bl	_klv_encode_ber_length
	mov	x0, x20
	mov	w1, #16
	mov	w2, #15370
	bl	_mxf_write_local_tag
Lloh18:
	adrp	x24, _Identification@GOTPAGE
Lloh19:
	ldr	x24, [x24, _Identification@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	mov	w2, #0
	bl	_mxf_write_uuid
	ldr	x8, [x20]
	sub	x2, x8, #16
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_PRINT_KEY
	mov	x0, x20
	mov	w1, #16
	mov	w2, #15369
	bl	_mxf_write_local_tag
	ldr	w1, [x24]
	mov	x0, x20
	mov	w2, #1
	bl	_mxf_write_uuid
	mov	x0, x20
	mov	w1, #15361
	mov	x2, x23
	bl	_mxf_write_local_tag_utf16
	mov	x0, x20
	mov	w1, #15362
	mov	x2, x22
	bl	_mxf_write_local_tag_utf16
	mov	x0, x20
	mov	w1, #10
	mov	w2, #15363
	bl	_mxf_write_local_tag
	mov	x0, x19
	bl	_store_version
	mov	x0, x20
	mov	w1, #15364
	mov	x2, x21
	bl	_mxf_write_local_tag_utf16
	mov	x0, x20
	mov	w1, #16
	mov	w2, #15365
	bl	_mxf_write_local_tag
	ldr	w1, [x24]
	mov	x0, x20
	mov	w2, #2
	bl	_mxf_write_uuid
	mov	x0, x20
	mov	w1, #8
	mov	w2, #15366
	bl	_mxf_write_local_tag
	ldr	w1, [x25]
	mov	x0, x20
	bl	_avio_wb64
	mov	x0, x20
	mov	w1, #10
	mov	w2, #15367
	bl	_mxf_write_local_tag
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_store_version
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FFmpeg"

	.comm	_ff_mxf_opatom_muxer,4,2        ; @ff_mxf_opatom_muxer
l_.str.1:                               ; @.str.1
	.asciz	"OP1a Muxer"

l_.str.2:                               ; @.str.2
	.asciz	"OPAtom Muxer"

l_.str.3:                               ; @.str.3
	.asciz	"identification key"

	.comm	_AVFMT_FLAG_BITEXACT,4,2        ; @AVFMT_FLAG_BITEXACT
l_.str.4:                               ; @.str.4
	.asciz	"0.0.0"

	.comm	_LIBAVFORMAT_VERSION,4,2        ; @LIBAVFORMAT_VERSION
	.comm	_Identification,4,2             ; @Identification
l_.str.5:                               ; @.str.5
	.asciz	"identification uid"

	.no_dead_strip	_mxf_write_identification
.subsections_via_symbols
