	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GPU_Finalize                   ## -- Begin function GPU_Finalize
	.p2align	4, 0x90
_GPU_Finalize:                          ## @GPU_Finalize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_GPUREG_PRIMITIVE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$8, %esi
	xorl	%edx, %edx
	callq	_GPUCMD_AddMaskedWrite
	movq	_GPUREG_FRAMEBUFFER_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_GPUCMD_AddWrite
	movq	_GPUREG_FRAMEBUFFER_INVALIDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_GPUCMD_AddWrite
	movq	_GPUREG_FINALIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$305419896, %esi                ## imm = 0x12345678
	callq	_GPUCMD_AddWrite
	movl	(%rbx), %edi
	movl	$305419896, %esi                ## imm = 0x12345678
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_GPUCMD_AddWrite                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GPUREG_PRIMITIVE_CONFIG,4,2    ## @GPUREG_PRIMITIVE_CONFIG
	.comm	_GPUREG_FRAMEBUFFER_FLUSH,4,2   ## @GPUREG_FRAMEBUFFER_FLUSH
	.comm	_GPUREG_FRAMEBUFFER_INVALIDATE,4,2 ## @GPUREG_FRAMEBUFFER_INVALIDATE
	.comm	_GPUREG_FINALIZE,4,2            ## @GPUREG_FINALIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GPU_Finalize                   ; -- Begin function GPU_Finalize
	.p2align	2
_GPU_Finalize:                          ; @GPU_Finalize
	.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
Lloh0:
	adrp	x8, _GPUREG_PRIMITIVE_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPUREG_PRIMITIVE_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #8
	mov	w2, #0
	bl	_GPUCMD_AddMaskedWrite
Lloh3:
	adrp	x8, _GPUREG_FRAMEBUFFER_FLUSH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GPUREG_FRAMEBUFFER_FLUSH@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_GPUCMD_AddWrite
Lloh6:
	adrp	x8, _GPUREG_FRAMEBUFFER_INVALIDATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GPUREG_FRAMEBUFFER_INVALIDATE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_GPUCMD_AddWrite
Lloh9:
	adrp	x19, _GPUREG_FINALIZE@GOTPAGE
Lloh10:
	ldr	x19, [x19, _GPUREG_FINALIZE@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	w1, #22136
	movk	w1, #4660, lsl #16
	bl	_GPUCMD_AddWrite
	ldr	w0, [x19]
	mov	w1, #22136
	movk	w1, #4660, lsl #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_GPUCMD_AddWrite
	.loh AdrpLdrGot	Lloh9, Lloh10
	.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_FRAMEBUFFER_FLUSH,4,2   ; @GPUREG_FRAMEBUFFER_FLUSH
	.comm	_GPUREG_FRAMEBUFFER_INVALIDATE,4,2 ; @GPUREG_FRAMEBUFFER_INVALIDATE
	.comm	_GPUREG_FINALIZE,4,2            ; @GPUREG_FINALIZE
.subsections_via_symbols
