	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_RenderView                   ## -- Begin function R_RenderView
	.p2align	4, 0x90
_R_RenderView:                          ## @R_RenderView
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rdi)
	jle	LBB0_2
## %bb.1:
	cmpq	$0, 8(%rdi)
	jle	LBB0_2
## %bb.3:
	movq	_tr@GOTPCREL(%rip), %rbx
	movl	48(%rbx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 48(%rbx)
	movups	(%rdi), %xmm0
	movups	16(%rdi), %xmm1
	movups	%xmm1, 32(%rbx)
	movups	%xmm0, 16(%rbx)
	leaq	16(%rbx), %r14
	movq	52(%rbx), %rcx
	movq	%rcx, 36(%rbx)
	movslq	(%rbx), %r15
	addl	$2, %eax
	movl	%eax, 48(%rbx)
	xorl	%eax, %eax
	callq	_R_RotateForViewer
	movq	_r_zproj@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movl	32(%rbx), %edx
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_R_SetupProjection
	xorl	%eax, %eax
	callq	_R_GenerateDrawSurfs
	movl	(%rbx), %eax
	movq	_MAX_DRAWSURFS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpl	%esi, %eax
	cmovll	%eax, %esi
	movq	%r15, %rdi
	addq	8(%rbx), %rdi
	subl	%r15d, %esi
	callq	_R_SortDrawSurfs
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_R_DebugGraphics                ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tr,64,3                        ## @tr
	.comm	_r_zproj,8,3                    ## @r_zproj
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_MAX_DRAWSURFS,4,2              ## @MAX_DRAWSURFS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_RenderView                   ; -- Begin function R_RenderView
	.p2align	2
_R_RenderView:                          ; @R_RenderView
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.2:
Lloh0:
	adrp	x20, _tr@GOTPAGE
Lloh1:
	ldr	x20, [x20, _tr@GOTPAGEOFF]
	ldr	w8, [x20, #48]
	add	w9, w8, #1
	str	w9, [x20, #48]
	ldp	q0, q1, [x0]
	stp	q0, q1, [x20, #16]
	add	x19, x20, #16
	ldur	d0, [x20, #52]
	stur	d0, [x20, #36]
	ldrsw	x21, [x20]
	add	w8, w8, #2
	str	w8, [x20, #48]
	bl	_R_RotateForViewer
Lloh2:
	adrp	x8, _r_zproj@GOTPAGE
Lloh3:
	ldr	x8, [x8, _r_zproj@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w1, [x8]
	ldr	w2, [x20, #32]
Lloh5:
	adrp	x8, _qtrue@GOTPAGE
Lloh6:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_R_SetupProjection
	bl	_R_GenerateDrawSurfs
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _MAX_DRAWSURFS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MAX_DRAWSURFS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w8, w8, w9, lt
	ldr	x9, [x20, #8]
	add	x0, x9, x21
	sub	w1, w8, w21
	bl	_R_SortDrawSurfs
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_R_DebugGraphics
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_tr,64,3                        ; @tr
	.comm	_r_zproj,8,3                    ; @r_zproj
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_MAX_DRAWSURFS,4,2              ; @MAX_DRAWSURFS
.subsections_via_symbols
