	.file	"extr_qmgr.c_do_child.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"got 0x%08x\n"
.LC1:
	.string	"CreateJob in child process\n"
	.text
	.p2align 4
	.type	do_child, @function
do_child:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	mov	r12, rdi
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR MAX_PATH[rip]
	mov	rcx, rsp
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L11:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L11
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L12
.L4:
	mov	edx, DWORD PTR CLSCTX_LOCAL_SERVER[rip]
	lea	r8, -40[rbp]
	xor	esi, esi
	mov	r13, rsp
	lea	rcx, IID_IBackgroundCopyManager[rip]
	lea	rdi, CLSID_BackgroundCopyManager[rip]
	mov	QWORD PTR -40[rbp], 0
	call	CoCreateInstance@PLT
	xor	edi, edi
	cmp	QWORD PTR S_OK[rip], rax
	lea	rsi, .LC0[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	mov	edi, DWORD PTR CP_ACP[rip]
	xor	esi, esi
	mov	r8, r13
	mov	r9d, DWORD PTR MAX_PATH[rip]
	mov	ecx, -1
	mov	rdx, r12
	call	MultiByteToWideChar@PLT
	mov	rdi, QWORD PTR -40[rbp]
	lea	rcx, -44[rbp]
	mov	rsi, r13
	mov	edx, DWORD PTR BG_JOB_TYPE_DOWNLOAD[rip]
	lea	r8, -32[rbp]
	call	IBackgroundCopyManager_CreateJob@PLT
	xor	edi, edi
	cmp	QWORD PTR S_OK[rip], rax
	lea	rsi, .LC1[rip]
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	rdi, QWORD PTR -32[rbp]
	call	IBackgroundCopyJob_Release@PLT
	mov	rdi, QWORD PTR -40[rbp]
	call	IBackgroundCopyManager_Release@PLT
	mov	rax, QWORD PTR -24[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	do_child, .-do_child
	.comm	S_OK,8,8
	.comm	MAX_PATH,4,4
	.comm	IID_IBackgroundCopyManager,4,4
	.comm	CP_ACP,4,4
	.comm	CLSID_BackgroundCopyManager,4,4
	.comm	CLSCTX_LOCAL_SERVER,4,4
	.comm	BG_JOB_TYPE_DOWNLOAD,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_qmgr.c_do_child.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"got 0x%08x\012\000"
	.align	2
.LC1:
	.ascii	"CreateJob in child process\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_child, %function
do_child:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #24
	mov	r4, #0
	ldr	r6, .L6
	sub	r1, fp, #36
	ldr	r3, [r6]
	ldr	r2, .L6+4
	lsl	r3, r3, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	ip, .L6+8
	str	r1, [sp]
	ldr	r3, .L6+12
	mov	r5, r0
	mov	r1, r4
	ldr	r2, [r2]
	ldr	r0, .L6+16
	ldr	ip, [ip]
	str	ip, [fp, #-24]
	mov	ip,#0
	str	r4, [fp, #-36]
	bl	CoCreateInstance
	mov	r2, r0
	ldr	r7, .L6+20
	ldr	r1, .L6+24
	ldr	r0, [r7]
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r1, [r6]
	ldr	r3, .L6+28
	add	r6, sp, #8
	str	r1, [sp, #4]
	str	r6, [sp]
	mov	r2, r5
	mov	r1, r4
	ldr	r0, [r3]
	mvn	r3, #0
	bl	MultiByteToWideChar
	ldr	r3, .L6+32
	sub	r2, fp, #28
	str	r2, [sp]
	ldr	r2, [r3]
	mov	r1, r6
	sub	r3, fp, #32
	ldr	r0, [fp, #-36]
	bl	IBackgroundCopyManager_CreateJob
	ldr	r3, [r7]
	ldr	r1, .L6+36
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r0, [fp, #-28]
	bl	IBackgroundCopyJob_Release
	ldr	r0, [fp, #-36]
	bl	IBackgroundCopyManager_Release
	ldr	r3, .L6+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	MAX_PATH
	.word	CLSCTX_LOCAL_SERVER
	.word	.LC2
	.word	IID_IBackgroundCopyManager
	.word	CLSID_BackgroundCopyManager
	.word	S_OK
	.word	.LC0
	.word	CP_ACP
	.word	BG_JOB_TYPE_DOWNLOAD
	.word	.LC1
	.size	do_child, .-do_child
	.comm	S_OK,4,4
	.comm	MAX_PATH,4,4
	.comm	IID_IBackgroundCopyManager,4,4
	.comm	CP_ACP,4,4
	.comm	CLSID_BackgroundCopyManager,4,4
	.comm	CLSCTX_LOCAL_SERVER,4,4
	.comm	BG_JOB_TYPE_DOWNLOAD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
