	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ComputeStageIteratorFunc
_ComputeStageIteratorFunc:              ## @ComputeStageIteratorFunc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RB_StageIteratorGeneric@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_shader@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.1:
	movq	_RB_StageIteratorSky@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RB_StageIteratorGeneric,4,2    ## @RB_StageIteratorGeneric
	.comm	_shader,16,3                    ## @shader
	.comm	_RB_StageIteratorSky,4,2        ## @RB_StageIteratorSky
	.no_dead_strip	_ComputeStageIteratorFunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ComputeStageIteratorFunc
_ComputeStageIteratorFunc:              ; @ComputeStageIteratorFunc
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _RB_StageIteratorGeneric@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RB_StageIteratorGeneric@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _shader@GOTPAGE
Lloh4:
	ldr	x8, [x8, _shader@GOTPAGEOFF]
	str	w9, [x8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_2
; %bb.1:
Lloh5:
	adrp	x9, _RB_StageIteratorSky@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RB_StageIteratorSky@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	str	w9, [x8]
LBB0_2:
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RB_StageIteratorGeneric,4,2    ; @RB_StageIteratorGeneric
	.comm	_shader,16,3                    ; @shader
	.comm	_RB_StageIteratorSky,4,2        ; @RB_StageIteratorSky
	.no_dead_strip	_ComputeStageIteratorFunc
.subsections_via_symbols
