	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_Materialfv                  ## -- Begin function gl_Materialfv
	.p2align	4, 0x90
_gl_Materialfv:                         ## @gl_Materialfv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r14
	movq	%rdi, %rbx
	movq	_GL_FRONT@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_5
## %bb.1:
	movq	_GL_BACK@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_5
## %bb.2:
	movq	_GL_FRONT_AND_BACK@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_5
## %bb.3:
	movq	_GL_INVALID_ENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_4
LBB0_5:
	leaq	-128(%rdx), %rax
	cmpq	$7, %rax
	jae	LBB0_6
## %bb.7:
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_gl_material_bitmask
	cmpq	$0, 8(%rbx)
	je	LBB0_9
## %bb.8:
	movl	(%rbx), %ecx
	notl	%ecx
	andl	%ecx, %eax
LBB0_9:
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gl_set_material                ## TAILCALL
LBB0_6:
	movq	_GL_INVALID_ENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_4:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_FRONT,8,3                   ## @GL_FRONT
	.comm	_GL_BACK,8,3                    ## @GL_BACK
	.comm	_GL_FRONT_AND_BACK,8,3          ## @GL_FRONT_AND_BACK
	.comm	_GL_INVALID_ENUM,4,2            ## @GL_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glMaterial(face)"

L_.str.1:                               ## @.str.1
	.asciz	"glMaterial(pname)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_Materialfv                  ; -- Begin function gl_Materialfv
	.p2align	2
_gl_Materialfv:                         ; @gl_Materialfv
	.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
Lloh0:
	adrp	x8, _GL_FRONT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_FRONT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _GL_BACK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GL_BACK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _GL_FRONT_AND_BACK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _GL_FRONT_AND_BACK@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x1
	ccmp	x9, x1, #4, ne
	ccmp	x10, x1, #4, ne
	b.ne	LBB0_5
; %bb.1:
	sub	x8, x2, #128
	cmp	x8, #7
	b.hs	LBB0_6
; %bb.2:
	mov	x20, x3
	mov	x0, x1
	mov	x1, x2
	bl	_gl_material_bitmask
	mov	x1, x0
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x19]
	bic	w1, w1, w8
LBB0_4:
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gl_set_material
LBB0_5:
Lloh9:
	adrp	x8, _GL_INVALID_ENUM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GL_INVALID_ENUM@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x8, _GL_INVALID_ENUM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GL_INVALID_ENUM@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gl_error
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_FRONT,8,3                   ; @GL_FRONT
	.comm	_GL_BACK,8,3                    ; @GL_BACK
	.comm	_GL_FRONT_AND_BACK,8,3          ; @GL_FRONT_AND_BACK
	.comm	_GL_INVALID_ENUM,4,2            ; @GL_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glMaterial(face)"

l_.str.1:                               ; @.str.1
	.asciz	"glMaterial(pname)"

.subsections_via_symbols
