	.file	"extr_render.c_FindVisual.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	FindVisual, @function
FindVisual:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rcx
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	FindPictScreen@PLT
	test	rax, rax
	je	.L2
	mov	rdi, rax
	call	xcb_render_pictscreen_depths_iterator@PLT
	mov	QWORD PTR [rsp], rax
	mov	QWORD PTR 8[rsp], rdx
	test	rax, rax
	jle	.L2
	lea	rbp, 16[rsp]
.L7:
	mov	rdi, QWORD PTR 8[rsp]
	call	xcb_render_pictdepth_visuals_iterator@PLT
	mov	QWORD PTR 16[rsp], rax
	mov	QWORD PTR 24[rsp], rdx
	test	rax, rax
	jg	.L6
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, rbp
	call	xcb_render_pictvisual_next@PLT
	cmp	QWORD PTR 16[rsp], 0
	jle	.L3
.L6:
	mov	rax, QWORD PTR 24[rsp]
	cmp	QWORD PTR [rax], rbx
	jne	.L4
	mov	eax, DWORD PTR 8[rax]
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L16
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, rsp
	call	xcb_render_pictdepth_next@PLT
	cmp	QWORD PTR [rsp], 0
	jg	.L7
	.p2align 4,,10
	.p2align 3
.L2:
	xor	eax, eax
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	FindVisual, .-FindVisual
	.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_render.c_FindVisual.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	FindVisual, %function
FindVisual:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	ip, .L17
	sub	sp, sp, #24
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	mov	r4, r3
	bl	FindPictScreen
	subs	r1, r0, #0
	beq	.L2
	add	r0, sp, #4
	bl	xcb_render_pictscreen_depths_iterator
	ldr	r3, [sp, #4]
	cmp	r3, #0
	ble	.L2
.L7:
	ldr	r1, [sp, #8]
	add	r0, sp, #12
	bl	xcb_render_pictdepth_visuals_iterator
	ldr	r3, [sp, #12]
	cmp	r3, #0
	bgt	.L6
	b	.L3
.L4:
	add	r0, sp, #12
	bl	xcb_render_pictvisual_next
	ldr	r2, [sp, #12]
	cmp	r2, #0
	ble	.L3
.L6:
	ldr	r2, [sp, #16]
	ldr	r1, [r2]
	cmp	r1, r4
	bne	.L4
	ldr	r0, [r2, #4]
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #24
	@ sp needed
	pop	{r4, pc}
.L3:
	add	r0, sp, #4
	bl	xcb_render_pictdepth_next
	ldr	r3, [sp, #4]
	cmp	r3, #0
	bgt	.L7
.L2:
	mov	r0, #0
	b	.L1
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC0
	.size	FindVisual, .-FindVisual
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
