	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function demo_create_window
_demo_create_window:                    ## @demo_create_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_GLFW_CLIENT_API@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GLFW_NO_API@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwWindowHint
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	movq	_APP_LONG_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_glfwCreateWindow
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_glfwSetWindowUserPointer
	movl	(%rbx), %edi
	movq	_demo_refresh_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetWindowRefreshCallback
	movl	(%rbx), %edi
	movq	_demo_resize_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetFramebufferSizeCallback
	movl	(%rbx), %edi
	movq	_demo_key_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_glfwSetKeyCallback             ## TAILCALL
LBB0_1:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_CLIENT_API,4,2            ## @GLFW_CLIENT_API
	.comm	_GLFW_NO_API,4,2                ## @GLFW_NO_API
	.comm	_APP_LONG_NAME,4,2              ## @APP_LONG_NAME
	.comm	_stdout,4,2                     ## @stdout
	.comm	_demo_refresh_callback,4,2      ## @demo_refresh_callback
	.comm	_demo_resize_callback,4,2       ## @demo_resize_callback
	.comm	_demo_key_callback,4,2          ## @demo_key_callback
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"Cannot create a window in which to draw!"

	.no_dead_strip	_demo_create_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function demo_create_window
_demo_create_window:                    ; @demo_create_window
	.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, x0
Lloh0:
	adrp	x8, _GLFW_CLIENT_API@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_CLIENT_API@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _GLFW_NO_API@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_NO_API@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_glfwWindowHint
	ldp	w1, w0, [x19, #4]
Lloh6:
	adrp	x8, _APP_LONG_NAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APP_LONG_NAME@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x3, #0
	mov	x4, #0
	bl	_glfwCreateWindow
	str	w0, [x19]
	cbz	w0, LBB0_2
; %bb.1:
	mov	x1, x19
	bl	_glfwSetWindowUserPointer
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _demo_refresh_callback@GOTPAGE
Lloh10:
	ldr	x8, [x8, _demo_refresh_callback@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_glfwSetWindowRefreshCallback
	ldr	w0, [x19]
Lloh12:
	adrp	x8, _demo_resize_callback@GOTPAGE
Lloh13:
	ldr	x8, [x8, _demo_resize_callback@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_glfwSetFramebufferSizeCallback
	ldr	w0, [x19]
Lloh15:
	adrp	x8, _demo_key_callback@GOTPAGE
Lloh16:
	ldr	x8, [x8, _demo_key_callback@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_glfwSetKeyCallback
LBB0_2:
Lloh18:
	adrp	x0, l_str@PAGE
Lloh19:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh20:
	adrp	x8, _stdout@GOTPAGE
Lloh21:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_fflush
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_CLIENT_API,4,2            ; @GLFW_CLIENT_API
	.comm	_GLFW_NO_API,4,2                ; @GLFW_NO_API
	.comm	_APP_LONG_NAME,4,2              ; @APP_LONG_NAME
	.comm	_stdout,4,2                     ; @stdout
	.comm	_demo_refresh_callback,4,2      ; @demo_refresh_callback
	.comm	_demo_resize_callback,4,2       ; @demo_resize_callback
	.comm	_demo_key_callback,4,2          ; @demo_key_callback
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"Cannot create a window in which to draw!"

	.no_dead_strip	_demo_create_window
.subsections_via_symbols
