	.file	"extr_gxvkern.c_gxv_kern_subtable_fmt3_validate.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"kern subtable format 3"
	.text
	.p2align 4
	.type	gxv_kern_subtable_fmt3_validate, @function
gxv_kern_subtable_fmt3_validate:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR [rsp], rdi
	add	rdi, QWORD PTR GXV_KERN_SUBTABLE_HEADER_SIZE[rip]
	mov	r14, rdi
	lea	rdi, .LC0[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	GXV_NAME_ENTER@PLT
	mov	edi, 6
	call	GXV_LIMIT_CHECK@PLT
	mov	rdi, r14
	call	FT_NEXT_USHORT@PLT
	mov	rdi, r14
	mov	r12, rax
	call	FT_NEXT_BYTE@PLT
	mov	rdi, r14
	mov	r15, rax
	call	FT_NEXT_BYTE@PLT
	mov	rdi, r14
	mov	rbp, rax
	call	FT_NEXT_BYTE@PLT
	mov	rdi, r14
	mov	rbx, rax
	call	FT_NEXT_BYTE@PLT
	mov	r8, rax
	mov	rax, QWORD PTR 8[r13]
	cmp	QWORD PTR [rax], r12
	je	.L2
	mov	rdi, r12
	mov	QWORD PTR 8[rsp], r8
	call	GXV_TRACE@PLT
	mov	edi, DWORD PTR FT_INVALID_GLYPH_ID[rip]
	call	GXV_SET_ERR_IF_PARANOID@PLT
	mov	r8, QWORD PTR 8[rsp]
.L2:
	test	r8, r8
	jne	.L19
.L3:
	lea	edi, [r15+r15]
	lea	r14, [r14+r15*2]
	call	GXV_LIMIT_CHECK@PLT
	lea	r15, 24[rsp]
	mov	edi, r12d
	call	GXV_LIMIT_CHECK@PLT
	lea	rsi, [r12+r14]
	mov	r8, r13
	mov	rdx, r15
	lea	rcx, 32[rsp]
	mov	rdi, r14
	mov	QWORD PTR 8[rsp], rcx
	call	gxv_array_getlimits_byte@PLT
	mov	edi, r12d
	add	r14, QWORD PTR 0[r13]
	call	GXV_LIMIT_CHECK@PLT
	mov	rcx, QWORD PTR 8[rsp]
	mov	rdi, r14
	mov	r8, r13
	lea	rsi, [r12+r14]
	mov	rdx, r15
	call	gxv_array_getlimits_byte@PLT
	add	r14, QWORD PTR 0[r13]
	mov	r12, r14
	xor	r14d, r14d
	test	rbp, rbp
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	xor	r15d, r15d
	test	rbx, rbx
	jle	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, 1
	add	r15, 1
	call	GXV_LIMIT_CHECK@PLT
	mov	rdi, r12
	call	FT_NEXT_BYTE@PLT
	cmp	rbx, r15
	jne	.L6
.L7:
	add	r14, 1
	cmp	rbp, r14
	jne	.L4
.L5:
	sub	r12, QWORD PTR [rsp]
	mov	QWORD PTR 0[r13], r12
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	mov	rdi, r8
	call	GXV_TRACE@PLT
	jmp	.L3
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	gxv_kern_subtable_fmt3_validate, .-gxv_kern_subtable_fmt3_validate
	.comm	GXV_KERN_SUBTABLE_HEADER_SIZE,8,8
	.comm	GXV_EXIT,4,4
	.comm	FT_INVALID_OFFSET,4,4
	.comm	FT_INVALID_GLYPH_ID,4,4
	.comm	FT_INVALID_DATA,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_gxvkern.c_gxv_kern_subtable_fmt3_validate.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"kern subtable format 3\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gxv_kern_subtable_fmt3_validate, %function
gxv_kern_subtable_fmt3_validate:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r0
	ldr	r3, .L19
	sub	sp, sp, #28
	ldr	r4, [r3]
	ldr	r3, .L19+4
	ldr	r0, .L19+8
	mov	r8, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	add	r4, r9, r4
	bl	GXV_NAME_ENTER
	mov	r0, #6
	bl	GXV_LIMIT_CHECK
	mov	r0, r4
	bl	FT_NEXT_USHORT
	mov	r10, r0
	mov	r0, r4
	bl	FT_NEXT_BYTE
	mov	r5, r0
	mov	r0, r4
	bl	FT_NEXT_BYTE
	mov	r7, r0
	mov	r0, r4
	bl	FT_NEXT_BYTE
	mov	r6, r0
	mov	r0, r4
	bl	FT_NEXT_BYTE
	ldr	r3, [r8, #4]
	mov	fp, r0
	ldr	r3, [r3]
	cmp	r3, r10
	beq	.L2
	mov	r0, r10
	bl	GXV_TRACE
	ldr	r3, .L19+12
	ldr	r0, [r3]
	bl	GXV_SET_ERR_IF_PARANOID
.L2:
	cmp	fp, #0
	bne	.L17
.L3:
	lsl	r0, r5, #1
	add	r5, r0, r4
	bl	GXV_LIMIT_CHECK
	mov	r0, r10
	bl	GXV_LIMIT_CHECK
	add	r1, r10, r5
	add	r2, sp, #12
	mov	r0, r5
	add	r3, sp, #16
	str	r8, [sp]
	bl	gxv_array_getlimits_byte
	ldr	r3, [r8]
	mov	r0, r10
	add	r5, r5, r3
	bl	GXV_LIMIT_CHECK
	add	r1, r10, r5
	mov	r0, r5
	add	r3, sp, #16
	add	r2, sp, #12
	str	r8, [sp]
	bl	gxv_array_getlimits_byte
	ldr	r3, [r8]
	cmp	r7, #0
	movgt	r10, #0
	add	r5, r5, r3
	ble	.L5
.L4:
	cmp	r6, #0
	movgt	r4, #0
	ble	.L7
.L6:
	mov	r0, #1
	add	r4, r4, r0
	bl	GXV_LIMIT_CHECK
	mov	r0, r5
	bl	FT_NEXT_BYTE
	cmp	r6, r4
	bne	.L6
.L7:
	add	r10, r10, #1
	cmp	r7, r10
	bne	.L4
.L5:
	ldr	r3, .L19+4
	sub	r5, r5, r9
	str	r5, [r8]
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	mov	r0, fp
	bl	GXV_TRACE
	b	.L3
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	GXV_KERN_SUBTABLE_HEADER_SIZE
	.word	.LC1
	.word	.LC0
	.word	FT_INVALID_GLYPH_ID
	.size	gxv_kern_subtable_fmt3_validate, .-gxv_kern_subtable_fmt3_validate
	.comm	GXV_KERN_SUBTABLE_HEADER_SIZE,4,4
	.comm	GXV_EXIT,4,4
	.comm	FT_INVALID_OFFSET,4,4
	.comm	FT_INVALID_GLYPH_ID,4,4
	.comm	FT_INVALID_DATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
