	.file	"extr_vulkan.c_vulkan_init_default_filter_chain.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to create filter chain.\n"
	.text
	.p2align 4
	.type	vulkan_init_default_filter_chain, @function
vulkan_init_default_filter_chain:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, 56
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 72
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	mov	rdi, r12
	call	memset@PLT
	mov	rax, QWORD PTR 24[rbx]
	test	rax, rax
	je	.L6
	mov	edx, DWORD PTR 28[rax]
	mov	rcx, QWORD PTR [rax]
	cmp	QWORD PTR 8[rbx], 0
	mov	esi, DWORD PTR VULKAN_FILTER_CHAIN_NEAREST[rip]
	mov	DWORD PTR 52[rsp], edx
	mov	edx, DWORD PTR 24[rax]
	mov	DWORD PTR 48[rsp], edx
	lea	rdx, 20[rax]
	mov	QWORD PTR 40[rsp], rdx
	mov	edx, DWORD PTR 56[rbx]
	mov	DWORD PTR 36[rsp], edx
	mov	edx, DWORD PTR 16[rax]
	mov	DWORD PTR 32[rsp], edx
	mov	rdx, QWORD PTR 48[rbx]
	mov	edx, DWORD PTR [rdx+rcx*4]
	mov	rcx, QWORD PTR 36[rbx]
	mov	DWORD PTR 28[rsp], edx
	mov	edx, DWORD PTR 44[rbx]
	mov	QWORD PTR 16[rsp], rcx
	mov	DWORD PTR 24[rsp], edx
	mov	edx, DWORD PTR 12[rax]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR 12[rsp], edx
	mov	edx, DWORD PTR 32[rbx]
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR 16[rbx]
	mov	DWORD PTR 8[rsp], edx
	mov	DWORD PTR [rsp], eax
	jne	.L10
.L4:
	mov	rdi, r12
	call	vulkan_filter_chain_create_default@PLT
	mov	DWORD PTR [rbx], eax
	mov	r12d, eax
	test	eax, eax
	je	.L11
	mov	r12d, 1
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	esi, DWORD PTR VULKAN_FILTER_CHAIN_LINEAR[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	xor	r12d, r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rdi, .LC0[rip]
	call	RARCH_ERR@PLT
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vulkan_init_default_filter_chain, .-vulkan_init_default_filter_chain
	.comm	VULKAN_FILTER_CHAIN_NEAREST,4,4
	.comm	VULKAN_FILTER_CHAIN_LINEAR,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_vulkan.c_vulkan_init_default_filter_chain.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to create filter chain.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vulkan_init_default_filter_chain, %function
vulkan_init_default_filter_chain:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r5, r0
	ldr	r3, .L12
	sub	sp, sp, #60
	mov	r0, sp
	mov	r2, #52
	mov	r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	bl	memset
	ldr	r3, [r5, #12]
	cmp	r3, #0
	moveq	r4, r3
	beq	.L1
	ldr	r0, [r3]
	ldr	r1, [r5, #4]
	ldr	r2, [r5, #32]
	cmp	r1, #0
	ldr	r2, [r2, r0, lsl #2]
	ldr	r1, [r3, #20]
	ldr	r0, [r3, #24]
	add	r3, r3, #16
	str	r0, [sp, #48]
	ldr	r0, [r3, #-4]
	str	r1, [sp, #44]
	str	r2, [sp, #28]
	ldr	r1, [r5, #36]
	ldr	r2, [r5, #28]
	str	r0, [sp, #32]
	str	r1, [sp, #36]
	ldr	r0, [r5, #24]
	ldr	r1, [r5, #20]
	str	r2, [sp, #24]
	ldr	r2, [r3, #-8]
	str	r0, [sp, #20]
	str	r1, [sp, #16]
	ldr	r0, [r5, #16]
	ldr	r1, [r3, #-12]
	str	r2, [sp, #12]
	ldr	r2, [r5, #8]
	str	r3, [sp, #40]
	ldrne	r3, .L12+4
	ldreq	r3, .L12+8
	str	r0, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r0, sp
	ldr	r1, [r3]
	bl	vulkan_filter_chain_create_default
	cmp	r0, #0
	mov	r4, r0
	str	r0, [r5]
	movne	r4, #1
	beq	.L10
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, pc}
.L10:
	ldr	r0, .L12+12
	bl	RARCH_ERR
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	VULKAN_FILTER_CHAIN_LINEAR
	.word	VULKAN_FILTER_CHAIN_NEAREST
	.word	.LC0
	.size	vulkan_init_default_filter_chain, .-vulkan_init_default_filter_chain
	.comm	VULKAN_FILTER_CHAIN_NEAREST,4,4
	.comm	VULKAN_FILTER_CHAIN_LINEAR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
