	.file	"extr_jsonfuncs.c_setPathArray.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"path element at position %d is not an integer: \"%s\""
	.text
	.p2align 4
	.type	setPathArray, @function
setPathArray:
.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
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	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, 72
	.cfi_def_cfa_offset 128
	mov	rdi, QWORD PTR 128[rsp]
	mov	QWORD PTR 40[rsp], rsi
	mov	QWORD PTR 32[rsp], rdx
	mov	DWORD PTR 24[rsp], ecx
	mov	DWORD PTR [rsp], r9d
	mov	QWORD PTR 16[rsp], rdi
	mov	rbx, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rbx
	xor	ebx, ebx
	cmp	r9d, ecx
	jge	.L4
	movsx	rax, DWORD PTR [rsp]
	mov	rcx, QWORD PTR 32[rsp]
	mov	r9d, DWORD PTR [rcx+rax*4]
	test	r9d, r9d
	je	.L67
.L4:
	mov	rdx, QWORD PTR INT_MIN[rip]
	mov	r15d, DWORD PTR 136[rsp]
.L3:
	test	r15d, r15d
	jns	.L7
	mov	eax, r15d
	add	r15d, DWORD PTR 136[rsp]
	neg	eax
	cmp	eax, DWORD PTR 136[rsp]
	cmovg	r15d, edx
.L7:
	mov	edi, DWORD PTR 136[rsp]
	mov	eax, 0
	mov	r8d, DWORD PTR 136[rsp]
	test	edi, edi
	cmovns	eax, DWORD PTR 136[rsp]
	cmp	r15d, eax
	cmovg	r15d, DWORD PTR 136[rsp]
	test	r8d, r8d
	je	.L39
	movsx	rax, r15d
	mov	DWORD PTR 28[rsp], 0
	cmp	rax, rdx
	jne	.L10
.L39:
	mov	eax, DWORD PTR 24[rsp]
	mov	DWORD PTR 28[rsp], 0
	sub	eax, 1
	cmp	eax, DWORD PTR [rsp]
	je	.L68
.L10:
	mov	eax, DWORD PTR 24[rsp]
	mov	esi, DWORD PTR 136[rsp]
	lea	rbp, 48[rsp]
	cmp	DWORD PTR [rsp], eax
	setl	BYTE PTR 11[rsp]
	sub	eax, 1
	xor	ebx, ebx
	mov	DWORD PTR 12[rsp], eax
	test	esi, esi
	jle	.L1
	mov	DWORD PTR 4[rsp], r15d
	mov	r15d, DWORD PTR 144[rsp]
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L14:
	push	r15
	.cfi_def_cfa_offset 136
	mov	r8, r13
	mov	rdi, r14
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 144
	mov	eax, DWORD PTR 16[rsp]
	mov	ecx, DWORD PTR 40[rsp]
	mov	rdx, QWORD PTR 48[rsp]
	mov	rsi, QWORD PTR 56[rsp]
	lea	r9d, 1[rax]
	call	setPath@PLT
	pop	rdx
	.cfi_def_cfa_offset 136
	pop	rcx
	.cfi_def_cfa_offset 128
.L18:
	add	ebx, 1
	cmp	DWORD PTR 136[rsp], ebx
	je	.L1
.L29:
	cmp	DWORD PTR 4[rsp], ebx
	jne	.L13
	cmp	BYTE PTR 11[rsp], 0
	je	.L13
	mov	ecx, DWORD PTR [rsp]
	cmp	DWORD PTR 12[rsp], ecx
	jne	.L14
	mov	edx, 1
	mov	rsi, rbp
	mov	rdi, r14
	call	JsonbIteratorNext@PLT
	mov	edx, DWORD PTR JB_PATH_INSERT_BEFORE[rip]
	mov	r12, rax
	mov	eax, DWORD PTR JB_PATH_CREATE[rip]
	or	eax, edx
	test	eax, r15d
	jne	.L69
.L15:
	mov	eax, DWORD PTR JB_PATH_INSERT_AFTER[rip]
	or	edx, eax
	test	edx, r15d
	jne	.L70
.L16:
	or	eax, DWORD PTR JB_PATH_REPLACE[rip]
	test	eax, r15d
	jne	.L17
.L65:
	mov	DWORD PTR 28[rsp], 1
	add	ebx, 1
	cmp	DWORD PTR 136[rsp], ebx
	jne	.L29
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L71
	add	rsp, 72
	.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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	xor	edx, edx
	mov	rsi, rbp
	mov	rdi, r14
	call	JsonbIteratorNext@PLT
	mov	edx, 0
	cmp	QWORD PTR WJB_BEGIN_ARRAY[rip], rax
	mov	rdi, r13
	cmovg	rdx, rbp
	mov	rsi, rax
	mov	r12, rax
	call	pushJsonbValue@PLT
	cmp	QWORD PTR WJB_BEGIN_ARRAY[rip], r12
	je	.L37
	cmp	QWORD PTR WJB_BEGIN_OBJECT[rip], r12
	je	.L37
.L21:
	test	DWORD PTR JB_PATH_CREATE_OR_INSERT[rip], r15d
	je	.L18
	mov	eax, DWORD PTR 28[rsp]
	test	eax, eax
	jne	.L65
	mov	ecx, DWORD PTR [rsp]
	cmp	DWORD PTR 12[rsp], ecx
	jne	.L18
	mov	eax, DWORD PTR 136[rsp]
	sub	eax, 1
	cmp	eax, ebx
	jne	.L18
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, r13
	call	addJsonbToParseState@PLT
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L37:
	mov	r12d, 1
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rsi, rbp
	xor	edx, edx
	mov	rdi, r14
	call	JsonbIteratorNext@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR WJB_BEGIN_ARRAY[rip]
	cmp	rax, rsi
	je	.L22
	cmp	QWORD PTR WJB_BEGIN_OBJECT[rip], rsi
	je	.L22
	cmp	QWORD PTR WJB_END_ARRAY[rip], rsi
	je	.L24
.L72:
	cmp	QWORD PTR WJB_END_OBJECT[rip], rsi
	je	.L24
	cmp	rax, rsi
	jg	.L32
	xor	edx, edx
	mov	rdi, r13
	call	pushJsonbValue@PLT
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L22:
	add	r12d, 1
	cmp	QWORD PTR WJB_END_ARRAY[rip], rsi
	jne	.L72
.L24:
	sub	r12d, 1
	mov	edx, 0
	cmp	rax, rsi
	mov	rdi, r13
	cmovg	rdx, rbp
	call	pushJsonbValue@PLT
	test	r12d, r12d
	jne	.L27
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L32:
	mov	rdx, rbp
	mov	rdi, r13
	call	pushJsonbValue@PLT
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, r13
	call	addJsonbToParseState@PLT
	jmp	.L65
	.p2align 4,,10
	.p2align 3
.L70:
	mov	rdx, rbp
	mov	rsi, r12
	mov	rdi, r13
	call	pushJsonbValue@PLT
	mov	eax, DWORD PTR JB_PATH_INSERT_AFTER[rip]
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L69:
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, r13
	call	addJsonbToParseState@PLT
	mov	edx, DWORD PTR JB_PATH_INSERT_BEFORE[rip]
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L68:
	mov	eax, DWORD PTR 144[rsp]
	and	eax, DWORD PTR JB_PATH_CREATE_OR_INSERT[rip]
	mov	DWORD PTR 28[rsp], eax
	je	.L10
	mov	rbx, QWORD PTR 16[rsp]
	xor	edi, edi
	test	rbx, rbx
	setne	dil
	call	Assert@PLT
	mov	rsi, rbx
	mov	rdi, r13
	call	addJsonbToParseState@PLT
	mov	DWORD PTR 28[rsp], 1
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L67:
	mov	rcx, QWORD PTR 40[rsp]
	mov	edi, DWORD PTR [rcx+rax*4]
	call	TextDatumGetCString@PLT
	lea	rsi, 48[rsp]
	mov	edx, 10
	mov	QWORD PTR errno[rip], 0
	mov	rdi, rax
	mov	r12, rax
	call	strtol@PLT
	cmp	QWORD PTR errno[rip], 0
	mov	r15, rax
	jne	.L5
	mov	rax, QWORD PTR 48[rsp]
	cmp	rax, r12
	je	.L5
	cmp	BYTE PTR [rax], 0
	jne	.L5
	cmp	QWORD PTR INT_MAX[rip], r15
	jl	.L5
	mov	rdx, QWORD PTR INT_MIN[rip]
	cmp	rdx, r15
	jle	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR ERRCODE_INVALID_TEXT_REPRESENTATION[rip]
	call	errcode@PLT
	mov	eax, DWORD PTR [rsp]
	mov	rdx, r12
	lea	rdi, .LC0[rip]
	lea	esi, 1[rax]
	call	errmsg@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	esi, eax
	call	ereport@PLT
	mov	rdx, QWORD PTR INT_MIN[rip]
	jmp	.L3
.L71:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	setPathArray, .-setPathArray
	.comm	errno,8,8
	.comm	WJB_END_OBJECT,8,8
	.comm	WJB_END_ARRAY,8,8
	.comm	WJB_BEGIN_OBJECT,8,8
	.comm	WJB_BEGIN_ARRAY,8,8
	.comm	JB_PATH_REPLACE,4,4
	.comm	JB_PATH_INSERT_BEFORE,4,4
	.comm	JB_PATH_INSERT_AFTER,4,4
	.comm	JB_PATH_CREATE_OR_INSERT,4,4
	.comm	JB_PATH_CREATE,4,4
	.comm	INT_MIN,8,8
	.comm	INT_MAX,8,8
	.comm	ERROR,4,4
	.comm	ERRCODE_INVALID_TEXT_REPRESENTATION,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_jsonfuncs.c_setPathArray.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"path element at position %d is not an integer: \"%s"
	.ascii	"\"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	setPathArray, %function
setPathArray:
	@ args = 20, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r3
	sub	sp, sp, #52
	ldr	r3, [sp, #92]
	str	r1, [sp, #36]
	cmp	r3, r9
	ldr	r3, .L78
	str	r2, [sp, #28]
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	ldr	r3, [sp, #96]
	mov	r7, r0
	ldr	r8, [sp, #88]
	str	r3, [sp, #24]
	bge	.L4
	ldr	r3, [sp, #28]
	ldr	r2, [sp, #92]
	ldr	r5, [r3, r2, lsl #2]
	cmp	r5, #0
	beq	.L69
.L4:
	ldr	r3, .L78+4
	ldr	r2, [sp, #100]
	ldr	r3, [r3]
	str	r2, [sp, #16]
.L3:
	ldr	r1, [sp, #16]
	ldr	r2, [sp, #100]
	cmp	r1, #0
	bic	r2, r2, r2, asr #31
	blt	.L70
.L7:
	ldr	r0, [sp, #16]
	ldr	ip, [sp, #100]
	cmp	r0, r2
	mov	r1, r0
	movgt	r1, ip
	str	r1, [sp, #16]
.L9:
	ldr	r2, [sp, #16]
	sub	r3, r2, r3
	clz	r3, r3
	ldr	r2, [sp, #100]
	lsr	r3, r3, #5
	cmp	r2, #0
	moveq	r3, #1
	cmp	r3, #0
	beq	.L66
.L10:
	ldr	r2, [sp, #92]
	sub	r3, r9, #1
	cmp	r3, r2
	movne	r3, #0
	beq	.L71
.L66:
	str	r3, [sp, #32]
.L11:
	ldr	r3, [sp, #100]
	cmp	r3, #0
	ble	.L1
	ldr	r3, [sp, #92]
	mov	r4, #0
	cmp	r3, r9
	movge	r3, #0
	movlt	r3, #1
	ldr	r10, .L78+8
	str	r3, [sp, #20]
	b	.L29
.L73:
	ldr	r2, [sp, #92]
	sub	r3, r9, #1
	cmp	r3, r2
	beq	.L72
	ldr	r2, [sp, #104]
	ldr	r3, [sp, #92]
	str	r2, [sp, #12]
	ldr	r2, [sp, #24]
	add	r3, r3, #1
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	mov	r0, r7
	mov	r3, r9
	ldr	r2, [sp, #28]
	ldr	r1, [sp, #36]
	str	r8, [sp]
	bl	setPath
.L18:
	ldr	r3, [sp, #100]
	add	r4, r4, #1
	cmp	r3, r4
	beq	.L1
.L29:
	ldr	r2, [sp, #20]
	ldr	r3, [sp, #16]
	cmp	r3, r4
	movne	r2, #0
	andeq	r2, r2, #1
	cmp	r2, #0
	bne	.L73
	add	r5, sp, #40
	mov	r1, r5
	mov	r0, r7
	bl	JsonbIteratorNext
	mov	r6, r0
	ldr	r2, [r10]
	mov	r1, r0
	cmp	r2, r0
	movgt	r2, r5
	movle	r2, #0
	mov	r0, r8
	bl	pushJsonbValue
	ldr	r3, [r10]
	cmp	r3, r6
	beq	.L38
	ldr	r3, .L78+12
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L38
.L21:
	ldr	r3, .L78+16
	ldr	r2, [sp, #104]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L18
	ldr	r3, [sp, #32]
	cmp	r3, #0
	bne	.L67
	ldr	r2, [sp, #92]
	sub	r3, r9, #1
	cmp	r3, r2
	bne	.L18
	ldr	r3, [sp, #100]
	sub	r3, r3, #1
	cmp	r3, r4
	bne	.L18
	mov	r0, r8
	ldr	r1, [sp, #24]
	bl	addJsonbToParseState
	b	.L18
.L72:
	add	r5, sp, #40
	mov	r1, r5
	mov	r2, #1
	mov	r0, r7
	bl	JsonbIteratorNext
	ldr	fp, .L78+20
	ldr	r3, .L78+24
	ldr	r2, [fp]
	ldr	r3, [r3]
	ldr	r1, [sp, #104]
	orr	r3, r2, r3
	tst	r3, r1
	mov	r6, r0
	bne	.L74
.L15:
	ldr	fp, .L78+28
	ldr	r1, [sp, #104]
	ldr	r3, [fp]
	orr	r2, r3, r2
	tst	r2, r1
	bne	.L75
.L16:
	ldr	r2, .L78+32
	ldr	r2, [r2]
	orr	r3, r3, r2
	ldr	r2, [sp, #104]
	tst	r3, r2
	beq	.L67
	mov	r0, r8
	ldr	r1, [sp, #24]
	bl	addJsonbToParseState
.L67:
	mov	r3, #1
	str	r3, [sp, #32]
	ldr	r3, [sp, #100]
	add	r4, r4, #1
	cmp	r3, r4
	bne	.L29
.L1:
	ldr	r3, .L78
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L76
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L38:
	mov	r6, #1
	ldr	fp, .L78+36
.L27:
	mov	r2, #0
	mov	r1, r5
	mov	r0, r7
	bl	JsonbIteratorNext
	ldr	r2, [r10]
	mov	r1, r0
	cmp	r2, r0
	beq	.L22
	ldr	r3, .L78+12
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L22
	ldr	r3, [fp]
	cmp	r3, r1
	beq	.L24
.L77:
	ldr	r3, .L78+40
	ldr	r3, [r3]
	cmp	r3, r1
	beq	.L24
	cmp	r2, r1
	bgt	.L32
	mov	r2, #0
	mov	r0, r8
	bl	pushJsonbValue
	b	.L27
.L22:
	ldr	r3, [fp]
	add	r6, r6, #1
	cmp	r3, r1
	bne	.L77
.L24:
	cmp	r2, r1
	movgt	r2, r5
	movle	r2, #0
	mov	r0, r8
	sub	r6, r6, #1
	bl	pushJsonbValue
	cmp	r6, #0
	bne	.L27
	b	.L21
.L32:
	mov	r2, r5
	mov	r0, r8
	bl	pushJsonbValue
	b	.L27
.L75:
	mov	r2, r5
	mov	r1, r6
	mov	r0, r8
	bl	pushJsonbValue
	ldr	r3, [fp]
	b	.L16
.L74:
	mov	r0, r8
	ldr	r1, [sp, #24]
	bl	addJsonbToParseState
	ldr	r2, [fp]
	b	.L15
.L71:
	ldr	r3, .L78+16
	ldr	r2, [sp, #104]
	ldr	r3, [r3]
	ands	r3, r2, r3
	str	r3, [sp, #32]
	beq	.L11
	ldr	r4, [sp, #24]
	subs	r0, r4, #0
	movne	r0, #1
	bl	Assert
	mov	r1, r4
	mov	r0, r8
	bl	addJsonbToParseState
	mov	r3, #1
	str	r3, [sp, #32]
	b	.L11
.L70:
	ldr	r0, [sp, #100]
	rsb	r1, r1, #0
	cmp	r1, r0
	ble	.L8
	cmp	r2, r3
	strge	r3, [sp, #16]
	bge	.L10
	ldr	r2, [sp, #100]
	str	r2, [sp, #16]
	b	.L9
.L8:
	ldr	r1, [sp, #16]
	ldr	r0, [sp, #100]
	add	r1, r1, r0
	str	r1, [sp, #16]
	b	.L7
.L69:
	ldr	r3, [sp, #36]
	ldr	r6, .L78+44
	ldr	r0, [r3, r2, lsl #2]
	bl	TextDatumGetCString
	mov	r2, #10
	add	r1, sp, #40
	mov	r4, r0
	str	r5, [r6]
	bl	strtol
	ldr	r3, [r6]
	str	r0, [sp, #16]
	cmp	r3, #0
	bne	.L65
	ldr	r3, [sp, #40]
	cmp	r3, r4
	beq	.L65
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L62
.L65:
	ldr	r5, .L78+4
.L5:
	ldr	r2, .L78+48
	ldr	r3, .L78+52
	ldr	r0, [r2]
	ldr	r6, [r3]
	bl	errcode
	ldr	r3, [sp, #92]
	mov	r2, r4
	add	r1, r3, #1
	ldr	r0, .L78+56
	bl	errmsg
	mov	r1, r0
	mov	r0, r6
	bl	ereport
	ldr	r3, [r5]
	b	.L3
.L62:
	ldr	r3, .L78+60
	ldr	r2, [sp, #16]
	ldr	r3, [r3]
	ldr	r5, .L78+4
	cmp	r3, r2
	blt	.L5
	ldr	r3, [r5]
	ldr	r2, [sp, #16]
	cmp	r3, r2
	ble	.L3
	b	.L5
.L76:
	bl	__stack_chk_fail
.L79:
	.align	2
.L78:
	.word	.LC1
	.word	INT_MIN
	.word	WJB_BEGIN_ARRAY
	.word	WJB_BEGIN_OBJECT
	.word	JB_PATH_CREATE_OR_INSERT
	.word	JB_PATH_INSERT_BEFORE
	.word	JB_PATH_CREATE
	.word	JB_PATH_INSERT_AFTER
	.word	JB_PATH_REPLACE
	.word	WJB_END_ARRAY
	.word	WJB_END_OBJECT
	.word	errno
	.word	ERRCODE_INVALID_TEXT_REPRESENTATION
	.word	ERROR
	.word	.LC0
	.word	INT_MAX
	.size	setPathArray, .-setPathArray
	.comm	errno,4,4
	.comm	WJB_END_OBJECT,4,4
	.comm	WJB_END_ARRAY,4,4
	.comm	WJB_BEGIN_OBJECT,4,4
	.comm	WJB_BEGIN_ARRAY,4,4
	.comm	JB_PATH_REPLACE,4,4
	.comm	JB_PATH_INSERT_BEFORE,4,4
	.comm	JB_PATH_INSERT_AFTER,4,4
	.comm	JB_PATH_CREATE_OR_INSERT,4,4
	.comm	JB_PATH_CREATE,4,4
	.comm	INT_MIN,4,4
	.comm	INT_MAX,4,4
	.comm	ERROR,4,4
	.comm	ERRCODE_INVALID_TEXT_REPRESENTATION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
