	.file	"extr_texture.c_sample_2d_linear_mipmap_nearest.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sample_2d_linear_mipmap_nearest, @function
sample_2d_linear_mipmap_nearest:
.LFB0:
	.cfi_startproc
	endbr64
	movss	xmm3, DWORD PTR .LC0[rip]
	mov	r11, rdx
	mov	rdx, QWORD PTR [rdi]
	mov	r10, rsi
	mov	r9, r8
	comiss	xmm3, xmm2
	mov	rsi, QWORD PTR [rdx]
	jnb	.L2
	addss	xmm2, DWORD PTR .LC1[rip]
	mov	rsi, QWORD PTR [rsi]
	cvttss2si	rax, xmm2
	cmp	rax, rsi
	cmovg	rax, rsi
	mov	rsi, QWORD PTR [rdx+rax*8]
.L2:
	mov	r8, rcx
	mov	rdx, r10
	mov	rcx, r11
	jmp	sample_2d_linear@PLT
	.cfi_endproc
.LFE0:
	.size	sample_2d_linear_mipmap_nearest, .-sample_2d_linear_mipmap_nearest
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1056964608
	.align 4
.LC1:
	.long	1056964574
	.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_texture.c_sample_2d_linear_mipmap_nearest.c"
	.text
	.global	__aeabi_fcmple
	.global	__aeabi_fadd
	.global	__aeabi_f2iz
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sample_2d_linear_mipmap_nearest, %function
sample_2d_linear_mipmap_nearest:
	@ args = 16, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	sub	sp, sp, #12
	mov	r0, r3
	mov	r6, r1
	mov	r1, #1056964608
	mov	r5, r3
	mov	r7, r2
	bl	__aeabi_fcmple
	ldr	r9, [r4]
	cmp	r0, #0
	ldr	r8, [r9]
	ldr	r10, [sp, #48]
	ldr	fp, [sp, #52]
	ldr	r3, [sp, #56]
	ldr	r2, [sp, #60]
	bne	.L2
	ldr	r1, .L5
	mov	r0, r5
	str	r2, [sp, #4]
	str	r3, [sp]
	bl	__aeabi_fadd
	bl	__aeabi_f2iz
	ldr	r1, [r8]
	ldr	r2, [sp, #4]
	cmp	r0, r1
	movge	r0, r1
	ldr	r3, [sp]
	ldr	r8, [r9, r0, lsl #2]
.L2:
	str	r2, [sp, #60]
	str	r3, [sp, #56]
	mov	r2, r6
	mov	r3, r7
	mov	r1, r8
	mov	r0, r4
	str	fp, [sp, #52]
	str	r10, [sp, #48]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	sample_2d_linear
.L6:
	.align	2
.L5:
	.word	1056964574
	.size	sample_2d_linear_mipmap_nearest, .-sample_2d_linear_mipmap_nearest
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
