	.file	"extr_triangle-vulkan.c_memory_type_from_properties.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	memory_type_from_properties, @function
memory_type_from_properties:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR VK_MAX_MEMORY_TYPES[rip]
	test	eax, eax
	jle	.L5
	lea	r9d, -1[rax]
	xor	eax, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, r8
.L4:
	mov	r8d, esi
	and	r8d, 1
	je	.L3
	mov	r10, QWORD PTR [rdi]
	mov	r11d, DWORD PTR [r10+rax*4]
	and	r11d, edx
	cmp	r11d, edx
	je	.L11
.L3:
	sar	esi
	lea	r8, 1[rax]
	cmp	rax, r9
	jne	.L6
.L5:
	xor	r8d, r8d
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	mov	DWORD PTR [rcx], eax
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	memory_type_from_properties, .-memory_type_from_properties
	.comm	VK_MAX_MEMORY_TYPES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_triangle-vulkan.c_memory_type_from_properties.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	memory_type_from_properties, %function
memory_type_from_properties:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L13
	push	{r4, r5, lr}
	ldr	lr, [ip]
	cmp	lr, #0
	ble	.L5
	mov	r5, r0
	mov	ip, #0
.L4:
	ands	r0, r1, #1
	beq	.L3
	ldr	r4, [r5]
	ldr	r4, [r4, ip, lsl #2]
	bics	r4, r2, r4
	beq	.L12
.L3:
	add	ip, ip, #1
	cmp	ip, lr
	asr	r1, r1, #1
	bne	.L4
.L5:
	mov	r0, #0
	pop	{r4, r5, pc}
.L12:
	str	ip, [r3]
	pop	{r4, r5, pc}
.L14:
	.align	2
.L13:
	.word	VK_MAX_MEMORY_TYPES
	.size	memory_type_from_properties, .-memory_type_from_properties
	.comm	VK_MAX_MEMORY_TYPES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
