	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function memory_type_from_properties
_memory_type_from_properties:           ## @memory_type_from_properties
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VK_MAX_MEMORY_TYPES@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_6
## %bb.1:
	xorl	%r9d, %r9d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	sarl	%esi
	incq	%r9
	cmpq	%r9, %r8
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testb	$1, %sil
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdi), %rax
	movl	(%rax,%r9,4), %eax
	notl	%eax
	testl	%eax, %edx
	jne	LBB0_5
## %bb.4:
	movl	%r9d, (%rcx)
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VK_MAX_MEMORY_TYPES,4,2        ## @VK_MAX_MEMORY_TYPES
	.no_dead_strip	_memory_type_from_properties
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function memory_type_from_properties
_memory_type_from_properties:           ; @memory_type_from_properties
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _VK_MAX_MEMORY_TYPES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VK_MAX_MEMORY_TYPES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x9, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	asr	w1, w1, #1
	add	x9, x9, #1
	cmp	x8, x9
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	tbz	w1, #0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x0]
	ldr	w10, [x10, x9, lsl #2]
	bics	wzr, w2, w10
	b.ne	LBB0_2
; %bb.5:
	str	w9, [x3]
	mov	w0, #1
	ret
LBB0_6:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VK_MAX_MEMORY_TYPES,4,2        ; @VK_MAX_MEMORY_TYPES
	.no_dead_strip	_memory_type_from_properties
.subsections_via_symbols
