	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function glad_vk_find_extensions_vulkan
_glad_vk_find_extensions_vulkan:        ## @glad_vk_find_extensions_vulkan
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	$0, -4(%rbp)
	movq	$0, -16(%rbp)
	leaq	-4(%rbp), %rsi
	leaq	-16(%rbp), %rdx
	callq	_glad_vk_get_extensions
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	-4(%rbp), %esi
	movq	-16(%rbp), %rdx
	leaq	L_.str(%rip), %rdi
	callq	_glad_vk_has_extension
	movq	_GLAD_VK_EXT_debug_report@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	-4(%rbp), %esi
	movq	-16(%rbp), %rdx
	leaq	L_.str.1(%rip), %rdi
	callq	_glad_vk_has_extension
	movq	_GLAD_VK_KHR_surface@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	-4(%rbp), %esi
	movq	-16(%rbp), %rdx
	leaq	L_.str.2(%rip), %rdi
	callq	_glad_vk_has_extension
	movq	_GLAD_VK_KHR_swapchain@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	-4(%rbp), %edi
	movq	-16(%rbp), %rsi
	callq	_glad_vk_free_extensions
	movl	$1, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VK_EXT_debug_report"

	.comm	_GLAD_VK_EXT_debug_report,8,3   ## @GLAD_VK_EXT_debug_report
L_.str.1:                               ## @.str.1
	.asciz	"VK_KHR_surface"

	.comm	_GLAD_VK_KHR_surface,8,3        ## @GLAD_VK_KHR_surface
L_.str.2:                               ## @.str.2
	.asciz	"VK_KHR_swapchain"

	.comm	_GLAD_VK_KHR_swapchain,8,3      ## @GLAD_VK_KHR_swapchain
	.no_dead_strip	_glad_vk_find_extensions_vulkan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function glad_vk_find_extensions_vulkan
_glad_vk_find_extensions_vulkan:        ; @glad_vk_find_extensions_vulkan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	stur	wzr, [x29, #-4]
	str	xzr, [sp]
	sub	x1, x29, #4
	mov	x2, sp
	bl	_glad_vk_get_extensions
	cbz	w0, LBB0_2
; %bb.1:
	ldur	w1, [x29, #-4]
	ldr	x2, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_glad_vk_has_extension
Lloh2:
	adrp	x8, _GLAD_VK_EXT_debug_report@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GLAD_VK_EXT_debug_report@GOTPAGEOFF]
Lloh4:
	str	x0, [x8]
	ldur	w1, [x29, #-4]
	ldr	x2, [sp]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_glad_vk_has_extension
Lloh7:
	adrp	x8, _GLAD_VK_KHR_surface@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GLAD_VK_KHR_surface@GOTPAGEOFF]
Lloh9:
	str	x0, [x8]
	ldur	w1, [x29, #-4]
	ldr	x2, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_glad_vk_has_extension
Lloh12:
	adrp	x8, _GLAD_VK_KHR_swapchain@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GLAD_VK_KHR_swapchain@GOTPAGEOFF]
Lloh14:
	str	x0, [x8]
	ldur	w0, [x29, #-4]
	ldr	x1, [sp]
	bl	_glad_vk_free_extensions
	mov	w0, #1
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VK_EXT_debug_report"

	.comm	_GLAD_VK_EXT_debug_report,8,3   ; @GLAD_VK_EXT_debug_report
l_.str.1:                               ; @.str.1
	.asciz	"VK_KHR_surface"

	.comm	_GLAD_VK_KHR_surface,8,3        ; @GLAD_VK_KHR_surface
l_.str.2:                               ; @.str.2
	.asciz	"VK_KHR_swapchain"

	.comm	_GLAD_VK_KHR_swapchain,8,3      ; @GLAD_VK_KHR_swapchain
	.no_dead_strip	_glad_vk_find_extensions_vulkan
.subsections_via_symbols
