	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GPU_DrawElements               ## -- Begin function GPU_DrawElements
	.p2align	4, 0x90
_GPU_DrawElements:                      ## @GPU_DrawElements
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movl	%edi, %edx
	movq	_GPUREG_PRIMITIVE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_GPUCMD_AddMaskedWrite
	movq	_GPUREG_RESTART_PRIMITIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	movl	$1, %edx
	callq	_GPUCMD_AddMaskedWrite
	movq	_GPUREG_INDEXBUFFER_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	$-2147483648, %ebx              ## imm = 0x80000000
	movl	%ebx, %esi
	callq	_GPUCMD_AddWrite
	movq	_GPUREG_NUMVERTICES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_GPUCMD_AddWrite
	movq	_GPUREG_VERTEX_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_GPUCMD_AddWrite
	movq	_GPUREG_GEOSTAGE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_GPUCMD_AddMaskedWrite
	movq	_GPUREG_GEOSTAGE_CONFIG2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_GPUCMD_AddMaskedWrite
	movq	_GPUREG_START_DRAW_FUNC0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_GPUCMD_AddMaskedWrite
	movq	_GPUREG_DRAWELEMENTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_GPUCMD_AddWrite
	movl	(%rbx), %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_GPUCMD_AddMaskedWrite
	movq	_GPUREG_VTX_FUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_GPUCMD_AddWrite                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GPUREG_PRIMITIVE_CONFIG,4,2    ## @GPUREG_PRIMITIVE_CONFIG
	.comm	_GPUREG_RESTART_PRIMITIVE,4,2   ## @GPUREG_RESTART_PRIMITIVE
	.comm	_GPUREG_INDEXBUFFER_CONFIG,4,2  ## @GPUREG_INDEXBUFFER_CONFIG
	.comm	_GPUREG_NUMVERTICES,4,2         ## @GPUREG_NUMVERTICES
	.comm	_GPUREG_VERTEX_OFFSET,4,2       ## @GPUREG_VERTEX_OFFSET
	.comm	_GPUREG_GEOSTAGE_CONFIG,4,2     ## @GPUREG_GEOSTAGE_CONFIG
	.comm	_GPUREG_GEOSTAGE_CONFIG2,4,2    ## @GPUREG_GEOSTAGE_CONFIG2
	.comm	_GPUREG_START_DRAW_FUNC0,4,2    ## @GPUREG_START_DRAW_FUNC0
	.comm	_GPUREG_DRAWELEMENTS,4,2        ## @GPUREG_DRAWELEMENTS
	.comm	_GPUREG_VTX_FUNC,4,2            ## @GPUREG_VTX_FUNC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GPU_DrawElements               ; -- Begin function GPU_DrawElements
	.p2align	2
_GPU_DrawElements:                      ; @GPU_DrawElements
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x2, x0
Lloh0:
	adrp	x8, _GPUREG_PRIMITIVE_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPUREG_PRIMITIVE_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #2
	bl	_GPUCMD_AddMaskedWrite
Lloh3:
	adrp	x8, _GPUREG_RESTART_PRIMITIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GPUREG_RESTART_PRIMITIVE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #2
	mov	w2, #1
	bl	_GPUCMD_AddMaskedWrite
Lloh6:
	adrp	x8, _GPUREG_INDEXBUFFER_CONFIG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GPUREG_INDEXBUFFER_CONFIG@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	orr	w1, w20, #0x80000000
	bl	_GPUCMD_AddWrite
Lloh9:
	adrp	x8, _GPUREG_NUMVERTICES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GPUREG_NUMVERTICES@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_GPUCMD_AddWrite
Lloh12:
	adrp	x8, _GPUREG_VERTEX_OFFSET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GPUREG_VERTEX_OFFSET@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_GPUCMD_AddWrite
Lloh15:
	adrp	x8, _GPUREG_GEOSTAGE_CONFIG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GPUREG_GEOSTAGE_CONFIG@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	w1, #2
	mov	w2, #256
	bl	_GPUCMD_AddMaskedWrite
Lloh18:
	adrp	x8, _GPUREG_GEOSTAGE_CONFIG2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GPUREG_GEOSTAGE_CONFIG2@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	w1, #2
	mov	w2, #256
	bl	_GPUCMD_AddMaskedWrite
Lloh21:
	adrp	x19, _GPUREG_START_DRAW_FUNC0@GOTPAGE
Lloh22:
	ldr	x19, [x19, _GPUREG_START_DRAW_FUNC0@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	w1, #1
	mov	w2, #0
	bl	_GPUCMD_AddMaskedWrite
Lloh23:
	adrp	x8, _GPUREG_DRAWELEMENTS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GPUREG_DRAWELEMENTS@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_GPUCMD_AddWrite
	ldr	w0, [x19]
	mov	w1, #1
	mov	w2, #1
	bl	_GPUCMD_AddMaskedWrite
Lloh26:
	adrp	x8, _GPUREG_VTX_FUNC@GOTPAGE
Lloh27:
	ldr	x8, [x8, _GPUREG_VTX_FUNC@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_GPUCMD_AddWrite
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GPUREG_PRIMITIVE_CONFIG,4,2    ; @GPUREG_PRIMITIVE_CONFIG
	.comm	_GPUREG_RESTART_PRIMITIVE,4,2   ; @GPUREG_RESTART_PRIMITIVE
	.comm	_GPUREG_INDEXBUFFER_CONFIG,4,2  ; @GPUREG_INDEXBUFFER_CONFIG
	.comm	_GPUREG_NUMVERTICES,4,2         ; @GPUREG_NUMVERTICES
	.comm	_GPUREG_VERTEX_OFFSET,4,2       ; @GPUREG_VERTEX_OFFSET
	.comm	_GPUREG_GEOSTAGE_CONFIG,4,2     ; @GPUREG_GEOSTAGE_CONFIG
	.comm	_GPUREG_GEOSTAGE_CONFIG2,4,2    ; @GPUREG_GEOSTAGE_CONFIG2
	.comm	_GPUREG_START_DRAW_FUNC0,4,2    ; @GPUREG_START_DRAW_FUNC0
	.comm	_GPUREG_DRAWELEMENTS,4,2        ; @GPUREG_DRAWELEMENTS
	.comm	_GPUREG_VTX_FUNC,4,2            ; @GPUREG_VTX_FUNC
.subsections_via_symbols
