	.file	"extr_vhd.c_WimExtractFile.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	WimExtractFile
	.type	WimExtractFile, @function
WimExtractFile:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR wim_flags[rip]
	test	eax, eax
	je	.L17
.L2:
	test	r12, r12
	sete	dl
	test	r13, r13
	sete	al
	or	dl, al
	jne	.L8
	test	r14, r14
	je	.L8
	mov	eax, DWORD PTR wim_flags[rip]
	test	DWORD PTR WIM_HAS_7Z_EXTRACT[rip], eax
	jne	.L18
.L6:
	and	eax, DWORD PTR WIM_HAS_API_EXTRACT[rip]
	je	.L1
	mov	rcx, r13
	mov	rdx, r12
	mov	esi, ebp
	mov	rdi, r14
	call	WimExtractFile_API@PLT
	test	rax, rax
	setne	al
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	movzx	eax, al
	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
.L17:
	.cfi_restore_state
	xor	eax, eax
	call	WimExtractCheck@PLT
	mov	edi, eax
	call	WIM_HAS_EXTRACT@PLT
	test	eax, eax
	jne	.L2
.L8:
	mov	eax, DWORD PTR FALSE[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L18:
	.cfi_restore_state
	mov	rcx, r13
	mov	rdx, r12
	mov	esi, ebp
	mov	rdi, r14
	call	WimExtractFile_7z@PLT
	mov	r8, rax
	mov	eax, 1
	test	r8, r8
	jne	.L1
	mov	eax, DWORD PTR wim_flags[rip]
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	WimExtractFile, .-WimExtractFile
	.comm	wim_flags,4,4
	.comm	WIM_HAS_API_EXTRACT,4,4
	.comm	WIM_HAS_7Z_EXTRACT,4,4
	.comm	FALSE,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_vhd.c_WimExtractFile.c"
	.text
	.align	2
	.global	WimExtractFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	WimExtractFile, %function
WimExtractFile:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, .L18
	mov	r4, r0
	ldr	r0, [r8]
	mov	r7, r1
	cmp	r0, #0
	mov	r5, r2
	mov	r6, r3
	beq	.L16
.L2:
	clz	ip, r6
	cmp	r5, #0
	lsr	ip, ip, #5
	moveq	ip, #1
	cmp	r4, #0
	moveq	ip, #1
	cmp	ip, #0
	bne	.L14
	ldr	r3, .L18+4
	ldr	r0, [r8]
	ldr	r3, [r3]
	tst	r0, r3
	bne	.L17
.L5:
	ldr	r3, .L18+8
	ldr	r3, [r3]
	ands	r0, r0, r3
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r3, r6
	mov	r2, r5
	mov	r1, r7
	mov	r0, r4
	bl	WimExtractFile_API
	subs	r0, r0, #0
	movne	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	bl	WimExtractCheck
	bl	WIM_HAS_EXTRACT
	cmp	r0, #0
	bne	.L2
.L14:
	ldr	r3, .L18+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	mov	r3, r6
	mov	r2, r5
	mov	r1, r7
	mov	r0, r4
	bl	WimExtractFile_7z
	cmp	r0, #0
	ldreq	r0, [r8]
	beq	.L5
.L6:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	.align	2
.L18:
	.word	wim_flags
	.word	WIM_HAS_7Z_EXTRACT
	.word	WIM_HAS_API_EXTRACT
	.word	FALSE
	.size	WimExtractFile, .-WimExtractFile
	.comm	wim_flags,4,4
	.comm	WIM_HAS_API_EXTRACT,4,4
	.comm	WIM_HAS_7Z_EXTRACT,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
