	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_GenerateDrawSurfs            ## -- Begin function R_GenerateDrawSurfs
	.p2align	4, 0x90
_R_GenerateDrawSurfs:                   ## @R_GenerateDrawSurfs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_R_AddWorldSurfaces
	xorl	%eax, %eax
	callq	_R_AddPolygonSurfaces
	movq	_tr@GOTPCREL(%rip), %rax
	movq	_VPF_SHADOWMAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_R_SetFarClip
LBB0_2:
	movq	_tr@GOTPCREL(%rip), %rdi
	callq	_R_SetupProjectionZ
	xorl	%eax, %eax
	popq	%rbp
	jmp	_R_AddEntitySurfaces            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tr,4,2                         ## @tr
	.comm	_VPF_SHADOWMAP,4,2              ## @VPF_SHADOWMAP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_GenerateDrawSurfs            ; -- Begin function R_GenerateDrawSurfs
	.p2align	2
_R_GenerateDrawSurfs:                   ; @R_GenerateDrawSurfs
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_R_AddWorldSurfaces
	bl	_R_AddPolygonSurfaces
Lloh0:
	adrp	x8, _tr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tr@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VPF_SHADOWMAP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VPF_SHADOWMAP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	bl	_R_SetFarClip
LBB0_2:
Lloh6:
	adrp	x0, _tr@GOTPAGE
Lloh7:
	ldr	x0, [x0, _tr@GOTPAGEOFF]
	bl	_R_SetupProjectionZ
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_R_AddEntitySurfaces
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_tr,4,2                         ; @tr
	.comm	_VPF_SHADOWMAP,4,2              ; @VPF_SHADOWMAP
.subsections_via_symbols
