	.file	"extr_zcp_synctask.c_zcp_synctask_promote.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	zcp_synctask_promote, @function
zcp_synctask_promote:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pxor	xmm0, xmm0
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	mov	esi, 1
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	movaps	XMMWORD PTR [rsp], xmm0
	movaps	XMMWORD PTR 16[rsp], xmm0
	call	lua_tostring@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	zcp_run_info@PLT
	mov	rcx, rsp
	mov	r9, rbx
	mov	r8d, r12d
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR dsl_dataset_promote_sync[rip]
	mov	rdi, rbp
	mov	QWORD PTR [rsp], rbx
	mov	esi, DWORD PTR dsl_dataset_promote_check[rip]
	mov	QWORD PTR 16[rsp], r13
	mov	DWORD PTR 8[rsp], eax
	call	zcp_sync_task@PLT
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L5
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zcp_synctask_promote, .-zcp_synctask_promote
	.comm	dsl_dataset_promote_sync,4,4
	.comm	dsl_dataset_promote_check,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_zcp_synctask.c_zcp_synctask_promote.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zcp_synctask_promote, %function
zcp_synctask_promote:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, lr}
	mov	r6, r2
	ldr	r2, .L6
	sub	sp, sp, #36
	mov	r7, r1
	mov	r1, #1
	ldr	r2, [r2]
	str	r2, [sp, #28]
	mov	r2,#0
	mov	r5, r0
	str	r3, [sp, #12]
	str	r3, [sp, #16]
	str	r3, [sp, #20]
	str	r3, [sp, #24]
	bl	lua_tostring
	mov	r4, r0
	mov	r0, r5
	bl	zcp_run_info
	ldr	r2, .L6+4
	ldr	r1, .L6+8
	ldr	ip, [r0]
	str	r7, [sp]
	str	r4, [sp, #4]
	ldr	r2, [r2]
	add	r3, sp, #12
	mov	r0, r5
	ldr	r1, [r1]
	str	r4, [sp, #12]
	str	r6, [sp, #20]
	str	ip, [sp, #16]
	bl	zcp_sync_task
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	dsl_dataset_promote_sync
	.word	dsl_dataset_promote_check
	.size	zcp_synctask_promote, .-zcp_synctask_promote
	.comm	dsl_dataset_promote_sync,4,4
	.comm	dsl_dataset_promote_check,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
