	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxf_write_tape_descriptor
_mxf_write_tape_descriptor:             ## @mxf_write_tape_descriptor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	movl	$77312, %esi                    ## imm = 0x12E00
	callq	_mxf_write_metadata_key
	movq	(%rbx), %rdx
	addq	$-16, %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_PRINT_KEY
	movq	%rbx, %rdi
	movl	$20, %esi
	callq	_klv_encode_ber_length
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$15370, %edx                    ## imm = 0x3C0A
	callq	_mxf_write_local_tag
	movq	_TapeDescriptor@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_mxf_write_uuid
	movq	(%rbx), %rdx
	addq	$-16, %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PRINT_KEY                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tape descriptor key"

	.comm	_TapeDescriptor,4,2             ## @TapeDescriptor
L_.str.1:                               ## @.str.1
	.asciz	"tape_desc uid"

	.no_dead_strip	_mxf_write_tape_descriptor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxf_write_tape_descriptor
_mxf_write_tape_descriptor:             ; @mxf_write_tape_descriptor
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0]
	mov	x0, x20
	mov	w1, #11776
	movk	w1, #1, lsl #16
	bl	_mxf_write_metadata_key
	ldr	x8, [x20]
	sub	x2, x8, #16
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_PRINT_KEY
	mov	x0, x20
	mov	w1, #20
	bl	_klv_encode_ber_length
	mov	x0, x20
	mov	w1, #16
	mov	w2, #15370
	bl	_mxf_write_local_tag
Lloh2:
	adrp	x8, _TapeDescriptor@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TapeDescriptor@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_mxf_write_uuid
	ldr	x8, [x20]
	sub	x2, x8, #16
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PRINT_KEY
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tape descriptor key"

	.comm	_TapeDescriptor,4,2             ; @TapeDescriptor
l_.str.1:                               ; @.str.1
	.asciz	"tape_desc uid"

	.no_dead_strip	_mxf_write_tape_descriptor
.subsections_via_symbols
