	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function vulkan_set_projection
LCPI0_0:
	.long	0x43340000                      ## float 180
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_vulkan_set_projection:                 ## @vulkan_set_projection
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	movl	20(%rsi), %r10d
	movl	16(%rsi), %edx
	movl	12(%rsi), %ecx
	movl	8(%rsi), %r8d
	movl	(%rsi), %eax
	movl	4(%rsi), %r9d
	movl	%eax, (%rsp)
	movl	%r10d, %esi
	callq	_matrix_4x4_ortho
	testl	%r14d, %r14d
	je	LBB0_1
## %bb.2:
	movq	_M_PI@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	mulss	(%rbx), %xmm0
	divss	LCPI0_0(%rip), %xmm0
	callq	_matrix_4x4_rotate_z
	movl	4(%rbx), %edx
	movl	8(%rbx), %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_matrix_4x4_multiply            ## TAILCALL
LBB0_1:
	movl	4(%rbx), %eax
	movl	%eax, 8(%rbx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,4,2                       ## @M_PI
	.no_dead_strip	_vulkan_set_projection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vulkan_set_projection
_vulkan_set_projection:                 ; @vulkan_set_projection
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x0
	ldr	w0, [x0, #4]
	ldp	w2, w8, [x1, #16]
	ldp	w4, w3, [x1, #8]
	ldp	w6, w5, [x1]
	mov	x1, x8
	bl	_matrix_4x4_ortho
	cbz	w20, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _M_PI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
Lloh2:
	ldr	s0, [x8]
	ldr	s1, [x19]
	fmul	s0, s0, s1
	mov	w8, #1127481344
	fmov	s1, w8
	fdiv	s0, s0, s1
	bl	_matrix_4x4_rotate_z
	ldp	w2, w0, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_matrix_4x4_multiply
LBB0_2:
	ldr	w8, [x19, #4]
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,4,2                       ; @M_PI
	.no_dead_strip	_vulkan_set_projection
.subsections_via_symbols
