	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mat_apply                      ## -- Begin function mat_apply
	.p2align	4, 0x90
_mat_apply:                             ## @mat_apply
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movaps	L___const.mat_apply.vec(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	movq	%rsi, %r14
	movslq	%ecx, %rax
	movslq	%r8d, %r15
	movl	%edx, %r13d
	leaq	(%rdi,%rax,4), %rbx
	addq	$8, %rbx
	shlq	$2, %r15
	leaq	-64(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movss	-8(%rbx), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -64(%rbp)
	movss	-4(%rbx), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -60(%rbp)
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -56(%rbp)
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_mat_vec_multiply
	movss	-64(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -8(%rbx)
	movss	-60(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -4(%rbx)
	movss	-56(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rbx)
	addq	%r15, %rbx
	decq	%r13
	jne	LBB0_2
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.mat_apply.vec
L___const.mat_apply.vec:
	.long	0x00000000                      ## float 0
	.long	0x00000000                      ## float 0
	.long	0x00000000                      ## float 0
	.long	0x3f800000                      ## float 1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mat_apply                      ; -- Begin function mat_apply
	.p2align	2
_mat_apply:                             ; @mat_apply
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
                                        ; kill: def $w4 killed $w4 def $x4
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, l___const.mat_apply.vec@PAGE
Lloh4:
	add	x8, x8, l___const.mat_apply.vec@PAGEOFF
Lloh5:
	ldr	q0, [x8]
	str	q0, [sp]
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x1
	mov	w20, w2
	add	x8, x0, w3, sxtw #2
	add	x21, x8, #8
	sbfiz	x22, x4, #2, #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	d0, [x21, #-8]
	str	d0, [sp]
	ldr	s0, [x21]
	str	s0, [sp, #8]
	mov	x0, sp
	mov	x2, sp
	mov	x1, x19
	bl	_mat_vec_multiply
	ldr	d0, [sp]
	stur	d0, [x21, #-8]
	ldr	s0, [sp, #8]
	str	s0, [x21]
	add	x21, x21, x22
	subs	x20, x20, #1
	b.ne	LBB0_2
LBB0_3:
	ldr	x8, [sp, #24]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	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
	add	sp, sp, #80
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @__const.mat_apply.vec
l___const.mat_apply.vec:
	.long	0x00000000                      ; float 0
	.long	0x00000000                      ; float 0
	.long	0x00000000                      ; float 0
	.long	0x3f800000                      ; float 1

.subsections_via_symbols
