	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_GetLightfv                  ## -- Begin function gl_GetLightfv
	.p2align	4, 0x90
_gl_GetLightfv:                         ## @gl_GetLightfv
	.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 $edx killed $edx def $rdx
	movq	_GL_LIGHT0@GOTPCREL(%rip), %rax
	movslq	(%rax), %r8
	movslq	%esi, %rax
	subq	%r8, %rax
	testl	%eax, %eax
	js	LBB0_16
## %bb.1:
	movq	_MAX_LIGHTS@GOTPCREL(%rip), %rsi
	cmpq	%rax, (%rsi)
	jle	LBB0_16
## %bb.2:
	addl	$-128, %edx
	cmpl	$9, %edx
	ja	LBB0_16
## %bb.3:
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_14:
	movq	(%rdi), %rdx
	leaq	(%rax,%rax,4), %rax
	movl	16(%rdx,%rax,8), %eax
	jmp	LBB0_15
LBB0_16:
	movq	_GL_INVALID_ENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
LBB0_9:
	movq	(%rdi), %rdx
	leaq	(%rax,%rax,4), %rax
	movl	20(%rdx,%rax,8), %esi
	movq	%rcx, %rdi
	popq	%rbp
	jmp	_COPY_3V                        ## TAILCALL
LBB0_10:
	movq	(%rdi), %rdx
	leaq	(%rax,%rax,4), %rax
	movl	12(%rdx,%rax,8), %eax
	jmp	LBB0_15
LBB0_7:
	movq	(%rdi), %rdx
	leaq	(%rax,%rax,4), %rax
	movl	28(%rdx,%rax,8), %esi
	jmp	LBB0_5
LBB0_13:
	movq	(%rdi), %rdx
	leaq	(%rax,%rax,4), %rax
	movl	(%rdx,%rax,8), %eax
	jmp	LBB0_15
LBB0_8:
	movq	(%rdi), %rdx
	leaq	(%rax,%rax,4), %rax
	movl	24(%rdx,%rax,8), %esi
	jmp	LBB0_5
LBB0_12:
	movq	(%rdi), %rdx
	leaq	(%rax,%rax,4), %rax
	movl	4(%rdx,%rax,8), %eax
	jmp	LBB0_15
LBB0_6:
	movq	(%rdi), %rdx
	leaq	(%rax,%rax,4), %rax
	movl	32(%rdx,%rax,8), %esi
	jmp	LBB0_5
LBB0_4:
	movq	(%rdi), %rdx
	leaq	(%rax,%rax,4), %rax
	movl	36(%rdx,%rax,8), %esi
LBB0_5:
	movq	%rcx, %rdi
	popq	%rbp
	jmp	_COPY_4V                        ## TAILCALL
LBB0_11:
	movq	(%rdi), %rdx
	leaq	(%rax,%rax,4), %rax
	movl	8(%rdx,%rax,8), %eax
LBB0_15:
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_13
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_6
	.long	L0_0_set_11
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_GL_LIGHT0,4,2                  ## @GL_LIGHT0
	.comm	_MAX_LIGHTS,8,3                 ## @MAX_LIGHTS
	.comm	_GL_INVALID_ENUM,4,2            ## @GL_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glGetLightfv"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_GetLightfv                  ; -- Begin function gl_GetLightfv
	.p2align	2
_gl_GetLightfv:                         ; @gl_GetLightfv
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
Lloh0:
	adrp	x8, _GL_LIGHT0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_LIGHT0@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	sxtw	x9, w1
	sub	x8, x9, x8
	tbnz	w8, #31, LBB0_5
; %bb.1:
Lloh3:
	adrp	x9, _MAX_LIGHTS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_LIGHTS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.le	LBB0_5
; %bb.2:
	sub	w9, w2, #128
	cmp	w9, #9
	b.hi	LBB0_5
; %bb.3:
Lloh6:
	adrp	x10, lJTI0_0@PAGE
Lloh7:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_4
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_4:
	ldr	x9, [x0]
	mov	w10, #40
	madd	x8, x8, x10, x9
	ldr	w8, [x8, #16]
	str	w8, [x3]
	ret
LBB0_5:
Lloh8:
	adrp	x8, _GL_INVALID_ENUM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GL_INVALID_ENUM@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	b	_gl_error
LBB0_6:
	ldr	x9, [x0]
	mov	w10, #40
	madd	x8, x8, x10, x9
	ldr	w1, [x8, #20]
	mov	x0, x3
	b	_COPY_3V
LBB0_7:
	ldr	x9, [x0]
	mov	w10, #40
	madd	x8, x8, x10, x9
	ldr	w8, [x8, #12]
	str	w8, [x3]
	ret
LBB0_8:
	ldr	x9, [x0]
	mov	w10, #40
	madd	x8, x8, x10, x9
	ldr	w1, [x8, #28]
	mov	x0, x3
	b	_COPY_4V
LBB0_9:
	ldr	x9, [x0]
	mov	w10, #40
	mul	x8, x8, x10
	ldr	w8, [x9, x8]
	str	w8, [x3]
	ret
LBB0_10:
	ldr	x9, [x0]
	mov	w10, #40
	madd	x8, x8, x10, x9
	ldr	w1, [x8, #24]
	mov	x0, x3
	b	_COPY_4V
LBB0_11:
	ldr	x9, [x0]
	mov	w10, #40
	madd	x8, x8, x10, x9
	ldr	w8, [x8, #4]
	str	w8, [x3]
	ret
LBB0_12:
	ldr	x9, [x0]
	mov	w10, #40
	madd	x8, x8, x10, x9
	ldr	w1, [x8, #32]
	mov	x0, x3
	b	_COPY_4V
LBB0_13:
	ldr	x9, [x0]
	mov	w10, #40
	madd	x8, x8, x10, x9
	ldr	w1, [x8, #36]
	mov	x0, x3
	b	_COPY_4V
LBB0_14:
	ldr	x9, [x0]
	mov	w10, #40
	madd	x8, x8, x10, x9
	ldr	w8, [x8, #8]
	str	w8, [x3]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
                                        ; -- End function
	.comm	_GL_LIGHT0,4,2                  ; @GL_LIGHT0
	.comm	_MAX_LIGHTS,8,3                 ; @MAX_LIGHTS
	.comm	_GL_INVALID_ENUM,4,2            ; @GL_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glGetLightfv"

.subsections_via_symbols
