	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function gl_Frustum
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0xc000000000000000              ## double -2
LCPI0_2:
	.quad	0xbff0000000000000              ## double -1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gl_Frustum
	.p2align	4, 0x90
_gl_Frustum:                            ## @gl_Frustum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$216, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	xorpd	%xmm6, %xmm6
	ucomisd	%xmm4, %xmm6
	movsd	%xmm5, -160(%rbp)               ## 8-byte Spill
	movsd	%xmm4, -152(%rbp)               ## 8-byte Spill
	jae	LBB0_2
## %bb.1:
	ucomisd	%xmm5, %xmm6
	jb	LBB0_3
LBB0_2:
	movq	_GL_INVALID_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movaps	%xmm0, -224(%rbp)               ## 16-byte Spill
	movaps	%xmm1, -208(%rbp)               ## 16-byte Spill
	movaps	%xmm2, -192(%rbp)               ## 16-byte Spill
	movaps	%xmm3, -176(%rbp)               ## 16-byte Spill
	callq	_gl_error
	movapd	-176(%rbp), %xmm3               ## 16-byte Reload
	movapd	-192(%rbp), %xmm2               ## 16-byte Reload
	movapd	-208(%rbp), %xmm1               ## 16-byte Reload
	movapd	-224(%rbp), %xmm0               ## 16-byte Reload
	movsd	-152(%rbp), %xmm4               ## 8-byte Reload
                                        ## xmm4 = mem[0],zero
	movsd	-160(%rbp), %xmm5               ## 8-byte Reload
                                        ## xmm5 = mem[0],zero
LBB0_3:
	movapd	%xmm4, %xmm6
	addsd	%xmm4, %xmm6
	unpcklpd	%xmm3, %xmm1                    ## xmm1 = xmm1[0],xmm3[0]
	unpcklpd	%xmm2, %xmm0                    ## xmm0 = xmm0[0],xmm2[0]
	movapd	%xmm1, %xmm2
	subpd	%xmm0, %xmm2
	movapd	%xmm6, %xmm7
	divsd	%xmm2, %xmm7
	addpd	%xmm1, %xmm0
	divpd	%xmm2, %xmm0
	unpckhpd	%xmm2, %xmm2                    ## xmm2 = xmm2[1,1]
	movapd	%xmm4, %xmm3
	addsd	%xmm5, %xmm3
	xorpd	LCPI0_0(%rip), %xmm3
	divsd	%xmm2, %xmm6
	movapd	%xmm5, %xmm2
	subsd	%xmm4, %xmm2
	divsd	%xmm2, %xmm3
	movsd	LCPI0_1(%rip), %xmm4            ## xmm4 = mem[0],zero
	mulsd	%xmm5, %xmm4
	mulsd	-152(%rbp), %xmm4               ## 8-byte Folded Reload
	divsd	%xmm2, %xmm4
	movsd	%xmm7, -144(%rbp)
	movsd	%xmm6, -104(%rbp)
	movapd	%xmm0, -80(%rbp)
	movq	$0, -40(%rbp)
	xorpd	%xmm0, %xmm0
	movupd	%xmm0, -136(%rbp)
	movsd	%xmm3, -64(%rbp)
	movsd	%xmm4, -32(%rbp)
	movupd	%xmm0, -120(%rbp)
	movapd	%xmm0, -96(%rbp)
	movsd	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero
	movups	%xmm0, -56(%rbp)
	movq	$0, -24(%rbp)
	leaq	-144(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_gl_MultMatrixf
	movsd	-152(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-160(%rbp), %xmm1               ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movsd	%xmm0, (%rax)
	movsd	%xmm1, 8(%rax)
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$216, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_INVALID_VALUE,4,2           ## @GL_INVALID_VALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glFrustum(near or far)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function gl_Frustum
lCPI0_0:
	.quad	0xbff0000000000000              ; double -1
	.quad	0x0000000000000000              ; double 0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gl_Frustum
	.p2align	2
_gl_Frustum:                            ; @gl_Frustum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	d13, d12, [sp, #144]            ; 16-byte Folded Spill
	stp	d11, d10, [sp, #160]            ; 16-byte Folded Spill
	stp	d9, d8, [sp, #176]              ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	.cfi_offset b12, -72
	.cfi_offset b13, -80
	fmov	d8, d5
	fmov	d9, d4
	fmov	d10, d3
	fmov	d11, d2
	fmov	d12, d1
	fmov	d13, d0
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	fcmp	d4, #0.0
	b.ls	LBB0_2
; %bb.1:
	fcmp	d8, #0.0
	b.hi	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _GL_INVALID_VALUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GL_INVALID_VALUE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_gl_error
LBB0_3:
	fadd	d0, d9, d9
	fsub	d1, d12, d13
	fdiv	d2, d0, d1
	fsub	d3, d10, d11
	fdiv	d0, d0, d3
	fadd	d4, d13, d12
	fdiv	d1, d4, d1
	fadd	d4, d11, d10
	fdiv	d3, d4, d3
	fadd	d4, d9, d8
	fneg	d4, d4
	fsub	d5, d8, d9
	fdiv	d4, d4, d5
	fmov	d6, #-2.00000000
	fmul	d6, d8, d6
	fmul	d6, d6, d9
	str	d2, [sp, #8]
	str	d0, [sp, #48]
	stp	d1, d3, [sp, #72]
	str	xzr, [sp, #112]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	str	d4, [sp, #88]
	fdiv	d1, d6, d5
	str	d1, [sp, #120]
	stur	q0, [sp, #56]
Lloh8:
	adrp	x8, lCPI0_0@PAGE
Lloh9:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [sp, #96]
	str	xzr, [sp, #128]
	add	x1, sp, #8
	mov	x0, x19
	bl	_gl_MultMatrixf
	ldp	x8, x9, [x19]
	ldr	x8, [x8, x9, lsl #3]
	stp	d9, d8, [x8]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	fmov	d0, d9
	fmov	d1, d8
	blr	x8
LBB0_5:
	ldur	x8, [x29, #-72]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #176]              ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #160]            ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_INVALID_VALUE,4,2           ; @GL_INVALID_VALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glFrustum(near or far)"

.subsections_via_symbols
