	.file	"extr_ucl_schema.c_ucl_schema_validate_array.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"items"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"items attribute is invalid in schema"
	.section	.rodata.str1.1
.LC2:
	.string	"additionalItems"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"additionalItems attribute is invalid in schema"
	.section	.rodata.str1.1
.LC4:
	.string	"uniqueItems"
.LC5:
	.string	"minItems"
	.section	.rodata.str1.8
	.align 8
.LC6:
	.string	"array has not enough items: %u, minimum is: %u"
	.section	.rodata.str1.1
.LC7:
	.string	"maxItems"
	.section	.rodata.str1.8
	.align 8
.LC8:
	.string	"array has too many items: %u, maximum is: %u"
	.section	.rodata.str1.1
.LC9:
	.string	"array has undefined item"
	.text
	.p2align 4
	.type	ucl_schema_validate_array, @function
ucl_schema_validate_array:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, 1
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	QWORD PTR 24[rsp], rdi
	mov	QWORD PTR 8[rsp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	lea	rax, 80[rsp]
	mov	QWORD PTR 80[rsp], 0
	mov	QWORD PTR 32[rsp], rax
	lea	rax, 96[rsp]
	mov	QWORD PTR 88[rsp], 0
	mov	DWORD PTR 44[rsp], 0
	mov	DWORD PTR 76[rsp], 0
	mov	DWORD PTR 72[rsp], 1
	mov	QWORD PTR 56[rsp], 0
	mov	QWORD PTR 48[rsp], 0
	mov	QWORD PTR 64[rsp], rax
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rsi, QWORD PTR 32[rsp]
	mov	rdi, QWORD PTR 24[rsp]
	mov	edx, 1
	call	ucl_object_iterate@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L76
	mov	rdi, rbp
	call	ucl_object_key@PLT
	lea	rsi, .LC0[rip]
	mov	edi, eax
	call	strcmp@PLT
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR UCL_ARRAY[rip]
	je	.L77
	cmp	rax, QWORD PTR UCL_OBJECT[rip]
	jne	.L67
	lea	rbx, 88[rsp]
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rsi, rbx
	mov	edx, 1
	mov	rdi, r13
	call	ucl_object_iterate@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L14
	mov	r9, QWORD PTR 8[rsp]
	mov	r8, r15
	mov	rcx, r14
	xor	edx, edx
	mov	rdi, rbp
	call	ucl_schema_validate@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L10
.L74:
	xor	r12d, r12d
.L1:
	mov	rax, QWORD PTR 104[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L78
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, rbp
	call	ucl_object_key@PLT
	lea	rsi, .LC2[rip]
	mov	edi, eax
	call	strcmp@PLT
	test	rax, rax
	jne	.L15
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR UCL_BOOLEAN[rip]
	je	.L79
	cmp	rax, QWORD PTR UCL_OBJECT[rip]
	jne	.L80
	mov	QWORD PTR 48[rsp], rbp
.L14:
	test	r12d, r12d
	jne	.L2
	jmp	.L74
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR UCL_BOOLEAN[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L81
.L17:
	mov	rdi, rbp
	call	ucl_object_key@PLT
	lea	rsi, .LC5[rip]
	mov	edi, eax
	call	strcmp@PLT
	test	rax, rax
	jne	.L18
	mov	rsi, QWORD PTR 64[rsp]
	mov	rdi, rbp
	call	ucl_object_toint_safe@PLT
	test	rax, rax
	je	.L18
	mov	r8, QWORD PTR 8[r13]
	mov	r9, QWORD PTR 96[rsp]
	cmp	r8, r9
	jge	.L14
	lea	rcx, .LC6[rip]
	jmp	.L73
	.p2align 4,,10
	.p2align 3
.L77:
	mov	rdi, r13
	lea	rbx, 88[rsp]
	call	ucl_array_head@PLT
	mov	QWORD PTR 16[rsp], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L84:
	mov	edx, 1
	mov	rsi, rbx
	mov	rdi, rbp
	call	ucl_object_iterate@PLT
	test	rax, rax
	je	.L82
	cmp	QWORD PTR 16[rsp], 0
	jne	.L83
.L6:
	test	r12d, r12d
	jne	.L84
	jmp	.L74
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, rbp
	call	ucl_object_key@PLT
	lea	rsi, .LC7[rip]
	mov	edi, eax
	call	strcmp@PLT
	test	rax, rax
	jne	.L14
	mov	rsi, QWORD PTR 64[rsp]
	mov	rdi, rbp
	call	ucl_object_toint_safe@PLT
	test	rax, rax
	je	.L14
	mov	r8, QWORD PTR 8[r13]
	mov	r9, QWORD PTR 96[rsp]
	cmp	r8, r9
	jle	.L14
	lea	rcx, .LC8[rip]
.L73:
	mov	esi, DWORD PTR UCL_SCHEMA_CONSTRAINT[rip]
	mov	rdx, r13
	mov	rdi, r14
	xor	eax, eax
	call	ucl_schema_create_error@PLT
	jmp	.L74
	.p2align 4,,10
	.p2align 3
.L82:
	mov	rax, QWORD PTR 16[rsp]
	test	rax, rax
	cmove	rax, QWORD PTR 56[rsp]
	mov	QWORD PTR 56[rsp], rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L83:
	mov	r9, QWORD PTR 8[rsp]
	mov	rsi, QWORD PTR 16[rsp]
	mov	r8, r15
	mov	rcx, r14
	xor	edx, edx
	mov	rdi, rax
	call	ucl_schema_validate@PLT
	add	DWORD PTR 44[rsp], 1
	mov	rdi, r13
	mov	r12d, eax
	mov	eax, DWORD PTR 44[rsp]
	mov	esi, eax
	call	ucl_array_find_index@PLT
	mov	QWORD PTR 16[rsp], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L81:
	mov	rdi, rbp
	call	ucl_object_key@PLT
	lea	rsi, .LC4[rip]
	mov	edi, eax
	call	strcmp@PLT
	test	rax, rax
	jne	.L17
	mov	rdi, rbp
	call	ucl_object_toboolean@PLT
	mov	DWORD PTR 76[rsp], eax
	test	r12d, r12d
	jne	.L2
	jmp	.L74
	.p2align 4,,10
	.p2align 3
.L79:
	mov	rdi, rbp
	call	ucl_object_toboolean@PLT
	test	eax, eax
	mov	eax, 0
	cmovne	eax, DWORD PTR 72[rsp]
	mov	DWORD PTR 72[rsp], eax
	test	r12d, r12d
	jne	.L2
	jmp	.L74
	.p2align 4,,10
	.p2align 3
.L76:
	mov	eax, DWORD PTR 72[rsp]
	xor	eax, 1
	and	eax, 1
	cmp	QWORD PTR 48[rsp], 0
	setne	dl
	or	al, dl
	je	.L22
	cmp	QWORD PTR 56[rsp], 0
	je	.L22
	mov	edx, DWORD PTR 72[rsp]
	test	edx, edx
	je	.L85
	cmp	QWORD PTR 48[rsp], 0
	je	.L22
	mov	esi, DWORD PTR 44[rsp]
	mov	rdi, r13
	call	ucl_array_find_index@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L22
	mov	DWORD PTR 16[rsp], r12d
	mov	ebp, DWORD PTR 44[rsp]
	mov	r12, QWORD PTR 48[rsp]
	jmp	.L23
.L87:
	mov	esi, ebp
	mov	rdi, r13
	lea	ebx, 1[rbp]
	call	ucl_array_find_index@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L86
	mov	ebp, ebx
.L23:
	mov	r9, QWORD PTR 8[rsp]
	xor	edx, edx
	mov	r8, r15
	mov	rcx, r14
	mov	rdi, r12
	call	ucl_schema_validate@PLT
	test	eax, eax
	jne	.L87
	jmp	.L74
.L86:
	mov	r12d, DWORD PTR 16[rsp]
.L22:
	test	r12d, r12d
	je	.L1
	mov	eax, DWORD PTR 76[rsp]
	test	eax, eax
	je	.L1
	mov	rsi, r14
	mov	rdi, r13
	call	ucl_schema_array_is_unique@PLT
	mov	r12d, eax
	jmp	.L1
.L67:
	lea	rcx, .LC1[rip]
.L72:
	mov	esi, DWORD PTR UCL_SCHEMA_INVALID_SCHEMA[rip]
	mov	rdx, rbp
	mov	rdi, r14
	xor	eax, eax
	xor	r12d, r12d
	call	ucl_schema_create_error@PLT
	jmp	.L1
.L85:
	mov	esi, DWORD PTR UCL_SCHEMA_CONSTRAINT[rip]
	mov	rdx, r13
	mov	rdi, r14
	xor	eax, eax
	lea	rcx, .LC9[rip]
	call	ucl_schema_create_error@PLT
	jmp	.L74
.L80:
	lea	rcx, .LC3[rip]
	jmp	.L72
.L78:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ucl_schema_validate_array, .-ucl_schema_validate_array
	.comm	UCL_SCHEMA_INVALID_SCHEMA,4,4
	.comm	UCL_SCHEMA_CONSTRAINT,4,4
	.comm	UCL_OBJECT,8,8
	.comm	UCL_BOOLEAN,8,8
	.comm	UCL_ARRAY,8,8
	.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_ucl_schema.c_ucl_schema_validate_array.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"items\000"
	.align	2
.LC1:
	.ascii	"items attribute is invalid in schema\000"
	.align	2
.LC2:
	.ascii	"additionalItems\000"
	.align	2
.LC3:
	.ascii	"additionalItems attribute is invalid in schema\000"
	.align	2
.LC4:
	.ascii	"uniqueItems\000"
	.align	2
.LC5:
	.ascii	"minItems\000"
	.align	2
.LC6:
	.ascii	"array has not enough items: %u, minimum is: %u\000"
	.align	2
.LC7:
	.ascii	"maxItems\000"
	.align	2
.LC8:
	.ascii	"array has too many items: %u, maximum is: %u\000"
	.align	2
.LC9:
	.ascii	"array has undefined item\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ucl_schema_validate_array, %function
ucl_schema_validate_array:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	ip, #0
	mov	r4, #1
	mov	fp, r0
	mov	r6, r1
	mov	r7, r2
	sub	sp, sp, #52
	mov	r8, r3
	ldr	r3, .L77
	str	ip, [sp, #20]
	str	r4, [sp, #24]
	ldr	r9, [sp, #88]
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	str	ip, [sp, #32]
	str	ip, [sp, #36]
	str	ip, [sp, #28]
	str	ip, [sp, #16]
	str	ip, [sp, #12]
.L2:
	mov	r2, #1
	mov	r0, fp
	add	r1, sp, #32
	bl	ucl_object_iterate
	subs	r5, r0, #0
	beq	.L65
	bl	ucl_object_key
	ldr	r1, .L77+4
	bl	strcmp
	cmp	r0, #0
	bne	.L3
	ldr	r2, .L77+8
	ldr	r3, [r5]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L66
	ldr	r2, .L77+12
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L60
.L10:
	add	r1, sp, #36
	mov	r2, #1
	mov	r0, r6
	bl	ucl_object_iterate
	subs	r1, r0, #0
	beq	.L14
	mov	r3, r7
	mov	r2, #0
	mov	r0, r5
	stm	sp, {r8, r9}
	bl	ucl_schema_validate
	subs	r4, r0, #0
	bne	.L10
.L7:
	mov	r4, #0
.L1:
	ldr	r3, .L77
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L67
	mov	r0, r4
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	mov	r0, r5
	bl	ucl_object_key
	ldr	r1, .L77+16
	bl	strcmp
	cmp	r0, #0
	bne	.L15
	ldr	r2, .L77+20
	ldr	r3, [r5]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L68
	ldr	r2, .L77+12
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L69
	str	r5, [sp, #12]
.L14:
	cmp	r4, #0
	bne	.L2
	b	.L7
.L15:
	ldr	r3, .L77+20
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L70
.L17:
	mov	r0, r5
	bl	ucl_object_key
	ldr	r1, .L77+24
	bl	strcmp
	subs	r10, r0, #0
	bne	.L18
	mov	r0, r5
	add	r1, sp, #40
	bl	ucl_object_toint_safe
	cmp	r0, #0
	beq	.L18
	ldr	r3, [r6, #4]
	ldr	r2, [sp, #40]
	cmp	r3, r2
	bge	.L14
	ldr	r1, .L77+28
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r2, r6
	mov	r0, r7
	ldr	r1, [r1]
	ldr	r3, .L77+32
	mov	r4, r10
	bl	ucl_schema_create_error
	b	.L1
.L66:
	mov	r0, r6
	bl	ucl_array_head
	mov	r10, r0
	b	.L6
.L73:
	mov	r2, #1
	mov	r0, r5
	add	r1, sp, #36
	bl	ucl_object_iterate
	cmp	r0, #0
	beq	.L71
	cmp	r10, #0
	bne	.L72
.L6:
	cmp	r4, #0
	bne	.L73
	b	.L7
.L18:
	mov	r0, r5
	bl	ucl_object_key
	ldr	r1, .L77+36
	bl	strcmp
	subs	r10, r0, #0
	bne	.L14
	mov	r0, r5
	add	r1, sp, #40
	bl	ucl_object_toint_safe
	cmp	r0, #0
	beq	.L14
	ldr	r3, [r6, #4]
	ldr	r2, [sp, #40]
	cmp	r3, r2
	ble	.L14
	ldr	r1, .L77+28
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r2, r6
	mov	r0, r7
	ldr	r1, [r1]
	ldr	r3, .L77+40
	mov	r4, r10
	bl	ucl_schema_create_error
	b	.L1
.L71:
	cmp	r10, #0
	ldr	r3, [sp, #16]
	movne	r3, r10
	str	r3, [sp, #16]
	b	.L2
.L72:
	mov	r1, r10
	mov	r3, r7
	mov	r2, #0
	stm	sp, {r8, r9}
	bl	ucl_schema_validate
	ldr	r3, [sp, #20]
	mov	r4, r0
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r6
	str	r3, [sp, #20]
	bl	ucl_array_find_index
	mov	r10, r0
	b	.L6
.L70:
	mov	r0, r5
	bl	ucl_object_key
	ldr	r1, .L77+44
	bl	strcmp
	cmp	r0, #0
	bne	.L17
	mov	r0, r5
	bl	ucl_object_toboolean
	cmp	r4, #0
	str	r0, [sp, #28]
	bne	.L2
	b	.L7
.L68:
	mov	r0, r5
	bl	ucl_object_toboolean
	cmp	r0, #0
	ldr	r3, [sp, #24]
	moveq	r3, #0
	cmp	r4, #0
	str	r3, [sp, #24]
	bne	.L2
	b	.L7
.L65:
	ldr	r2, [sp, #12]
	ldr	r3, [sp, #24]
	cmp	r2, #0
	ldr	r2, [sp, #16]
	eor	r3, r3, #1
	andeq	r3, r3, #1
	movne	r3, #1
	cmp	r2, #0
	moveq	r3, #0
	cmp	r3, #0
	bne	.L74
.L22:
	ldr	r3, [sp, #28]
	cmp	r4, #0
	cmpne	r3, #0
	beq	.L1
	mov	r1, r7
	mov	r0, r6
	bl	ucl_schema_array_is_unique
	mov	r4, r0
	b	.L1
.L60:
	mov	ip, r0
	ldr	r3, .L77+48
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r7
	ldr	r3, .L77+52
	mov	r4, ip
	bl	ucl_schema_create_error
	b	.L1
.L74:
	ldr	r3, [sp, #24]
	cmp	r3, #0
	beq	.L75
	ldr	r3, [sp, #12]
	cmp	r3, #0
	beq	.L22
	ldr	r1, [sp, #20]
	mov	r0, r6
	bl	ucl_array_find_index
	subs	r1, r0, #0
	beq	.L22
	ldr	r10, [sp, #12]
	ldr	r5, [sp, #20]
	b	.L23
.L76:
	mov	r1, r5
	mov	r0, r6
	bl	ucl_array_find_index
	subs	r1, r0, #0
	add	r5, r5, #1
	beq	.L22
.L23:
	mov	r3, r7
	mov	r2, #0
	mov	r0, r10
	stm	sp, {r8, r9}
	bl	ucl_schema_validate
	cmp	r0, #0
	bne	.L76
	b	.L7
.L75:
	ldr	r3, .L77+28
	mov	r2, r6
	ldr	r1, [r3]
	mov	r0, r7
	ldr	r3, .L77+56
	ldr	r4, [sp, #24]
	bl	ucl_schema_create_error
	b	.L1
.L69:
	mov	ip, r0
	ldr	r3, .L77+48
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r7
	ldr	r3, .L77+60
	mov	r4, ip
	bl	ucl_schema_create_error
	b	.L1
.L67:
	bl	__stack_chk_fail
.L78:
	.align	2
.L77:
	.word	.LC10
	.word	.LC0
	.word	UCL_ARRAY
	.word	UCL_OBJECT
	.word	.LC2
	.word	UCL_BOOLEAN
	.word	.LC5
	.word	UCL_SCHEMA_CONSTRAINT
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC4
	.word	UCL_SCHEMA_INVALID_SCHEMA
	.word	.LC1
	.word	.LC9
	.word	.LC3
	.size	ucl_schema_validate_array, .-ucl_schema_validate_array
	.comm	UCL_SCHEMA_INVALID_SCHEMA,4,4
	.comm	UCL_SCHEMA_CONSTRAINT,4,4
	.comm	UCL_OBJECT,4,4
	.comm	UCL_BOOLEAN,4,4
	.comm	UCL_ARRAY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
