	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_deinit                         ## -- Begin function deinit
	.p2align	4, 0x90
_deinit:                                ## @deinit
	.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
	movq	_tiger@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PS_destruct
	movq	_egldisplay@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_EGL_NO_SURFACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_EGL_NO_CONTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%edx, %esi
	callq	_eglMakeCurrent
	xorl	%eax, %eax
	callq	_eglGetError
	movq	_EGL_SUCCESS@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_assert
	movl	(%r14), %edi
	callq	_eglTerminate
	xorl	%eax, %eax
	callq	_eglGetError
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_eglReleaseThread               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tiger,4,2                      ## @tiger
	.comm	_egldisplay,4,2                 ## @egldisplay
	.comm	_EGL_NO_SURFACE,4,2             ## @EGL_NO_SURFACE
	.comm	_EGL_NO_CONTEXT,4,2             ## @EGL_NO_CONTEXT
	.comm	_EGL_SUCCESS,8,3                ## @EGL_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_deinit                         ; -- Begin function deinit
	.p2align	2
_deinit:                                ; @deinit
	.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, _tiger@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tiger@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_PS_destruct
Lloh3:
	adrp	x19, _egldisplay@GOTPAGE
Lloh4:
	ldr	x19, [x19, _egldisplay@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh5:
	adrp	x8, _EGL_NO_SURFACE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EGL_NO_SURFACE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _EGL_NO_CONTEXT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EGL_NO_CONTEXT@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x2, x1
	bl	_eglMakeCurrent
	bl	_eglGetError
Lloh11:
	adrp	x20, _EGL_SUCCESS@GOTPAGE
Lloh12:
	ldr	x20, [x20, _EGL_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	ldr	w0, [x19]
	bl	_eglTerminate
	bl	_eglGetError
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_eglReleaseThread
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tiger,4,2                      ; @tiger
	.comm	_egldisplay,4,2                 ; @egldisplay
	.comm	_EGL_NO_SURFACE,4,2             ; @EGL_NO_SURFACE
	.comm	_EGL_NO_CONTEXT,4,2             ; @EGL_NO_CONTEXT
	.comm	_EGL_SUCCESS,8,3                ; @EGL_SUCCESS
.subsections_via_symbols
