	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RB_ExecuteRenderCommands       ## -- Begin function RB_ExecuteRenderCommands
	.p2align	4, 0x90
_RB_ExecuteRenderCommands:              ## @RB_ExecuteRenderCommands
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_ri@GOTPCREL(%rip), %r15
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	*(%r15)
	movl	%eax, %r14d
	movq	_r_smp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_backEndData@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	xorl	%r13d, %r13d
	cmpq	%rbx, (%rax)
	setne	%r13b
LBB0_2:
	movq	_backEnd@GOTPCREL(%rip), %r12
	movl	%r13d, (%r12)
	leaq	LJTI0_0(%rip), %r13
	jmp	LBB0_3
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_RB_TakeScreenshotCmd
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_RB_SwapBuffers
	movq	%rax, %rbx
	jmp	LBB0_3
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_RB_StretchPic
	movq	%rax, %rbx
	jmp	LBB0_3
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_RB_SetColor
	movq	%rax, %rbx
	jmp	LBB0_3
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_RB_DrawSurfs
	movq	%rax, %rbx
	jmp	LBB0_3
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_RB_DrawBuffer
	movq	%rax, %rbx
	jmp	LBB0_3
LBB0_11:
	xorl	%eax, %eax
	callq	*(%r15)
	subl	%r14d, %eax
	movl	%eax, 4(%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_ri,8,3                         ## @ri
	.comm	_r_smp,8,3                      ## @r_smp
	.comm	_backEndData,8,3                ## @backEndData
	.comm	_backEnd,8,2                    ## @backEnd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RB_ExecuteRenderCommands       ; -- Begin function RB_ExecuteRenderCommands
	.p2align	2
_RB_ExecuteRenderCommands:              ; @RB_ExecuteRenderCommands
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
Lloh0:
	adrp	x21, _ri@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ri@GOTPAGEOFF]
	ldr	x8, [x21]
	blr	x8
	mov	x19, x0
Lloh2:
	adrp	x8, _r_smp@GOTPAGE
Lloh3:
	ldr	x8, [x8, _r_smp@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _backEndData@GOTPAGE
Lloh6:
	ldr	x8, [x8, _backEndData@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cmp	x8, x20
	cset	w8, ne
LBB0_2:
Lloh8:
	adrp	x22, _backEnd@GOTPAGE
Lloh9:
	ldr	x22, [x22, _backEnd@GOTPAGEOFF]
	str	w8, [x22]
Lloh10:
	adrp	x23, lJTI0_0@PAGE
Lloh11:
	add	x23, x23, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_RB_TakeScreenshotCmd
	mov	x20, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x23, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_RB_SwapBuffers
	mov	x20, x0
	b	LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_RB_StretchPic
	mov	x20, x0
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_RB_SetColor
	mov	x20, x0
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_RB_DrawSurfs
	mov	x20, x0
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_RB_DrawBuffer
	mov	x20, x0
	b	LBB0_4
LBB0_11:
	ldr	x8, [x21]
	blr	x8
	sub	w8, w0, w19
	str	w8, [x22, #4]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
                                        ; -- End function
	.comm	_ri,8,3                         ; @ri
	.comm	_r_smp,8,3                      ; @r_smp
	.comm	_backEndData,8,3                ; @backEndData
	.comm	_backEnd,8,2                    ; @backEnd
.subsections_via_symbols
