	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_write_sdtp_tag
_mov_write_sdtp_tag:                    ## @mov_write_sdtp_tag
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_avio_tell
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_ffio_wfourcc
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	cmpl	$0, (%r12)
	jle	LBB0_7
## %bb.1:
	xorl	%ebx, %ebx
	movq	_MOV_SAMPLE_DEPENDENCY_NO@GOTPCREL(%rip), %r15
	movq	_MOV_SYNC_SAMPLE@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %esi
	shll	$6, %esi
	shll	$4, %ecx
	shll	$2, %edx
	orl	%eax, %esi
	orl	%edx, %esi
	orl	%ecx, %esi
	movq	%r14, %rdi
	callq	_avio_w8
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MOV_SAMPLE_DEPENDENCY_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r12), %rcx
	movl	(%rcx,%rbx,4), %esi
	movq	_MOV_DISPOSABLE_SAMPLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%r15), %ecx
	movl	%eax, %edx
	andl	%esi, %edi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %edx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	andl	(%r13), %esi
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_MOV_SAMPLE_DEPENDENCY_YES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_6
LBB0_7:
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_update_size                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sdtp"

	.comm	_MOV_SAMPLE_DEPENDENCY_YES,4,2  ## @MOV_SAMPLE_DEPENDENCY_YES
	.comm	_MOV_SAMPLE_DEPENDENCY_UNKNOWN,4,2 ## @MOV_SAMPLE_DEPENDENCY_UNKNOWN
	.comm	_MOV_DISPOSABLE_SAMPLE,4,2      ## @MOV_DISPOSABLE_SAMPLE
	.comm	_MOV_SAMPLE_DEPENDENCY_NO,4,2   ## @MOV_SAMPLE_DEPENDENCY_NO
	.comm	_MOV_SYNC_SAMPLE,4,2            ## @MOV_SYNC_SAMPLE
	.no_dead_strip	_mov_write_sdtp_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_write_sdtp_tag
_mov_write_sdtp_tag:                    ; @mov_write_sdtp_tag
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x19, x0
	bl	_avio_tell
	mov	x21, x0
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wb32
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ffio_wfourcc
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wb32
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
Lloh2:
	adrp	x23, _MOV_SAMPLE_DEPENDENCY_YES@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MOV_SAMPLE_DEPENDENCY_YES@GOTPAGEOFF]
Lloh4:
	adrp	x24, _MOV_SAMPLE_DEPENDENCY_UNKNOWN@GOTPAGE
Lloh5:
	ldr	x24, [x24, _MOV_SAMPLE_DEPENDENCY_UNKNOWN@GOTPAGEOFF]
Lloh6:
	adrp	x25, _MOV_DISPOSABLE_SAMPLE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _MOV_DISPOSABLE_SAMPLE@GOTPAGEOFF]
Lloh8:
	adrp	x26, _MOV_SAMPLE_DEPENDENCY_NO@GOTPAGE
Lloh9:
	ldr	x26, [x26, _MOV_SAMPLE_DEPENDENCY_NO@GOTPAGEOFF]
Lloh10:
	adrp	x27, _MOV_SYNC_SAMPLE@GOTPAGE
Lloh11:
	ldr	x27, [x27, _MOV_SYNC_SAMPLE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	ldr	w9, [x24]
	ldr	x10, [x20, #8]
	ldr	w10, [x10, x22, lsl #2]
	ldr	w11, [x25]
	ldr	w12, [x26]
	tst	w11, w10
	csel	w11, w9, w12, eq
	ldr	w13, [x27]
	tst	w13, w10
	csel	w8, w8, w12, eq
	orr	w9, w9, w9, lsl #6
	orr	w9, w9, w11, lsl #2
	orr	w1, w9, w8, lsl #4
	mov	x0, x19
	bl	_avio_w8
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_update_size
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sdtp"

	.comm	_MOV_SAMPLE_DEPENDENCY_YES,4,2  ; @MOV_SAMPLE_DEPENDENCY_YES
	.comm	_MOV_SAMPLE_DEPENDENCY_UNKNOWN,4,2 ; @MOV_SAMPLE_DEPENDENCY_UNKNOWN
	.comm	_MOV_DISPOSABLE_SAMPLE,4,2      ; @MOV_DISPOSABLE_SAMPLE
	.comm	_MOV_SAMPLE_DEPENDENCY_NO,4,2   ; @MOV_SAMPLE_DEPENDENCY_NO
	.comm	_MOV_SYNC_SAMPLE,4,2            ; @MOV_SYNC_SAMPLE
	.no_dead_strip	_mov_write_sdtp_tag
.subsections_via_symbols
