	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_sync
_write_sync:                            ## @write_sync
	.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	%rdi, %r15
	movq	(%rdi), %rbx
	movq	8(%rdi), %r14
	movl	(%rbx), %r12d
	movq	_ff_sync_guid@GOTPCREL(%rip), %rsi
	movl	$24, %edx
	xorl	%ecx, %ecx
	callq	_write_chunk_header
	movl	20(%rbx), %esi
	movq	%r14, %rdi
	callq	_avio_wl64
	movl	16(%rbx), %esi
	movq	%r14, %rdi
	callq	_avio_wl64
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_avio_wl64
	movq	%r15, %rdi
	callq	_finish_chunk
	leaq	12(%rbx), %rdi
	leaq	8(%rbx), %rsi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	callq	_add_serial_pair
	movl	%r12d, (%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_sync_guid,4,2               ## @ff_sync_guid
	.no_dead_strip	_write_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_sync
_write_sync:                            ; @write_sync
	.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	x19, x0
	ldp	x21, x20, [x0]
	ldr	w22, [x21]
Lloh0:
	adrp	x1, _ff_sync_guid@GOTPAGE
Lloh1:
	ldr	x1, [x1, _ff_sync_guid@GOTPAGEOFF]
	mov	w2, #24
	mov	w3, #0
	bl	_write_chunk_header
	ldr	w1, [x21, #20]
	mov	x0, x20
	bl	_avio_wl64
	ldr	w1, [x21, #16]
	mov	x0, x20
	bl	_avio_wl64
	mov	x0, x20
	mov	w1, #0
	bl	_avio_wl64
	mov	x0, x19
	bl	_finish_chunk
	add	x0, x21, #12
	add	x1, x21, #8
	ldp	w3, w2, [x21]
	bl	_add_serial_pair
	str	w22, [x21]
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_sync_guid,4,2               ; @ff_sync_guid
	.no_dead_strip	_write_sync
.subsections_via_symbols
