	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RB_CalcShaderVertexAttribs
_RB_CalcShaderVertexAttribs:            ## @RB_CalcShaderVertexAttribs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	(%rax), %eax
	movq	_glState@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_ATTR_POSITION2@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ATTR_NORMAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_ATTR_NORMAL2@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ATTR_TANGENT2@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_glState,8,3                    ## @glState
	.comm	_ATTR_POSITION2,4,2             ## @ATTR_POSITION2
	.comm	_ATTR_NORMAL,4,2                ## @ATTR_NORMAL
	.comm	_ATTR_NORMAL2,4,2               ## @ATTR_NORMAL2
	.comm	_ATTR_TANGENT2,4,2              ## @ATTR_TANGENT2
	.no_dead_strip	_RB_CalcShaderVertexAttribs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RB_CalcShaderVertexAttribs
_RB_CalcShaderVertexAttribs:            ; @RB_CalcShaderVertexAttribs
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _glState@GOTPAGE
Lloh1:
	ldr	x8, [x8, _glState@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _ATTR_POSITION2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATTR_POSITION2@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w0, w8, w0
Lloh6:
	adrp	x8, _ATTR_NORMAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATTR_NORMAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w0, w8
	b.eq	LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _ATTR_NORMAL2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ATTR_NORMAL2@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh12:
	adrp	x9, _ATTR_TANGENT2@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ATTR_TANGENT2@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w0, w8, w9
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_glState,8,3                    ; @glState
	.comm	_ATTR_POSITION2,4,2             ; @ATTR_POSITION2
	.comm	_ATTR_NORMAL,4,2                ; @ATTR_NORMAL
	.comm	_ATTR_NORMAL2,4,2               ; @ATTR_NORMAL2
	.comm	_ATTR_TANGENT2,4,2              ; @ATTR_TANGENT2
	.no_dead_strip	_RB_CalcShaderVertexAttribs
.subsections_via_symbols
