	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function demo_init_connection
_demo_init_connection:                  ## @demo_init_connection
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_demo_error_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glfwSetErrorCallback
	xorl	%eax, %eax
	callq	_glfwInit
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	xorl	%eax, %eax
	callq	_glfwVulkanSupported
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	_glad_vulkan_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	xorl	%edx, %edx
	popq	%rbp
	jmp	_gladLoadVulkanUserPtr          ## TAILCALL
LBB0_1:
	leaq	L_str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	leaq	L_str.2(%rip), %rdi
LBB0_2:
	callq	_puts
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_demo_error_callback,4,2        ## @demo_error_callback
	.comm	_stdout,4,2                     ## @stdout
	.comm	_glad_vulkan_callback,4,2       ## @glad_vulkan_callback
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"Cannot initialize GLFW.\nExiting ..."

L_str.2:                                ## @str.2
	.asciz	"GLFW failed to find the Vulkan loader.\nExiting ..."

	.no_dead_strip	_demo_init_connection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function demo_init_connection
_demo_init_connection:                  ; @demo_init_connection
	.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, _demo_error_callback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _demo_error_callback@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_glfwSetErrorCallback
	bl	_glfwInit
	cbz	w0, LBB0_3
; %bb.1:
	bl	_glfwVulkanSupported
	cbz	w0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _glad_vulkan_callback@GOTPAGE
Lloh4:
	ldr	x8, [x8, _glad_vulkan_callback@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, #0
	mov	x2, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_gladLoadVulkanUserPtr
LBB0_3:
Lloh6:
	adrp	x0, l_str@PAGE
Lloh7:
	add	x0, x0, l_str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x0, l_str.2@PAGE
Lloh9:
	add	x0, x0, l_str.2@PAGEOFF
LBB0_5:
	bl	_puts
Lloh10:
	adrp	x8, _stdout@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_fflush
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_demo_error_callback,4,2        ; @demo_error_callback
	.comm	_stdout,4,2                     ; @stdout
	.comm	_glad_vulkan_callback,4,2       ; @glad_vulkan_callback
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"Cannot initialize GLFW.\nExiting ..."

l_str.2:                                ; @str.2
	.asciz	"GLFW failed to find the Vulkan loader.\nExiting ..."

	.no_dead_strip	_demo_init_connection
.subsections_via_symbols
