	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RB_BeginSurface                ## -- Begin function RB_BeginSurface
	.p2align	4, 0x90
_RB_BeginSurface:                       ## @RB_BeginSurface
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	32(%rdi), %rax
	testq	%rax, %rax
	cmoveq	%rdi, %rax
	xorps	%xmm0, %xmm0
	movq	_tess@GOTPCREL(%rip), %rcx
	movups	%xmm0, 48(%rcx)
	movq	%rax, 16(%rcx)
	movl	%esi, (%rcx)
	movq	$0, 40(%rcx)
	movl	24(%rax), %edx
	movl	%edx, 32(%rcx)
	movl	20(%rax), %edx
	movl	%edx, 28(%rcx)
	movl	16(%rax), %edx
	movl	%edx, 24(%rcx)
	movq	_backEnd@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	subq	(%rax), %rdx
	movq	8(%rax), %rax
	cmpq	%rax, %rdx
	movq	%rax, %rsi
	cmovlq	%rdx, %rsi
	testq	%rax, %rax
	cmoveq	%rdx, %rsi
	movq	%rsi, 8(%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tess,64,3                      ## @tess
	.comm	_backEnd,8,3                    ## @backEnd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RB_BeginSurface                ; -- Begin function RB_BeginSurface
	.p2align	2
_RB_BeginSurface:                       ; @RB_BeginSurface
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #32]
	cmp	x8, #0
	csel	x8, x0, x8, eq
Lloh0:
	adrp	x9, _tess@GOTPAGE
Lloh1:
	ldr	x9, [x9, _tess@GOTPAGEOFF]
	stp	xzr, xzr, [x9, #48]
	str	w1, [x9]
	str	xzr, [x9, #40]
	ldr	w10, [x8, #24]
	str	w10, [x9, #32]
	ldr	d0, [x8, #16]
	str	d0, [x9, #24]
Lloh2:
	adrp	x10, _backEnd@GOTPAGE
Lloh3:
	ldr	x10, [x10, _backEnd@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	ldp	x11, x12, [x8]
	sub	x10, x10, x11
	cmp	x10, x12
	ccmp	x12, #0, #4, ge
	csel	x10, x10, x12, eq
	stp	x10, x8, [x9, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_tess,64,3                      ; @tess
	.comm	_backEnd,8,3                    ; @backEnd
.subsections_via_symbols
