	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_DebugGraphics                ## -- Begin function R_DebugGraphics
	.p2align	4, 0x90
_R_DebugGraphics:                       ## @R_DebugGraphics
	.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	_tr@GOTPCREL(%rip), %rbx
	movq	_RDF_NOWORLDMODEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_1
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	_r_debugSurface@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.3:
	xorl	%eax, %eax
	callq	_R_IssuePendingRenderCommands
	movl	(%rbx), %edi
	callq	_GL_Bind
	movq	_CT_FRONT_SIDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GL_Cull
	movq	_ri@GOTPCREL(%rip), %rax
	movq	_R_DebugPolygon@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tr,8,2                         ## @tr
	.comm	_RDF_NOWORLDMODEL,4,2           ## @RDF_NOWORLDMODEL
	.comm	_r_debugSurface,8,3             ## @r_debugSurface
	.comm	_CT_FRONT_SIDED,4,2             ## @CT_FRONT_SIDED
	.comm	_ri,8,3                         ## @ri
	.comm	_R_DebugPolygon,4,2             ## @R_DebugPolygon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_DebugGraphics                ; -- Begin function R_DebugGraphics
	.p2align	2
_R_DebugGraphics:                       ; @R_DebugGraphics
	.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
Lloh0:
	adrp	x19, _tr@GOTPAGE
Lloh1:
	ldr	x19, [x19, _tr@GOTPAGEOFF]
	ldr	w8, [x19, #4]
Lloh2:
	adrp	x9, _RDF_NOWORLDMODEL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RDF_NOWORLDMODEL@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh5:
	adrp	x8, _r_debugSurface@GOTPAGE
Lloh6:
	ldr	x8, [x8, _r_debugSurface@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_1
; %bb.3:
	bl	_R_IssuePendingRenderCommands
	ldr	w0, [x19]
	bl	_GL_Bind
Lloh8:
	adrp	x8, _CT_FRONT_SIDED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CT_FRONT_SIDED@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_GL_Cull
Lloh11:
	adrp	x8, _ri@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh13:
	ldr	x1, [x8]
Lloh14:
	adrp	x8, _R_DebugPolygon@GOTPAGE
Lloh15:
	ldr	x8, [x8, _R_DebugPolygon@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_tr,8,2                         ; @tr
	.comm	_RDF_NOWORLDMODEL,4,2           ; @RDF_NOWORLDMODEL
	.comm	_r_debugSurface,8,3             ; @r_debugSurface
	.comm	_CT_FRONT_SIDED,4,2             ; @CT_FRONT_SIDED
	.comm	_ri,8,3                         ; @ri
	.comm	_R_DebugPolygon,4,2             ; @R_DebugPolygon
.subsections_via_symbols
