	.file	"extr_libxo.c_xo_parse_fields.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"backslash at the end of string"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"missing content (':'): '%s'"
.LC2:
	.string	"missing closing '}': %s"
.LC3:
	.string	"missing closing '}}': '%s'"
	.text
	.p2align 4
	.type	xo_parse_fields, @function
xo_parse_fields:
.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
	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, 24
	.cfi_def_cfa_offset 80
	cmp	BYTE PTR [rcx], 0
	mov	QWORD PTR 8[rsp], rsi
	je	.L42
	mov	r15d, edx
	test	edx, edx
	je	.L42
	mov	rbp, QWORD PTR 8[rsp]
	mov	r13, rdi
	mov	r12, rcx
	mov	rbx, rcx
	xor	r8d, r8d
	xor	r14d, r14d
	.p2align 4,,10
	.p2align 3
.L2:
	mov	QWORD PTR 0[rbp], rbx
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 10
	je	.L96
	cmp	al, 123
	jne	.L97
	cmp	BYTE PTR 1[rbx], 123
	lea	r10, 1[rbx]
	jne	.L12
	mov	eax, DWORD PTR XO_ROLE_EBRACE[rip]
	mov	QWORD PTR 0[rbp], r10
	lea	rdx, 2[rbx]
	mov	DWORD PTR 68[rbp], eax
	movzx	eax, BYTE PTR 2[rbx]
	test	al, al
	jne	.L16
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L14:
	add	rdx, 1
	test	al, al
	je	.L13
.L16:
	mov	ecx, eax
	movzx	eax, BYTE PTR 1[rdx]
	cmp	cl, 125
	jne	.L14
	cmp	al, 125
	jne	.L14
	mov	rax, rdx
	sub	rax, r10
	add	eax, 1
	mov	DWORD PTR 8[rbp], eax
	cmp	BYTE PTR [rdx], 125
	je	.L98
.L17:
	mov	QWORD PTR 32[rbp], rdx
	mov	rbx, rdx
.L6:
	add	r14d, 1
	add	rbp, 80
	cmp	BYTE PTR [rbx], 0
	je	.L54
	cmp	r15d, r14d
	ja	.L2
.L54:
	test	r8d, r8d
	jne	.L99
.L42:
	xor	eax, eax
.L1:
	add	rsp, 24
	.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
.L12:
	.cfi_restore_state
	mov	QWORD PTR 0[rbp], r10
	mov	rcx, rbp
	mov	rdx, r10
	mov	rsi, r12
	mov	rdi, r13
	mov	DWORD PTR 4[rsp], r8d
	call	xo_parse_roles@PLT
	test	rax, rax
	je	.L94
	mov	r8d, DWORD PTR 4[rsp]
	cmp	QWORD PTR 72[rbp], 0
	mov	esi, 1
	cmovne	r8d, esi
	cmp	BYTE PTR [rax], 58
	jne	.L19
	movzx	edx, BYTE PTR 1[rax]
	lea	rdi, 1[rax]
	test	dl, dl
	je	.L20
	mov	rax, rdi
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L47:
	mov	edx, ecx
	add	rax, 1
	test	dl, dl
	je	.L21
.L24:
	cmp	dl, 125
	je	.L21
	cmp	dl, 47
	je	.L21
	movzx	ecx, BYTE PTR 1[rax]
	cmp	dl, 92
	jne	.L47
	test	cl, cl
	je	.L32
	movzx	edx, BYTE PTR 2[rax]
	add	rax, 1
	add	rax, 1
	test	dl, dl
	jne	.L24
	.p2align 4,,10
	.p2align 3
.L21:
	cmp	rdi, rax
	je	.L93
	mov	rdx, rax
	mov	QWORD PTR 16[rbp], rdi
	sub	rdx, rdi
	mov	DWORD PTR 24[rbp], edx
.L93:
	movzx	edx, BYTE PTR [rax]
	xor	ecx, ecx
	xor	edi, edi
	cmp	dl, 47
	je	.L100
.L27:
	cmp	dl, 125
	jne	.L20
	mov	rdx, rax
	lea	rbx, 1[rax]
	mov	eax, DWORD PTR 24[rbp]
	sub	rdx, QWORD PTR 0[rbp]
	mov	DWORD PTR 8[rbp], edx
	mov	QWORD PTR 32[rbp], rbx
	test	eax, eax
	jne	.L38
	test	rdi, rdi
	je	.L101
.L39:
	mov	QWORD PTR 56[rbp], rdi
	mov	DWORD PTR 64[rbp], ecx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L97:
	mov	rdx, rbx
	xor	ecx, ecx
	test	al, al
	jne	.L8
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L11:
	cmp	al, 123
	je	.L92
	cmp	al, 10
	je	.L92
.L8:
	movzx	eax, BYTE PTR 1[rdx]
	add	rdx, 1
	test	al, al
	jne	.L11
.L92:
	mov	ecx, edx
	sub	ecx, ebx
.L9:
	mov	eax, DWORD PTR XO_ROLE_TEXT[rip]
	mov	QWORD PTR 16[rbp], rbx
	mov	rbx, rdx
	mov	DWORD PTR 24[rbp], ecx
	mov	DWORD PTR 68[rbp], eax
	mov	QWORD PTR 32[rbp], rdx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L96:
	mov	eax, DWORD PTR XO_ROLE_NEWLINE[rip]
	add	rbx, 1
	mov	DWORD PTR 8[rbp], 1
	mov	DWORD PTR 68[rbp], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L38:
	test	rdi, rdi
	jne	.L39
.L40:
	mov	edi, DWORD PTR 68[rbp]
	mov	DWORD PTR 4[rsp], r8d
	call	xo_role_wants_default_format@PLT
	mov	r8d, DWORD PTR 4[rsp]
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR xo_default_format[rip]
	mov	DWORD PTR 64[rbp], 2
	mov	QWORD PTR 56[rbp], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L98:
	cmp	BYTE PTR 1[rdx], 125
	jne	.L17
	add	rdx, 2
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L100:
	movzx	edx, BYTE PTR 1[rax]
	lea	rdi, 1[rax]
	test	dl, dl
	je	.L20
	mov	rax, rdi
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L49:
	mov	edx, ecx
	add	rax, 1
	test	dl, dl
	je	.L20
.L33:
	cmp	dl, 125
	je	.L52
	cmp	dl, 47
	je	.L52
	movzx	ecx, BYTE PTR 1[rax]
	cmp	dl, 92
	jne	.L49
	test	cl, cl
	je	.L32
	movzx	edx, BYTE PTR 2[rax]
	add	rax, 1
	add	rax, 1
	test	dl, dl
	jne	.L33
.L20:
	mov	rdi, r12
	call	xo_printable@PLT
	lea	rsi, .LC2[rip]
	mov	rdi, r13
	mov	edx, eax
	xor	eax, eax
	call	xo_failure@PLT
	mov	eax, -1
	jmp	.L1
.L52:
	movzx	edx, BYTE PTR [rax]
	mov	ecx, eax
	sub	ecx, edi
	cmp	dl, 47
	jne	.L27
	lea	r10, 1[rax]
	movzx	eax, BYTE PTR 1[rax]
	test	al, al
	je	.L50
	cmp	al, 125
	je	.L50
	mov	rax, r10
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L102:
	cmp	dl, 125
	je	.L53
.L35:
	movzx	edx, BYTE PTR 1[rax]
	add	rax, 1
	test	dl, dl
	jne	.L102
.L53:
	mov	edx, eax
	sub	edx, r10d
.L34:
	mov	QWORD PTR 40[rbp], r10
	mov	DWORD PTR 48[rbp], edx
	movzx	edx, BYTE PTR [rax]
	jmp	.L27
.L101:
	mov	eax, DWORD PTR 52[rbp]
	test	DWORD PTR XFF_ARGUMENT[rip], eax
	jne	.L40
	jmp	.L6
.L99:
	mov	rdx, QWORD PTR 8[rsp]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	ecx, r14d
	mov	rsi, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	rdi, r13
	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
	jmp	xo_parse_field_numbers@PLT
.L32:
	.cfi_restore_state
	mov	rdi, r13
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	xo_failure@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, -1
	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
	mov	rdi, r12
	call	xo_printable@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, r13
	mov	edx, eax
	xor	eax, eax
	call	xo_failure@PLT
.L94:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, -1
	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, r12
	call	xo_printable@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, r13
	mov	edx, eax
	xor	eax, eax
	call	xo_failure@PLT
	mov	eax, -1
	jmp	.L1
.L50:
	mov	rax, r10
	xor	edx, edx
	jmp	.L34
	.cfi_endproc
.LFE0:
	.size	xo_parse_fields, .-xo_parse_fields
	.comm	xo_default_format,8,8
	.comm	XO_ROLE_TEXT,4,4
	.comm	XO_ROLE_NEWLINE,4,4
	.comm	XO_ROLE_EBRACE,4,4
	.comm	XFF_ARGUMENT,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_libxo.c_xo_parse_fields.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"backslash at the end of string\000"
	.align	2
.LC1:
	.ascii	"missing content (':'): '%s'\000"
	.align	2
.LC2:
	.ascii	"missing closing '}': %s\000"
	.align	2
.LC3:
	.ascii	"missing closing '}}': '%s'\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xo_parse_fields, %function
xo_parse_fields:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	sp, sp, #12
	cmp	r3, #0
	cmpne	r2, #0
	str	r1, [sp, #4]
	beq	.L38
	mov	r7, #0
	mov	r1, r8
	ldr	r3, [sp, #4]
	mov	r5, r7
	add	r4, r3, #48
	mov	r8, r7
	mov	r6, r4
	mov	r9, r0
	mov	r7, r2
	mov	r4, r1
	ldr	r10, .L93
	ldr	fp, .L93+4
.L37:
	str	r4, [r6, #-48]
	ldrb	r2, [r4]	@ zero_extendqisi2
	sub	r3, r6, #48
	cmp	r2, #10
	beq	.L87
	cmp	r2, #123
	bne	.L88
	ldrb	r0, [r4, #1]	@ zero_extendqisi2
	add	r2, r4, #1
	cmp	r0, #123
	bne	.L10
	ldr	r3, [r10]
	str	r2, [r6, #-48]
	str	r3, [r6, #-8]
	ldrb	r3, [r4, #2]	@ zero_extendqisi2
	add	r0, r4, #2
.L85:
	cmp	r3, #0
	beq	.L77
	mov	r4, r0
	cmp	r3, #125
	add	r0, r0, #1
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	bne	.L85
	cmp	r3, #125
	bne	.L85
	sub	r2, r4, r2
	add	r2, r2, #1
	str	r2, [r6, #-44]
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #125
	bne	.L15
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #125
	addeq	r4, r4, #2
.L15:
	str	r4, [r6, #-32]
.L5:
	ldrb	r3, [r4]	@ zero_extendqisi2
	add	r5, r5, #1
	cmp	r3, #0
	cmpne	r7, r5
	add	r6, r6, #48
	bhi	.L37
	mov	r7, r8
	cmp	r7, #0
	bne	.L89
.L38:
	mov	r0, #0
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	mov	r0, r9
	str	r2, [r6, #-48]
	str	r1, [sp]
	bl	xo_parse_roles
	cmp	r0, #0
	beq	.L84
	ldr	r2, [r6, #-4]
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r2, #0
	movne	r8, #1
	cmp	r3, #58
	ldr	r1, [sp]
	bne	.L17
	ldrb	r3, [r0, #1]	@ zero_extendqisi2
	add	r0, r0, #1
	cmp	r3, #0
	beq	.L79
	mov	r4, r0
	b	.L22
.L20:
	cmp	r3, #0
	add	r4, r4, #1
	beq	.L19
.L22:
	cmp	r3, #47
	cmpne	r3, #125
	beq	.L19
	cmp	r3, #92
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	bne	.L20
	cmp	r3, #0
	beq	.L29
	ldrb	r3, [r4, #2]	@ zero_extendqisi2
	add	r4, r4, #1
	cmp	r3, #0
	add	r4, r4, #1
	bne	.L22
.L19:
	cmp	r0, r4
	subne	r3, r4, r0
	strne	r0, [r6, #-40]
	strne	r3, [r6, #-36]
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #47
	movne	r0, #0
	movne	r2, r0
	beq	.L90
.L25:
	cmp	r3, #125
	bne	.L79
	ldr	r3, [r6, #-48]
	ldr	ip, [r6, #-36]
	sub	r3, r4, r3
	cmp	ip, #0
	add	r4, r4, #1
	str	r3, [r6, #-44]
	str	r4, [r6, #-32]
	bne	.L34
	cmp	r2, #0
	beq	.L91
.L35:
	str	r2, [r6, #-16]
	str	r0, [r6, #-12]
	b	.L5
.L77:
	mov	r0, r1
	bl	xo_printable
	ldr	r1, .L93+8
	mov	r2, r0
	mov	r0, r9
	bl	xo_failure
.L84:
	mvn	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L88:
	cmp	r2, #0
	moveq	r3, r2
	moveq	r2, r4
	beq	.L8
	mov	r2, r4
.L7:
	ldrb	r3, [r2, #1]!	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L82
	cmp	r3, #10
	cmpne	r3, #123
	bne	.L7
.L82:
	sub	r3, r2, r4
.L8:
	ldr	r0, [fp]
	str	r4, [r6, #-40]
	str	r0, [r6, #-8]
	mov	r4, r2
	str	r3, [r6, #-36]
	str	r2, [r6, #-32]
	b	.L5
.L87:
	mov	r2, #1
	ldr	r3, .L93+12
	add	r4, r4, r2
	ldr	r3, [r3]
	str	r2, [r6, #-44]
	str	r3, [r6, #-8]
	b	.L5
.L34:
	cmp	r2, #0
	bne	.L35
.L36:
	ldr	r0, [r6, #-8]
	str	r1, [sp]
	bl	xo_role_wants_default_format
	cmp	r0, #0
	movne	r2, #2
	ldrne	r3, .L93+16
	ldr	r1, [sp]
	ldrne	r3, [r3]
	strne	r2, [r6, #-12]
	strne	r3, [r6, #-16]
	b	.L5
.L90:
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	add	r2, r4, #1
	cmp	r3, #0
	beq	.L79
	mov	r4, r2
	b	.L30
.L28:
	cmp	r3, #0
	add	r4, r4, #1
	beq	.L79
.L30:
	cmp	r3, #47
	cmpne	r3, #125
	beq	.L92
	cmp	r3, #92
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	bne	.L28
	cmp	r3, #0
	beq	.L29
	ldrb	r3, [r4, #2]	@ zero_extendqisi2
	add	r4, r4, #1
	cmp	r3, #0
	add	r4, r4, #1
	bne	.L30
.L79:
	mov	r0, r1
	bl	xo_printable
	ldr	r1, .L93+20
	mov	r2, r0
	mov	r0, r9
	bl	xo_failure
	mvn	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L92:
	ldrb	r3, [r4]	@ zero_extendqisi2
	sub	r0, r4, r2
	cmp	r3, #47
	bne	.L25
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	add	ip, r4, #1
	cmp	r3, #125
	cmpne	r3, #0
	mov	r4, ip
	beq	.L45
.L32:
	ldrb	r3, [r4, #1]!	@ zero_extendqisi2
	cmp	r3, #125
	cmpne	r3, #0
	bne	.L32
	sub	r3, r4, ip
.L31:
	str	ip, [r6, #-28]
	str	r3, [r6, #-24]
	ldrb	r3, [r4]	@ zero_extendqisi2
	b	.L25
.L91:
	ldr	r3, .L93+24
	ldr	r2, [r6, #-20]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L36
	b	.L5
.L89:
	mov	r3, r5
	mov	r0, r9
	ldr	r2, [sp, #4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	xo_parse_field_numbers
.L29:
	mov	r0, r9
	ldr	r1, .L93+28
	bl	xo_failure
	mvn	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	mov	r0, r1
	bl	xo_printable
	ldr	r1, .L93+32
	mov	r2, r0
	mov	r0, r9
	bl	xo_failure
	mvn	r0, #0
	b	.L1
.L45:
	mov	r3, #0
	b	.L31
.L94:
	.align	2
.L93:
	.word	XO_ROLE_EBRACE
	.word	XO_ROLE_TEXT
	.word	.LC3
	.word	XO_ROLE_NEWLINE
	.word	xo_default_format
	.word	.LC2
	.word	XFF_ARGUMENT
	.word	.LC0
	.word	.LC1
	.size	xo_parse_fields, .-xo_parse_fields
	.comm	xo_default_format,4,4
	.comm	XO_ROLE_TEXT,4,4
	.comm	XO_ROLE_NEWLINE,4,4
	.comm	XO_ROLE_EBRACE,4,4
	.comm	XFF_ARGUMENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
