	.file	"extr_test_load.c_position.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"{\"foo\": \"bar\"}"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"json_loads returned a wrong position"
	.section	.rodata.str1.1
.LC2:
	.string	"{\"foo\": \"bar\"} baz quux"
	.text
	.p2align 4
	.type	position, @function
position:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	esi, esi
	lea	rdi, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	r13, QWORD PTR JSON_DISABLE_EOF_CHECK[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r12, 4[rsp]
	mov	rdx, r12
	call	json_loads@PLT
	cmp	DWORD PTR 4[rsp], 14
	mov	rbp, rax
	je	.L2
	lea	rdi, .LC1[rip]
	call	fail@PLT
.L2:
	mov	rdi, rbp
	call	json_decref@PLT
	mov	rdx, r12
	mov	rsi, r13
	lea	rdi, .LC2[rip]
	call	json_loads@PLT
	cmp	DWORD PTR 4[rsp], 14
	mov	rbp, rax
	je	.L3
	lea	rdi, .LC1[rip]
	call	fail@PLT
.L3:
	mov	rdi, rbp
	call	json_decref@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	position, .-position
	.comm	JSON_DISABLE_EOF_CHECK,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_test_load.c_position.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"{\"foo\": \"bar\"}\000"
	.align	2
.LC1:
	.ascii	"json_loads returned a wrong position\000"
	.align	2
.LC2:
	.ascii	"{\"foo\": \"bar\"} baz quux\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	position, %function
position:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L14
	sub	sp, sp, #12
	ldr	ip, .L14+4
	mov	r2, sp
	mov	r1, #0
	ldr	r0, .L14+8
	ldr	r5, [r3]
	ldr	ip, [ip]
	str	ip, [sp, #4]
	mov	ip,#0
	bl	json_loads
	ldr	r3, [sp]
	mov	r4, r0
	cmp	r3, #14
	beq	.L2
	ldr	r0, .L14+12
	bl	fail
.L2:
	mov	r0, r4
	bl	json_decref
	mov	r2, sp
	mov	r1, r5
	ldr	r0, .L14+16
	bl	json_loads
	ldr	r3, [sp]
	mov	r4, r0
	cmp	r3, #14
	beq	.L3
	ldr	r0, .L14+12
	bl	fail
.L3:
	mov	r0, r4
	bl	json_decref
	ldr	r3, .L14+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	JSON_DISABLE_EOF_CHECK
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	position, .-position
	.comm	JSON_DISABLE_EOF_CHECK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
