	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_ClipPlane                   ## -- Begin function gl_ClipPlane
	.p2align	4, 0x90
_gl_ClipPlane:                          ## @gl_ClipPlane
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_GL_CLIP_PLANE0@GOTPCREL(%rip), %rax
	subq	(%rax), %rbx
	movq	%rdi, %r14
	movq	_MAX_CLIP_PLANES@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jae	LBB0_4
## %bb.1:
	movq	%rdx, %r15
	cmpq	$0, 16(%r14)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_gl_analyze_modelview_matrix
LBB0_3:
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r14), %edx
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gl_transform_vector            ## TAILCALL
LBB0_4:
	movq	_GL_INVALID_ENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_CLIP_PLANE0,8,3             ## @GL_CLIP_PLANE0
	.comm	_MAX_CLIP_PLANES,8,3            ## @MAX_CLIP_PLANES
	.comm	_GL_INVALID_ENUM,4,2            ## @GL_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glClipPlane"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_ClipPlane                   ; -- Begin function gl_ClipPlane
	.p2align	2
_gl_ClipPlane:                          ; @gl_ClipPlane
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _GL_CLIP_PLANE0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_CLIP_PLANE0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MAX_CLIP_PLANES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_CLIP_PLANES@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sub	x21, x1, x8
	cmp	x21, x9
	b.hs	LBB0_4
; %bb.1:
	mov	x20, x2
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_gl_analyze_modelview_matrix
LBB0_3:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x21, lsl #2]
	ldr	w2, [x19]
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_gl_transform_vector
LBB0_4:
Lloh6:
	adrp	x8, _GL_INVALID_ENUM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GL_INVALID_ENUM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_gl_error
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_CLIP_PLANE0,8,3             ; @GL_CLIP_PLANE0
	.comm	_MAX_CLIP_PLANES,8,3            ; @MAX_CLIP_PLANES
	.comm	_GL_INVALID_ENUM,4,2            ; @GL_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glClipPlane"

.subsections_via_symbols
