	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mb_var_thread
_mb_var_thread:                         ## @mb_var_thread
	.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), %r15
	xorl	%eax, %eax
	callq	_ff_check_alignment
	movl	(%r15), %edi
	movl	4(%r15), %ecx
	cmpl	%ecx, %edi
	jge	LBB0_7
## %bb.1:
	movl	8(%r15), %eax
	movl	%edi, %edx
	shll	$4, %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%edi
	addl	$16, %edx
	cmpl	%ecx, %edi
	jge	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%eax, %eax
	jle	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	56(%r15), %rax
	movq	(%rax), %rax
	movl	12(%r15), %esi
	movl	%edx, %ecx
	imull	%esi, %ecx
	movslq	%ecx, %rbx
	shlq	$2, %rbx
	addq	(%rax), %rbx
	addq	%r12, %rbx
	movq	%rbx, %rdi
	callq	*40(%r15)
	movl	%eax, %r14d
	movl	12(%r15), %esi
	movq	%rbx, %rdi
	callq	*48(%r15)
	movl	-48(%rbp), %edi                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	movl	%r14d, %ecx
	imull	%ecx, %ecx
	shrl	$8, %ecx
	negl	%ecx
	addl	%ecx, %eax
	addl	$628, %eax                      ## imm = 0x274
	shrl	$8, %eax
	movq	24(%r15), %rcx
	movslq	16(%r15), %rdx
	movslq	%edi, %rsi
	imulq	%rsi, %rdx
	addq	%r13, %rdx
	movl	%eax, (%rcx,%rdx,4)
	subl	$-128, %r14d
	sarl	$8, %r14d
	movq	32(%r15), %rcx
	movslq	16(%r15), %rdx
	imulq	%rsi, %rdx
	addq	%r13, %rdx
	movl	%r14d, (%rcx,%rdx,4)
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	addl	%eax, 20(%r15)
	incq	%r13
	movslq	8(%r15), %rax
	addq	$64, %r12
	cmpq	%rax, %r13
	jl	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r15), %ecx
	jmp	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mb_var_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mb_var_thread
_mb_var_thread:                         ; @mb_var_thread
	.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
	ldr	x21, [x1]
	bl	_ff_check_alignment
	ldp	w22, w9, [x21]
	cmp	w22, w9
	b.ge	LBB0_7
; %bb.1:
	ldr	w8, [x21, #8]
	lsl	w23, w22, #4
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, #1
	add	w23, w23, #16
	cmp	w22, w9
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, #0
	mov	x25, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21, #56]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w1, [x21, #12]
	mul	w9, w23, w1
	add	x8, x8, w9, sxtw #2
	add	x19, x8, x24
	ldr	x8, [x21, #40]
	mov	x0, x19
	blr	x8
	mov	x20, x0
	ldr	x8, [x21, #48]
	ldr	w1, [x21, #12]
	mov	x0, x19
	blr	x8
	mul	w8, w20, w20
	sub	w8, w0, w8, lsr #8
	add	w8, w8, #628
	lsr	w8, w8, #8
	ldrsw	x9, [x21, #16]
	sxtw	x10, w22
	madd	x9, x10, x9, x25
	ldp	x11, x12, [x21, #24]
	str	w8, [x11, x9, lsl #2]
	add	w9, w20, #128
	asr	w9, w9, #8
	ldrsw	x11, [x21, #16]
	madd	x10, x10, x11, x25
	str	w9, [x12, x10, lsl #2]
	ldr	w9, [x21, #20]
	add	w8, w9, w8
	str	w8, [x21, #20]
	add	x25, x25, #1
	ldrsw	x8, [x21, #8]
	add	x24, x24, #64
	cmp	x25, x8
	b.lt	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x21, #4]
	b	LBB0_2
LBB0_7:
	mov	w0, #0
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mb_var_thread
.subsections_via_symbols
