	.file	"extr_file-updater.c_init_update.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Could not initialize Curl"
.LC1:
	.string	"package.json"
.LC2:
	.string	"meta.json"
.LC3:
	.string	"etag"
.LC4:
	.string	"If-None-Match: "
.LC5:
	.string	"User-Agent: "
	.text
	.p2align 4
	.type	init_update, @function
init_update:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 8[rsp], 0
	call	curl_easy_init@PLT
	mov	DWORD PTR 48[rbx], eax
	test	eax, eax
	je	.L15
	mov	edi, DWORD PTR 32[rbx]
	lea	rsi, .LC1[rip]
	call	get_package@PLT
	mov	edi, DWORD PTR 20[rbx]
	lea	rsi, .LC1[rip]
	mov	QWORD PTR 40[rbx], rax
	call	get_package@PLT
	mov	edi, DWORD PTR 20[rbx]
	lea	rsi, .LC2[rip]
	mov	QWORD PTR 24[rbx], rax
	call	get_package@PLT
	mov	r12, rax
	test	rax, rax
	je	.L4
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	obs_data_get_string@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L5
	lea	r13, 16[rsp]
	lea	rsi, .LC4[rip]
	mov	QWORD PTR 16[rsp], 0
	mov	rdi, r13
	call	dstr_copy@PLT
	mov	rsi, rbp
	mov	rdi, r13
	call	dstr_cat@PLT
	mov	rdi, rbp
	call	bstrdup@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	esi, DWORD PTR 16[rsp]
	mov	DWORD PTR 16[rbx], eax
	call	curl_slist_append@PLT
	mov	rdi, r13
	mov	QWORD PTR 8[rbx], rax
	call	dstr_free@PLT
.L5:
	mov	rdi, r12
	call	obs_data_release@PLT
.L4:
	lea	r12, 8[rsp]
	lea	rsi, .LC5[rip]
	mov	rdi, r12
	call	dstr_copy@PLT
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, r12
	call	dstr_cat@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	esi, DWORD PTR 8[rsp]
	call	curl_slist_append@PLT
	mov	rdi, r12
	mov	r12d, 1
	mov	QWORD PTR 8[rbx], rax
	call	dstr_free@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.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
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	mov	r12d, eax
	call	warn@PLT
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	init_update, .-init_update
	.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_file-updater.c_init_update.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not initialize Curl\000"
	.align	2
.LC1:
	.ascii	"package.json\000"
	.align	2
.LC2:
	.ascii	"meta.json\000"
	.align	2
.LC3:
	.ascii	"etag\000"
	.align	2
.LC4:
	.ascii	"If-None-Match: \000"
	.align	2
.LC5:
	.ascii	"User-Agent: \000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_update, %function
init_update:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r6, #0
	ldr	r3, .L17
	sub	sp, sp, #28
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r4, r0
	str	r6, [sp, #4]
	str	r6, [sp, #8]
	bl	curl_easy_init
	cmp	r0, r6
	str	r0, [r4, #28]
	beq	.L15
	ldr	r1, .L17+4
	ldr	r0, [r4, #20]
	bl	get_package
	ldr	r1, .L17+4
	str	r0, [r4, #24]
	ldr	r0, [r4, #12]
	bl	get_package
	ldr	r1, .L17+8
	str	r0, [r4, #16]
	ldr	r0, [r4, #12]
	bl	get_package
	subs	r5, r0, #0
	beq	.L4
	ldr	r1, .L17+12
	bl	obs_data_get_string
	subs	r7, r0, #0
	beq	.L5
	ldr	r1, .L17+16
	add	r0, sp, #12
	str	r6, [sp, #12]
	str	r6, [sp, #16]
	bl	dstr_copy
	mov	r1, r7
	add	r0, sp, #12
	bl	dstr_cat
	mov	r0, r7
	bl	bstrdup
	ldr	r1, [sp, #12]
	str	r0, [r4, #8]
	ldr	r0, [r4, #4]
	bl	curl_slist_append
	mov	r3, r0
	add	r0, sp, #12
	str	r3, [r4, #4]
	bl	dstr_free
.L5:
	mov	r0, r5
	bl	obs_data_release
.L4:
	ldr	r1, .L17+20
	add	r0, sp, #4
	bl	dstr_copy
	ldr	r1, [r4]
	add	r0, sp, #4
	bl	dstr_cat
	ldr	r1, [sp, #4]
	ldr	r0, [r4, #4]
	bl	curl_slist_append
	mov	r3, r0
	add	r0, sp, #4
	str	r3, [r4, #4]
	bl	dstr_free
	mov	r5, #1
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L15:
	mov	r5, r0
	ldr	r0, .L17+24
	bl	warn
	b	.L1
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC6
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC0
	.size	init_update, .-init_update
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
