	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function open_window
_open_window:                           ## @open_window
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_GLFW_VISIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwWindowHint
	movq	_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	movq	%r12, %r8
	callq	_glfwCreateWindow
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_glfwMakeContextCurrent
	movl	$1, %edi
	callq	_glfwSwapInterval
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_glfwSetWindowPos
	movq	%rbx, %rdi
	callq	_glfwShowWindow
	movq	_key_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_glfwSetKeyCallback
LBB0_2:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_VISIBLE,4,2               ## @GLFW_VISIBLE
	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
	.comm	_WIDTH,4,2                      ## @WIDTH
	.comm	_HEIGHT,4,2                     ## @HEIGHT
	.comm	_key_callback,4,2               ## @key_callback
	.no_dead_strip	_open_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function open_window
_open_window:                           ; @open_window
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _GLFW_VISIBLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_VISIBLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_glfwWindowHint
Lloh6:
	adrp	x8, _WIDTH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WIDTH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _HEIGHT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HEIGHT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x22
	mov	x3, #0
	mov	x4, x21
	bl	_glfwCreateWindow
	mov	x21, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_glfwMakeContextCurrent
	mov	w0, #1
	bl	_glfwSwapInterval
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_glfwSetWindowPos
	mov	x0, x21
	bl	_glfwShowWindow
Lloh12:
	adrp	x8, _key_callback@GOTPAGE
Lloh13:
	ldr	x8, [x8, _key_callback@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_glfwSetKeyCallback
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_VISIBLE,4,2               ; @GLFW_VISIBLE
	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
	.comm	_WIDTH,4,2                      ; @WIDTH
	.comm	_HEIGHT,4,2                     ; @HEIGHT
	.comm	_key_callback,4,2               ; @key_callback
	.no_dead_strip	_open_window
.subsections_via_symbols
