	.file	"extr_config.c_read_conf_file.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unable to parse configuration file %s: %s"
	.align 8
.LC1:
	.string	"Invalid configuration format, ignoring the configuration file %s"
	.text
	.p2align 4
	.type	read_conf_file, @function
read_conf_file:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	xor	edi, edi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	ucl_parser_new@PLT
	mov	rsi, r12
	mov	rdi, rax
	mov	rbp, rax
	call	ucl_parser_add_file@PLT
	test	eax, eax
	jne	.L2
	mov	rax, QWORD PTR ENOENT[rip]
	cmp	QWORD PTR errno[rip], rax
	jne	.L10
.L3:
	mov	rdi, rbp
	call	ucl_parser_free@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	call	ucl_parser_get_error@PLT
	mov	edi, DWORD PTR EXIT_FAILURE[rip]
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	mov	ecx, eax
	call	errx@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, rbp
	call	ucl_parser_get_object@PLT
	mov	r14, rax
	mov	rax, QWORD PTR UCL_OBJECT[rip]
	cmp	QWORD PTR [r14], rax
	je	.L5
	mov	rsi, r12
	lea	rdi, .LC1[rip]
	call	warnx@PLT
.L6:
	mov	rdi, r14
	call	ucl_object_unref@PLT
	mov	rdi, rbp
	call	ucl_parser_free@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	DWORD PTR CONFFILE_PKG[rip], r13d
	je	.L11
	cmp	DWORD PTR CONFFILE_REPO[rip], r13d
	jne	.L6
	mov	rdi, r14
	call	parse_repo_file@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	mov	esi, r13d
	mov	rdi, r14
	call	config_parse@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	read_conf_file, .-read_conf_file
	.comm	errno,8,8
	.comm	UCL_OBJECT,8,8
	.comm	EXIT_FAILURE,4,4
	.comm	ENOENT,8,8
	.comm	CONFFILE_REPO,4,4
	.comm	CONFFILE_PKG,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_config.c_read_conf_file.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unable to parse configuration file %s: %s\000"
	.align	2
.LC1:
	.ascii	"Invalid configuration format, ignoring the configur"
	.ascii	"ation file %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_conf_file, %function
read_conf_file:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r0, #0
	mov	r7, r1
	bl	ucl_parser_new
	mov	r1, r6
	mov	r4, r0
	bl	ucl_parser_add_file
	cmp	r0, #0
	bne	.L2
	ldr	r2, .L12
	ldr	r3, .L12+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L10
.L3:
	mov	r0, r4
	bl	ucl_parser_free
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r3, .L12+8
	mov	r0, r4
	ldr	r5, [r3]
	bl	ucl_parser_get_error
	mov	r2, r6
	mov	r3, r0
	ldr	r1, .L12+12
	mov	r0, r5
	bl	errx
	b	.L3
.L2:
	mov	r0, r4
	bl	ucl_parser_get_object
	ldr	r3, .L12+16
	ldr	r2, [r0]
	ldr	r3, [r3]
	mov	r5, r0
	cmp	r2, r3
	beq	.L5
	mov	r1, r6
	ldr	r0, .L12+20
	bl	warnx
.L6:
	mov	r0, r5
	bl	ucl_object_unref
	mov	r0, r4
	bl	ucl_parser_free
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r3, .L12+24
	ldr	r1, [r3]
	cmp	r1, r7
	beq	.L11
	ldr	r3, .L12+28
	ldr	r3, [r3]
	cmp	r3, r7
	bne	.L6
	bl	parse_repo_file
	b	.L6
.L11:
	bl	config_parse
	b	.L6
.L13:
	.align	2
.L12:
	.word	errno
	.word	ENOENT
	.word	EXIT_FAILURE
	.word	.LC0
	.word	UCL_OBJECT
	.word	.LC1
	.word	CONFFILE_PKG
	.word	CONFFILE_REPO
	.size	read_conf_file, .-read_conf_file
	.comm	errno,4,4
	.comm	UCL_OBJECT,4,4
	.comm	EXIT_FAILURE,4,4
	.comm	ENOENT,4,4
	.comm	CONFFILE_REPO,4,4
	.comm	CONFFILE_PKG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
