	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_matrix
_get_matrix:                            ## @get_matrix
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, (%rdi)
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%r13
	addq	$4, %r12
	cmpq	$4, %r13
	je	LBB0_21
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rax), %rdi
	addq	%r12, %rdi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rax,%r13,8), %rdi
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%rbx), %rax
	cmpq	%rax, %r13
	jge	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_D3DXPT_FLOAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	imull	%r13d, %eax
	movslq	%eax, %rdx
	shlq	$2, %rdx
	addq	16(%rbx), %rdx
	movl	8(%rbx), %ecx
	callq	_set_number
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, (%rdi)
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	testq	%r14, %r14
	movl	$1, %eax
	cmoveq	%r13, %rax
	movq	(%r15), %rcx
	movq	%r13, %rdi
	movl	$1, %edx
	cmoveq	%rdx, %rdi
	shlq	$2, %rdi
	addq	(%rcx,%rax,8), %rdi
	movslq	(%rbx), %rax
	cmpq	%rax, %r13
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%rbx), %eax
	cmpl	$1, %eax
	jle	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_D3DXPT_FLOAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	16(%rbx), %rcx
	imull	%r13d, %eax
	cltq
	leaq	(%rcx,%rax,4), %rdx
	addq	$4, %rdx
	movl	8(%rbx), %ecx
	callq	_set_number
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, (%rdi)
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	testq	%r14, %r14
	movl	$2, %eax
	cmoveq	%r13, %rax
	movq	(%r15), %rcx
	movq	%r13, %rdi
	movl	$2, %edx
	cmoveq	%rdx, %rdi
	shlq	$2, %rdi
	addq	(%rcx,%rax,8), %rdi
	movslq	(%rbx), %rax
	cmpq	%rax, %r13
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%rbx), %eax
	cmpl	$2, %eax
	jle	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_D3DXPT_FLOAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	16(%rbx), %rcx
	imull	%r13d, %eax
	cltq
	leaq	(%rcx,%rax,4), %rdx
	addq	$8, %rdx
	movl	8(%rbx), %ecx
	callq	_set_number
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, (%rdi)
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	testq	%r14, %r14
	movl	$3, %eax
	cmoveq	%r13, %rax
	movq	(%r15), %rcx
	movq	%r13, %rdi
	movl	$3, %edx
	cmoveq	%rdx, %rdi
	shlq	$2, %rdi
	addq	(%rcx,%rax,8), %rdi
	movslq	(%rbx), %rax
	cmpq	%rax, %r13
	jge	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%rbx), %eax
	cmpl	$3, %eax
	jle	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_D3DXPT_FLOAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	16(%rbx), %rcx
	imull	%r13d, %eax
	cltq
	leaq	(%rcx,%rax,4), %rdx
	addq	$12, %rdx
	movl	8(%rbx), %ecx
	callq	_set_number
	jmp	LBB0_20
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D3DXPT_FLOAT,4,2               ## @D3DXPT_FLOAT
	.no_dead_strip	_get_matrix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_matrix
_get_matrix:                            ; @get_matrix
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x22, #0
	mov	x23, #0
	mov	w24, #2
Lloh0:
	adrp	x25, _D3DXPT_FLOAT@GOTPAGE
Lloh1:
	ldr	x25, [x25, _D3DXPT_FLOAT@GOTPAGEOFF]
	mov	w26, #3
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x0]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	add	x22, x22, #4
	cmp	x23, #4
	b.eq	LBB0_21
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	cbz	x19, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8]
	add	x0, x8, x22
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x8, x23, lsl #3]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.ge	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x25]
	ldr	x9, [x21, #16]
	mul	w8, w8, w23
	add	x2, x9, w8, sxtw #2
	ldr	w3, [x21, #8]
	bl	_set_number
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x0]
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	cmp	x19, #0
	csinc	x9, x23, xzr, eq
	csinc	x10, x23, xzr, ne
	ldr	x8, [x8, x9, lsl #3]
	add	x0, x8, x10, lsl #2
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.ge	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.le	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x25]
	ldr	x9, [x21, #16]
	mul	w8, w8, w23
	add	x8, x9, w8, sxtw #2
	add	x2, x8, #4
	ldr	w3, [x21, #8]
	bl	_set_number
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x0]
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	cmp	x19, #0
	csel	x9, x23, x24, eq
	csel	x10, x24, x23, eq
	ldr	x8, [x8, x9, lsl #3]
	add	x0, x8, x10, lsl #2
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.ge	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x21, #4]
	cmp	w8, #2
	b.le	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x25]
	ldr	x9, [x21, #16]
	mul	w8, w8, w23
	add	x8, x9, w8, sxtw #2
	add	x2, x8, #8
	ldr	w3, [x21, #8]
	bl	_set_number
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x0]
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	cmp	x19, #0
	csel	x9, x23, x26, eq
	csel	x10, x26, x23, eq
	ldr	x8, [x8, x9, lsl #3]
	add	x0, x8, x10, lsl #2
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.ge	LBB0_1
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x21, #4]
	cmp	w8, #3
	b.le	LBB0_1
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x25]
	ldr	x9, [x21, #16]
	mul	w8, w8, w23
	add	x8, x9, w8, sxtw #2
	add	x2, x8, #12
	ldr	w3, [x21, #8]
	bl	_set_number
	b	LBB0_2
LBB0_21:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_D3DXPT_FLOAT,4,2               ; @D3DXPT_FLOAT
	.no_dead_strip	_get_matrix
.subsections_via_symbols
