	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_pfa_reindex_tabs
_init_pfa_reindex_tabs:                 ## @init_pfa_reindex_tabs
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	16(%rdi), %r15d
	movl	$1, %ebx
	movl	%r15d, %ecx
	shll	%cl, %ebx
	negb	%cl
	andb	$3, %cl
	movl	%ebx, %r13d
	shll	%cl, %r13d
	movl	$15, %r12d
	movl	%r15d, %ecx
	shll	%cl, %r12d
	movl	%r12d, %edi
	movl	$4, %esi
	callq	_av_malloc_array
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%r12d, %edi
	movl	$4, %esi
	callq	_av_malloc_array
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	movl	$1, %ecx
	je	LBB0_9
## %bb.3:
	xorl	%ecx, %ecx
	cmpl	$31, %r15d
	je	LBB0_9
## %bb.4:
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	leal	-1(%rbx), %ecx
	andl	$-286331153, %ecx               ## imm = 0xEEEEEEEF
	movq	(%r14), %r14
	movl	%ecx, %edx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	cmpl	$2, %ebx
	movl	$1, %edx
	cmovgel	%ebx, %edx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	leal	(%rcx,%rcx,4), %ecx
	leal	(%rcx,%rcx,2), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	movl	-48(%rbp), %r11d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	%r13d, %r12d
	imull	-72(%rbp), %r12d                ## 4-byte Folded Reload
	leal	(%r13,%r13,4), %ecx
	leal	(%rcx,%rcx,2), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	xorl	%esi, %esi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edx, %edi
	movl	%r15d, %ecx
	shll	%cl, %edi
	movslq	%edi, %r8
	imulq	$-2004318071, %r8, %r10         ## imm = 0x88888889
	shrq	$32, %r10
	addl	%r8d, %r10d
	movl	%r10d, %ecx
	shrl	$31, %ecx
	sarl	$3, %r10d
	addl	%ecx, %r10d
	addl	%r13d, %r10d
	movl	%r15d, %ecx
	sarl	%cl, %r10d
	movslq	%esi, %rsi
	imulq	$-2004318071, %rsi, %r9         ## imm = 0x88888889
	shrq	$32, %r9
	addl	%esi, %r9d
	movl	%r9d, %ecx
	shrl	$31, %ecx
	sarl	$3, %r9d
	addl	%ecx, %r9d
	addl	%r12d, %r9d
	movl	%r15d, %ecx
	sarl	%cl, %r9d
	imull	$2147483633, %r10d, %edi        ## imm = 0x7FFFFFF1
	addl	%edx, %edi
	shll	%cl, %edi
	movl	%r9d, %ecx
	shll	$4, %ecx
	subl	%ecx, %r9d
	movl	%r15d, %ecx
	shll	%cl, %r9d
	addl	%ebx, %r9d
	addl	%esi, %r9d
	addl	-52(%rbp), %edi                 ## 4-byte Folded Reload
	addl	%edi, %edi
	movl	%edi, (%r14,%rdx,4)
	addl	%r13d, %r8d
	movslq	%r9d, %rcx
	movl	%r8d, (%rax,%rcx,4)
	incq	%rdx
	addl	%r11d, %esi
	cmpq	$15, %rdx
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
	addq	$60, %r14
	addl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	cmpq	-64(%rbp), %r13                 ## 8-byte Folded Reload
	jne	LBB0_5
## %bb.8:
	xorl	%ecx, %ecx
	jmp	LBB0_9
LBB0_1:
	movl	$1, %ecx
LBB0_9:
	movl	%ecx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_init_pfa_reindex_tabs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_pfa_reindex_tabs
_init_pfa_reindex_tabs:                 ; @init_pfa_reindex_tabs
	.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
	ldr	w22, [x0, #16]
	mov	w20, #1
	mov	w8, #15
	lsl	w21, w8, w22
	mov	x0, x21
	mov	w1, #4
	bl	_av_malloc_array
	str	x0, [x19]
	cbz	x0, LBB0_9
; %bb.1:
	mov	x0, x21
	mov	w1, #4
	bl	_av_malloc_array
	str	x0, [x19, #8]
	cbz	x0, LBB0_8
; %bb.2:
	cmp	w22, #31
	b.eq	LBB0_7
; %bb.3:
	mov	w8, #0
	mov	x9, #0
	lsl	w13, w20, w22
	neg	w10, w22
	and	w10, w10, #0x3
	lsl	w10, w13, w10
	sub	w11, w13, #1
	mov	w12, #61167
	movk	w12, #61166, lsl #16
	and	w11, w11, w12
	ldr	x12, [x19]
	cmp	w13, #1
	csinc	w13, w13, wzr, gt
	lsl	w14, w11, #4
	sub	w14, w14, w11
	mov	w15, #34953
	movk	w15, #34952, lsl #16
	mov	w16, #65521
	movk	w16, #32767, lsl #16
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	w17, #0
	mov	x1, #0
	mul	w2, w9, w11
	lsl	w3, w9, #4
	sub	w3, w3, w9
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	w4, w1, w22
	smull	x5, w4, w15
	lsr	x5, x5, #32
	add	w5, w5, w4
	asr	w6, w5, #3
	add	w5, w6, w5, lsr #31
	add	w5, w5, w9
	asr	w5, w5, w22
	smull	x6, w17, w15
	lsr	x6, x6, #32
	add	w6, w6, w17
	asr	w7, w6, #3
	add	w6, w7, w6, lsr #31
	add	w6, w6, w2
	asr	w6, w6, w22
	madd	w5, w5, w16, w1
	lsl	w5, w5, w22
	add	w5, w5, w3
	sub	w6, w6, w6, lsl #4
	lsl	w6, w6, w22
	add	w7, w8, w17
	add	w6, w7, w6
	lsl	w5, w5, #1
	str	w5, [x12, x1, lsl #2]
	add	w4, w4, w9
	str	w4, [x0, w6, sxtw #2]
	add	x1, x1, #1
	add	w17, w17, w10
	cmp	x1, #15
	b.ne	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	add	x12, x12, #60
	add	w8, w8, w14
	cmp	x9, x13
	b.ne	LBB0_4
LBB0_7:
	mov	w20, #0
	b	LBB0_9
LBB0_8:
	mov	w20, #1
LBB0_9:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_init_pfa_reindex_tabs
.subsections_via_symbols
