	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_LightModelfv                ## -- Begin function gl_LightModelfv
	.p2align	4, 0x90
_gl_LightModelfv:                       ## @gl_LightModelfv
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpl	$128, %esi
	je	LBB0_8
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_4
## %bb.2:
	cmpl	$130, %esi
	jne	LBB0_12
## %bb.3:
	movl	24(%rbx), %edi
	movq	%rdx, %rsi
	callq	_COPY_4V
	jmp	LBB0_13
LBB0_8:
	movsd	(%rdx), %xmm0                   ## xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	LBB0_11
	jp	LBB0_11
## %bb.9:
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_4:
	movsd	(%rdx), %xmm0                   ## xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	LBB0_7
	jp	LBB0_7
## %bb.5:
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_12:
	movq	_GL_INVALID_ENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_gl_error
	jmp	LBB0_13
LBB0_11:
	movq	_GL_TRUE@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	jmp	LBB0_13
LBB0_7:
	movq	_GL_TRUE@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
LBB0_13:
	movq	_NEW_LIGHTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_FALSE,8,3                   ## @GL_FALSE
	.comm	_GL_TRUE,8,3                    ## @GL_TRUE
	.comm	_GL_INVALID_ENUM,4,2            ## @GL_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glLightModel"

	.comm	_NEW_LIGHTING,4,2               ## @NEW_LIGHTING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_LightModelfv                ; -- Begin function gl_LightModelfv
	.p2align	2
_gl_LightModelfv:                       ; @gl_LightModelfv
	.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	x19, x0
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w1, #130
	b.ne	LBB0_8
; %bb.3:
	ldr	w0, [x19, #24]
	mov	x1, x2
	bl	_COPY_4V
	b	LBB0_13
LBB0_4:
	ldr	d0, [x2]
	fcmp	d0, #0.0
	b.ne	LBB0_9
; %bb.5:
Lloh0:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
	ldr	d0, [x2]
	fcmp	d0, #0.0
	b.ne	LBB0_11
; %bb.7:
Lloh2:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh4:
	adrp	x8, _GL_INVALID_ENUM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GL_INVALID_ENUM@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_gl_error
	b	LBB0_13
LBB0_9:
Lloh9:
	adrp	x8, _GL_TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GL_TRUE@GOTPAGEOFF]
LBB0_10:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	b	LBB0_13
LBB0_11:
Lloh11:
	adrp	x8, _GL_TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GL_TRUE@GOTPAGEOFF]
LBB0_12:
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_13:
Lloh13:
	adrp	x8, _NEW_LIGHTING@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NEW_LIGHTING@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_FALSE,8,3                   ; @GL_FALSE
	.comm	_GL_TRUE,8,3                    ; @GL_TRUE
	.comm	_GL_INVALID_ENUM,4,2            ; @GL_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glLightModel"

	.comm	_NEW_LIGHTING,4,2               ; @NEW_LIGHTING
.subsections_via_symbols
