	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_set_quad_function           ## -- Begin function gl_set_quad_function
	.p2align	4, 0x90
_gl_set_quad_function:                  ## @gl_set_quad_function
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_GL_RENDER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	cmpq	$0, 16(%rdi)
	je	LBB0_3
## %bb.2:
	movq	_null_quad@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.6:
	popq	%rbp
	retq
LBB0_4:
	movq	_quad@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
	movq	%rax, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_RENDER,8,3                  ## @GL_RENDER
	.comm	_null_quad,8,3                  ## @null_quad
	.comm	_quad,8,3                       ## @quad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_set_quad_function           ; -- Begin function gl_set_quad_function
	.p2align	2
_gl_set_quad_function:                  ; @gl_set_quad_function
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _GL_RENDER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GL_RENDER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _null_quad@GOTPAGE
Lloh4:
	ldr	x8, [x8, _null_quad@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.4:
	ret
LBB0_5:
Lloh5:
	adrp	x8, _quad@GOTPAGE
Lloh6:
	ldr	x8, [x8, _quad@GOTPAGEOFF]
LBB0_6:
	ldr	x8, [x8]
	str	x8, [x0, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_RENDER,8,3                  ; @GL_RENDER
	.comm	_null_quad,8,3                  ; @null_quad
	.comm	_quad,8,3                       ; @quad
.subsections_via_symbols
