	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_write_stss_tag
_mov_write_stss_tag:                    ## @mov_write_stss_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
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_avio_tell
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movq	_MOV_SYNC_SAMPLE@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	%r15, %rdi
	callq	_ffio_wfourcc
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movq	%r15, %rdi
	callq	_avio_tell
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_avio_wb32
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%esi, %esi
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%eax, %rcx
	movq	%r14, %rsi
	cmpq	%rcx, %r14
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rcx
	leaq	1(%rsi), %r14
	testl	%r12d, (%rcx,%rsi,4)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%esi
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_avio_wb32
	incl	%r13d
	movl	(%rbx), %eax
	jmp	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	callq	_avio_tell
	movl	%eax, %ebx
	movq	_SEEK_SET@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_avio_seek
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_avio_wb32
	movl	(%r14), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_avio_seek
	movq	%r15, %rdi
	movl	-48(%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
	.comm	_MOV_SYNC_SAMPLE,4,2            ## @MOV_SYNC_SAMPLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stss"

L_.str.1:                               ## @.str.1
	.asciz	"stps"

	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_mov_write_stss_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_stss_tag
_mov_write_stss_tag:                    ; @mov_write_stss_tag
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_avio_tell
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wb32
Lloh0:
	adrp	x8, _MOV_SYNC_SAMPLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MOV_SYNC_SAMPLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, l_.str.1@PAGE
Lloh4:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh5:
	adrp	x10, l_.str@PAGE
Lloh6:
	add	x10, x10, l_.str@PAGEOFF
	cmp	w8, w21
	csel	x1, x10, x9, eq
	mov	x0, x19
	bl	_ffio_wfourcc
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wb32
	mov	x0, x19
	bl	_avio_tell
	mov	x23, x0
	ldr	w1, [x22]
	mov	x0, x19
	bl	_avio_wb32
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x25, #0
	mov	w24, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	cmp	x25, w8, sxtw
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22, #8]
	ldr	w9, [x9, x25, lsl #2]
	tst	w9, w21
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w1, w25, #1
	mov	x0, x19
	bl	_avio_wb32
	add	w24, w24, #1
	ldr	w8, [x22]
	b	LBB0_2
LBB0_5:
	mov	w24, #0
LBB0_6:
	mov	x0, x19
	bl	_avio_tell
	mov	x21, x0
Lloh7:
	adrp	x22, _SEEK_SET@GOTPAGE
Lloh8:
	ldr	x22, [x22, _SEEK_SET@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x23
	bl	_avio_seek
	mov	x0, x19
	mov	x1, x24
	bl	_avio_wb32
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x21
	bl	_avio_seek
	mov	x0, x19
	mov	x1, x20
	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	_update_size
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MOV_SYNC_SAMPLE,4,2            ; @MOV_SYNC_SAMPLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stss"

l_.str.1:                               ; @.str.1
	.asciz	"stps"

	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_mov_write_stss_tag
.subsections_via_symbols
