	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GLimp_MakeCurrent              ## -- Begin function GLimp_MakeCurrent
	.p2align	4, 0x90
_GLimp_MakeCurrent:                     ## @GLimp_MakeCurrent
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SDL_window@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SDL_glContext@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SDL_GL_MakeCurrent
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_SDL_GetError
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	popq	%rbp
	jmp	_Sys_Error                      ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDL_window,4,2                 ## @SDL_window
	.comm	_SDL_glContext,4,2              ## @SDL_glContext
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GLimp_MakeCurrent - %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GLimp_MakeCurrent              ; -- Begin function GLimp_MakeCurrent
	.p2align	2
_GLimp_MakeCurrent:                     ; @GLimp_MakeCurrent
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _SDL_window@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDL_window@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SDL_glContext@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SDL_glContext@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_SDL_GL_MakeCurrent
	cbz	x0, LBB0_2
; %bb.1:
	bl	_SDL_GetError
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_Sys_Error
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SDL_window,4,2                 ; @SDL_window
	.comm	_SDL_glContext,4,2              ; @SDL_glContext
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GLimp_MakeCurrent - %s"

.subsections_via_symbols
