	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_Fogfv                       ## -- Begin function gl_Fogfv
	.p2align	4, 0x90
_gl_Fogfv:                              ## @gl_Fogfv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$5, %esi
	ja	LBB0_6
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_10:
	movsd	(%rdx), %xmm0                   ## xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_11
## %bb.18:
	movq	_GL_INVALID_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
LBB0_2:
	cvttsd2si	(%rdx), %eax
	movq	_GL_LINEAR@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	je	LBB0_5
## %bb.3:
	movq	_GL_EXP@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_GL_EXP2@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	je	LBB0_5
LBB0_6:
	movq	_GL_INVALID_ENUM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_14:
	movsd	(%rdx), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, 32(%rdi)
	popq	%rbp
	retq
LBB0_12:
	movsd	(%rdx), %xmm0                   ## xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_13
## %bb.19:
	movq	_GL_INVALID_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
LBB0_8:
	movsd	(%rdx), %xmm0                   ## xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_16
## %bb.9:
	movq	_GL_INVALID_VALUE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
LBB0_15:
	movsd	(%rdx), %xmm0                   ## xmm0 = mem[0],zero
	movq	40(%rdi), %rax
	movsd	%xmm0, (%rax)
	movsd	8(%rdx), %xmm0                  ## xmm0 = mem[0],zero
	movsd	%xmm0, 8(%rax)
	movsd	16(%rdx), %xmm0                 ## xmm0 = mem[0],zero
	movsd	%xmm0, 16(%rax)
	movsd	24(%rdx), %xmm0                 ## xmm0 = mem[0],zero
	movsd	%xmm0, 24(%rax)
	popq	%rbp
	retq
LBB0_11:
	movsd	%xmm0, 16(%rdi)
	popq	%rbp
	retq
LBB0_5:
	movl	%eax, (%rdi)
	popq	%rbp
	retq
LBB0_13:
	movsd	%xmm0, 24(%rdi)
	popq	%rbp
	retq
LBB0_16:
	movsd	%xmm0, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_2
	.long	L0_0_set_14
	.long	L0_0_set_12
	.long	L0_0_set_8
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_GL_LINEAR,4,2                  ## @GL_LINEAR
	.comm	_GL_EXP,4,2                     ## @GL_EXP
	.comm	_GL_EXP2,4,2                    ## @GL_EXP2
	.comm	_GL_INVALID_ENUM,4,2            ## @GL_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glFog"

	.comm	_GL_INVALID_VALUE,4,2           ## @GL_INVALID_VALUE
L_.str.1:                               ## @.str.1
	.asciz	"glFog(GL_FOG_START)"

L_.str.2:                               ## @.str.2
	.asciz	"glFog(GL_FOG_END)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_Fogfv                       ; -- Begin function gl_Fogfv
	.p2align	2
_gl_Fogfv:                              ; @gl_Fogfv
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #5
	b.hi	LBB0_6
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	d0, [x2]
	fcmp	d0, #0.0
	b.pl	LBB0_14
; %bb.3:
Lloh2:
	adrp	x8, _GL_INVALID_VALUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GL_INVALID_VALUE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	b	_gl_error
LBB0_4:
	ldr	d0, [x2]
	fcvtzs	w8, d0
Lloh7:
	adrp	x9, _GL_LINEAR@GOTPAGE
Lloh8:
	ldr	x9, [x9, _GL_LINEAR@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _GL_EXP@GOTPAGE
Lloh11:
	ldr	x10, [x10, _GL_EXP@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
Lloh13:
	adrp	x11, _GL_EXP2@GOTPAGE
Lloh14:
	ldr	x11, [x11, _GL_EXP2@GOTPAGEOFF]
Lloh15:
	ldr	w11, [x11]
	cmp	w9, w8
	ccmp	w10, w8, #4, ne
	ccmp	w11, w8, #4, ne
	b.ne	LBB0_6
; %bb.5:
	str	w8, [x0]
	ret
LBB0_6:
Lloh16:
	adrp	x8, _GL_INVALID_ENUM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GL_INVALID_ENUM@GOTPAGEOFF]
	b	LBB0_12
LBB0_7:
	ldr	d0, [x2]
	str	d0, [x0, #32]
	ret
LBB0_8:
	ldr	d0, [x2]
	fcmp	d0, #0.0
	b.pl	LBB0_15
; %bb.9:
Lloh18:
	adrp	x8, _GL_INVALID_VALUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GL_INVALID_VALUE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x2, l_.str.2@PAGE
Lloh22:
	add	x2, x2, l_.str.2@PAGEOFF
	b	_gl_error
LBB0_10:
	ldr	d0, [x2]
	fcmp	d0, #0.0
	b.pl	LBB0_16
; %bb.11:
Lloh23:
	adrp	x8, _GL_INVALID_VALUE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GL_INVALID_VALUE@GOTPAGEOFF]
LBB0_12:
	ldr	w1, [x8]
Lloh25:
	adrp	x2, l_.str@PAGE
Lloh26:
	add	x2, x2, l_.str@PAGEOFF
	b	_gl_error
LBB0_13:
	ldr	d0, [x2]
	ldr	x8, [x0, #40]
	str	d0, [x8]
	ldr	d0, [x2, #8]
	str	d0, [x8, #8]
	ldr	d0, [x2, #16]
	str	d0, [x8, #16]
	ldr	d0, [x2, #24]
	str	d0, [x8, #24]
	ret
LBB0_14:
	str	d0, [x0, #16]
	ret
LBB0_15:
	str	d0, [x0, #24]
	ret
LBB0_16:
	str	d0, [x0, #8]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.comm	_GL_LINEAR,4,2                  ; @GL_LINEAR
	.comm	_GL_EXP,4,2                     ; @GL_EXP
	.comm	_GL_EXP2,4,2                    ; @GL_EXP2
	.comm	_GL_INVALID_ENUM,4,2            ; @GL_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glFog"

	.comm	_GL_INVALID_VALUE,4,2           ; @GL_INVALID_VALUE
l_.str.1:                               ; @.str.1
	.asciz	"glFog(GL_FOG_START)"

l_.str.2:                               ; @.str.2
	.asciz	"glFog(GL_FOG_END)"

.subsections_via_symbols
