	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ComputePoseMats
_ComputePoseMats:                       ## @ComputePoseMats
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movss	%xmm0, -100(%rbp)               ## 4-byte Spill
                                        ## kill: def $edx killed $edx def $rdx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r12
	movq	8(%rdi), %rax
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	movl	16(%rdi), %ecx
	cmpl	%esi, %edx
	jne	LBB0_7
## %bb.1:
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.2:
	imull	%ecx, %edx
	shll	$2, %edx
	leal	(%rdx,%rdx,2), %ecx
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %r14
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %esi
	andl	$-4, %esi
	shlq	$2, %rsi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rsi), %rdi
	addq	%r14, %rsi
	movl	$48, %edx
	callq	_Com_Memcpy
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movslq	16(%rax), %rax
	addq	$12, %r15
	cmpq	%rax, %rbx
	jge	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r12,%rbx,4), %rax
	testq	%rax, %rax
	js	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rax,%rax,2), %rdi
	shlq	$4, %rdi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	addq	%rax, %rdi
	movl	%r15d, %edx
	andl	$-4, %edx
	shlq	$2, %rdx
	leaq	(%r14,%rdx), %rsi
	addq	%rax, %rdx
	callq	_Matrix34Multiply
	jmp	LBB0_6
LBB0_7:
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.8:
	shll	$2, %ecx
	leal	(%rcx,%rcx,2), %ecx
	imull	%ecx, %esi
	movslq	%esi, %rsi
	leaq	(%rax,%rsi,4), %rsi
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	imull	%ecx, %edx
	movslq	%edx, %rcx
	leaq	(%rax,%rcx,4), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%r15d, %edx
	andl	$-4, %edx
	shlq	$2, %rdx
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rdx), %rdi
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rdx), %rsi
	addq	-112(%rbp), %rdx                ## 8-byte Folded Reload
	movss	-100(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_InterpolateMatrix
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r14
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movslq	16(%rax), %rax
	addq	$12, %r15
	cmpq	%rax, %r14
	jge	LBB0_13
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r12,%r14,4)
	js	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%r15d, %ebx
	andl	$-4, %ebx
	shlq	$2, %rbx
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rbx), %rdi
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rbx), %rsi
	movss	-100(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	leaq	-96(%rbp), %r13
	movq	%r13, %rdx
	callq	_InterpolateMatrix
	movslq	(%r12,%r14,4), %rax
	leaq	(%rax,%rax,2), %rdi
	shlq	$4, %rdi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	addq	%rax, %rdi
	addq	%rax, %rbx
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_Matrix34Multiply
	jmp	LBB0_12
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ComputePoseMats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ComputePoseMats
_ComputePoseMats:                       ; @ComputePoseMats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x3
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldp	x21, x8, [x0]
	ldr	w9, [x0, #16]
	cmp	w2, w1
	b.ne	LBB0_7
; %bb.1:
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.2:
	mov	x22, #0
	mov	x23, #0
	mul	w9, w2, w9
	add	w9, w9, w9, lsl #1
	lsl	w9, w9, #2
	add	x24, x8, w9, sxtw #2
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	lsl	x8, x22, #2
	and	x8, x8, #0x3fffffff0
	add	x0, x19, x8
	add	x1, x24, x8
	mov	w2, #48
	bl	_Com_Memcpy
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x20, #16]
	add	x22, x22, #12
	cmp	x23, x8
	b.ge	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21, x23, lsl #2]
	tbnz	w8, #31, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w8, w8, lsl #1
	lsl	w8, w8, #2
	add	x0, x19, w8, sxtw #2
	lsl	x8, x22, #2
	and	x8, x8, #0x3fffffff0
	add	x1, x24, x8
	add	x2, x19, x8
	bl	_Matrix34Multiply
	b	LBB0_4
LBB0_7:
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.8:
	fmov	s8, s0
	mov	x22, #0
	mov	x23, #0
	add	w9, w9, w9, lsl #1
	lsl	w9, w9, #2
	mul	w10, w9, w1
	add	x24, x8, w10, sxtw #2
	mul	w9, w9, w2
	add	x25, x8, w9, sxtw #2
	mov	w26, #48
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	lsl	x8, x22, #2
	and	x8, x8, #0x3fffffff0
	add	x0, x24, x8
	add	x1, x25, x8
	add	x2, x19, x8
	fmov	s0, s8
	bl	_InterpolateMatrix
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x20, #16]
	add	x22, x22, #12
	cmp	x23, x8
	b.ge	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21, x23, lsl #2]
	tbnz	w8, #31, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	lsl	x8, x22, #2
	and	x27, x8, #0x3fffffff0
	add	x0, x24, x27
	add	x1, x25, x27
	add	x2, sp, #8
	fmov	s0, s8
	bl	_InterpolateMatrix
	ldrsw	x8, [x21, x23, lsl #2]
	madd	x0, x8, x26, x19
	add	x2, x19, x27
	add	x1, sp, #8
	bl	_Matrix34Multiply
	b	LBB0_10
LBB0_13:
	ldr	x8, [sp, #56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ComputePoseMats
.subsections_via_symbols
