	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function avsync_to_package
LCPI0_0:
	.long	49042                           ## 0xbf92
	.long	0                               ## 0x0
	.long	49043                           ## 0xbf93
	.long	0                               ## 0x0
LCPI0_1:
	.long	49144                           ## 0xbff8
	.long	0                               ## 0x0
	.long	49145                           ## 0xbff9
	.long	0                               ## 0x0
LCPI0_2:
	.long	49044                           ## 0xbf94
	.long	0                               ## 0x0
	.long	49045                           ## 0xbf95
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_avsync_to_package:                     ## @avsync_to_package
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -180(%rbp)                ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	movl	(%rax), %eax
	imull	(%rdi), %eax
	imull	$1001, %eax, %r13d              ## imm = 0x3E9
	movl	4(%rdi), %edi
	movl	%r13d, %eax
	cltd
	idivl	%edi
	movl	%eax, %r12d
	imull	$215, %eax, %eax
	cltq
	imulq	$1374389535, %rax, %r14         ## imm = 0x51EB851F
	movq	%r14, %rax
	shrq	$63, %rax
	sarq	$37, %r14
	addl	%eax, %r14d
	movl	%edx, %esi
	callq	_relative_prime
	movl	%eax, %esi
	movl	4(%rbx), %edi
	movl	%r13d, %eax
	cltd
	idivl	%edi
	movl	%edx, %ebx
	movl	%edx, %eax
	cltd
	idivl	%esi
	movl	%eax, %ecx
	subl	%ebx, %edi
	movl	%edi, %eax
	cltd
	idivl	%esi
	movq	$8206, -176(%rbp)               ## imm = 0x200E
	movl	$49048, -168(%rbp)              ## imm = 0xBF98
	movl	%r14d, %edx
	negl	%edx
	movzwl	%dx, %esi
	movl	%esi, -164(%rbp)
	movl	$49049, -160(%rbp)              ## imm = 0xBF99
	sarl	$16, %edx
	movl	%edx, -156(%rbp)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [49042,0,49043,0]
	movups	%xmm0, -152(%rbp)
	movl	$49140, -136(%rbp)              ## imm = 0xBFF4
	leal	1(%r12), %edx
	cmpl	%eax, %ecx
	movl	%eax, %esi
	cmovgl	%ecx, %esi
	movl	%esi, -132(%rbp)
	movl	$49141, -128(%rbp)              ## imm = 0xBFF5
	cmovll	%ecx, %eax
	movl	%eax, -124(%rbp)
	movl	$49142, -120(%rbp)              ## imm = 0xBFF6
	movl	%edx, %eax
	cmovll	%r12d, %eax
	movl	%eax, -116(%rbp)
	movl	$49143, -112(%rbp)              ## imm = 0xBFF7
	cmovgl	%r12d, %edx
	movl	%edx, -108(%rbp)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [49144,0,49145,0]
	movups	%xmm0, -104(%rbp)
	movl	$49146, -88(%rbp)               ## imm = 0xBFFA
	movzwl	%r14w, %eax
	movl	%eax, -84(%rbp)
	movl	$49147, -80(%rbp)               ## imm = 0xBFFB
	sarl	$16, %r14d
	movl	%r14d, -76(%rbp)
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [49044,0,49045,0]
	movups	%xmm0, -72(%rbp)
	movq	$0, -56(%rbp)
	leaq	-176(%rbp), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	-180(%rbp), %ecx                ## 4-byte Reload
	callq	_copy_packages
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_avsync_to_package
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function avsync_to_package
lCPI0_0:
	.long	8206                            ; 0x200e
	.long	0                               ; 0x0
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_1:
	.long	49042                           ; 0xbf92
	.long	0                               ; 0x0
	.long	49043                           ; 0xbf93
	.long	0                               ; 0x0
lCPI0_2:
	.long	49144                           ; 0xbff8
	.long	0                               ; 0x0
	.long	49145                           ; 0xbff9
	.long	0                               ; 0x0
lCPI0_3:
	.long	49044                           ; 0xbf94
	.long	0                               ; 0x0
	.long	49045                           ; 0xbf95
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_avsync_to_package:                     ; @avsync_to_package
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	ldp	w9, w0, [x0]
	mul	w8, w8, w9
	mov	w9, #1001
	mul	w22, w8, w9
	sdiv	w23, w22, w0
	mov	w8, #215
	mul	w8, w23, w8
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w24, w8, w9
	msub	w1, w23, w0, w22
	bl	_relative_prime
	ldr	w8, [x21, #4]
	sdiv	w9, w22, w8
	msub	w9, w9, w8, w22
	sdiv	w10, w9, w0
	sub	w8, w8, w9
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [sp, #8]
	mov	w9, #49048
	neg	w11, w24
	and	w12, w11, #0xffff
	stp	w9, w12, [sp, #16]
	mov	w9, #49049
	asr	w11, w11, #16
	stp	w9, w11, [sp, #24]
Lloh5:
	adrp	x9, lCPI0_1@PAGE
Lloh6:
	ldr	q0, [x9, lCPI0_1@PAGEOFF]
	stur	q0, [sp, #32]
	sdiv	w8, w8, w0
	mov	w9, #49140
	cmp	w10, w8
	csel	w11, w10, w8, gt
	stp	w9, w11, [sp, #48]
	mov	w9, #49141
	csel	w8, w10, w8, lt
	stp	w9, w8, [sp, #56]
	mov	w8, #49142
	cinc	w9, w23, ge
	stp	w8, w9, [sp, #64]
	mov	w8, #49143
	cinc	w9, w23, le
	stp	w8, w9, [sp, #72]
Lloh7:
	adrp	x8, lCPI0_2@PAGE
Lloh8:
	ldr	q0, [x8, lCPI0_2@PAGEOFF]
	stur	q0, [sp, #80]
	mov	w8, #49146
	and	w9, w24, #0xffff
	stp	w8, w9, [sp, #96]
	mov	w8, #49147
	asr	w9, w24, #16
	stp	w8, w9, [sp, #104]
Lloh9:
	adrp	x8, lCPI0_3@PAGE
Lloh10:
	ldr	q0, [x8, lCPI0_3@PAGEOFF]
	stur	q0, [sp, #112]
	str	xzr, [sp, #128]
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	mov	x3, x19
	bl	_copy_packages
	ldur	x8, [x29, #-56]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_avsync_to_package
.subsections_via_symbols
