	.file	"extr_directory.c_test_redirection.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Wow64 redirection not supported\n"
	.align 8
.LC1:
	.string	"RtlWow64EnableFsRedirectionEx failed status %x\n"
	.align 8
.LC2:
	.string	"RtlWow64EnableFsRedirectionEx got %u\n"
	.align 8
.LC3:
	.string	"RtlWow64EnableFsRedirectionEx failed with status %x\n"
	.text
	.p2align 4
	.type	test_redirection, @function
test_redirection:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR FALSE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rsi, rsp
	call	pRtlWow64EnableFsRedirectionEx@PLT
	cmp	DWORD PTR STATUS_NOT_IMPLEMENTED[rip], eax
	je	.L7
	xor	edi, edi
	test	eax, eax
	lea	rsi, .LC1[rip]
	mov	edx, eax
	sete	dil
	lea	rbp, 4[rsp]
	call	ok@PLT
	mov	edi, DWORD PTR FALSE[rip]
	mov	rsi, rbp
	call	pRtlWow64EnableFsRedirectionEx@PLT
	xor	edi, edi
	lea	rsi, .LC1[rip]
	test	eax, eax
	mov	edx, eax
	sete	dil
	call	ok@PLT
	mov	edx, DWORD PTR 4[rsp]
	xor	edi, edi
	lea	rsi, .LC2[rip]
	test	edx, edx
	sete	dil
	call	ok@PLT
	mov	edi, DWORD PTR TRUE[rip]
	mov	rsi, rbp
	call	pRtlWow64EnableFsRedirectionEx@PLT
	xor	edi, edi
	lea	rsi, .LC1[rip]
	test	eax, eax
	mov	edx, eax
	sete	dil
	call	ok@PLT
	mov	edi, DWORD PTR TRUE[rip]
	mov	rsi, rbp
	call	pRtlWow64EnableFsRedirectionEx@PLT
	xor	edi, edi
	lea	rsi, .LC1[rip]
	test	eax, eax
	mov	edx, eax
	sete	dil
	call	ok@PLT
	mov	edx, DWORD PTR 4[rsp]
	xor	edi, edi
	lea	rsi, .LC2[rip]
	cmp	edx, 1
	sete	dil
	call	ok@PLT
	mov	edi, DWORD PTR TRUE[rip]
	call	pRtlWow64EnableFsRedirection@PLT
	xor	edi, edi
	lea	rsi, .LC1[rip]
	test	eax, eax
	mov	edx, eax
	sete	dil
	call	ok@PLT
	mov	edi, DWORD PTR TRUE[rip]
	mov	rsi, rbp
	call	pRtlWow64EnableFsRedirectionEx@PLT
	xor	edi, edi
	lea	rsi, .LC1[rip]
	test	eax, eax
	mov	edx, eax
	sete	dil
	call	ok@PLT
	mov	edx, DWORD PTR 4[rsp]
	xor	edi, edi
	lea	rsi, .LC2[rip]
	test	edx, edx
	sete	dil
	call	ok@PLT
	mov	edi, DWORD PTR TRUE[rip]
	xor	esi, esi
	call	pRtlWow64EnableFsRedirectionEx@PLT
	xor	edi, edi
	cmp	DWORD PTR STATUS_ACCESS_VIOLATION[rip], eax
	lea	rsi, .LC3[rip]
	sete	dil
	mov	edx, eax
	call	ok@PLT
	mov	edi, DWORD PTR TRUE[rip]
	mov	esi, 1
	call	pRtlWow64EnableFsRedirectionEx@PLT
	xor	edi, edi
	cmp	DWORD PTR STATUS_ACCESS_VIOLATION[rip], eax
	lea	rsi, .LC3[rip]
	sete	dil
	mov	edx, eax
	call	ok@PLT
	mov	edi, DWORD PTR TRUE[rip]
	mov	esi, 3735928559
	call	pRtlWow64EnableFsRedirectionEx@PLT
	xor	edi, edi
	cmp	DWORD PTR STATUS_ACCESS_VIOLATION[rip], eax
	lea	rsi, .LC3[rip]
	sete	dil
	mov	edx, eax
	call	ok@PLT
	mov	edi, DWORD PTR FALSE[rip]
	call	pRtlWow64EnableFsRedirection@PLT
	xor	edi, edi
	lea	rsi, .LC1[rip]
	test	eax, eax
	mov	edx, eax
	sete	dil
	call	ok@PLT
	mov	edi, DWORD PTR FALSE[rip]
	mov	rsi, rbp
	call	pRtlWow64EnableFsRedirectionEx@PLT
	xor	edi, edi
	lea	rsi, .LC1[rip]
	test	eax, eax
	mov	edx, eax
	sete	dil
	call	ok@PLT
	mov	edx, DWORD PTR 4[rsp]
	xor	edi, edi
	lea	rsi, .LC2[rip]
	cmp	edx, 1
	sete	dil
	call	ok@PLT
	mov	edi, DWORD PTR [rsp]
	mov	rsi, rbp
	call	pRtlWow64EnableFsRedirectionEx@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	skip@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_redirection, .-test_redirection
	.comm	TRUE,4,4
	.comm	STATUS_NOT_IMPLEMENTED,4,4
	.comm	STATUS_ACCESS_VIOLATION,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_directory.c_test_redirection.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Wow64 redirection not supported\012\000"
	.align	2
.LC1:
	.ascii	"RtlWow64EnableFsRedirectionEx failed status %x\012\000"
	.align	2
.LC2:
	.ascii	"RtlWow64EnableFsRedirectionEx got %u\012\000"
	.align	2
.LC3:
	.ascii	"RtlWow64EnableFsRedirectionEx failed with status %x"
	.ascii	"\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_redirection, %function
test_redirection:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L9
	ldr	r3, .L9+4
	sub	sp, sp, #16
	ldr	r0, [r5]
	add	r1, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	pRtlWow64EnableFsRedirectionEx
	ldr	r3, .L9+8
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L7
	mov	r2, r0
	clz	r0, r0
	ldr	r1, .L9+12
	lsr	r0, r0, #5
	bl	ok
	add	r1, sp, #8
	ldr	r0, [r5]
	bl	pRtlWow64EnableFsRedirectionEx
	mov	r2, r0
	clz	r0, r0
	ldr	r1, .L9+12
	lsr	r0, r0, #5
	bl	ok
	ldr	r2, [sp, #8]
	ldr	r4, .L9+16
	clz	r0, r2
	ldr	r1, .L9+20
	lsr	r0, r0, #5
	bl	ok
	add	r1, sp, #8
	ldr	r0, [r4]
	bl	pRtlWow64EnableFsRedirectionEx
	mov	r2, r0
	clz	r0, r0
	ldr	r1, .L9+12
	lsr	r0, r0, #5
	bl	ok
	add	r1, sp, #8
	ldr	r0, [r4]
	bl	pRtlWow64EnableFsRedirectionEx
	mov	r2, r0
	clz	r0, r0
	ldr	r1, .L9+12
	lsr	r0, r0, #5
	bl	ok
	ldr	r2, [sp, #8]
	ldr	r1, .L9+20
	sub	r0, r2, #1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r0, [r4]
	bl	pRtlWow64EnableFsRedirection
	mov	r2, r0
	clz	r0, r0
	ldr	r1, .L9+12
	lsr	r0, r0, #5
	bl	ok
	add	r1, sp, #8
	ldr	r0, [r4]
	bl	pRtlWow64EnableFsRedirectionEx
	mov	r2, r0
	clz	r0, r0
	ldr	r1, .L9+12
	lsr	r0, r0, #5
	bl	ok
	ldr	r2, [sp, #8]
	ldr	r1, .L9+20
	clz	r0, r2
	lsr	r0, r0, #5
	bl	ok
	mov	r1, #0
	ldr	r0, [r4]
	bl	pRtlWow64EnableFsRedirectionEx
	mov	r2, r0
	ldr	r6, .L9+24
	ldr	r1, .L9+28
	ldr	r0, [r6]
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	mov	r1, #1
	ldr	r0, [r4]
	bl	pRtlWow64EnableFsRedirectionEx
	mov	r2, r0
	ldr	r0, [r6]
	ldr	r1, .L9+28
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r1, .L9+32
	ldr	r0, [r4]
	bl	pRtlWow64EnableFsRedirectionEx
	mov	r2, r0
	ldr	r0, [r6]
	ldr	r1, .L9+28
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r0, [r5]
	bl	pRtlWow64EnableFsRedirection
	mov	r2, r0
	clz	r0, r0
	ldr	r1, .L9+12
	lsr	r0, r0, #5
	bl	ok
	add	r1, sp, #8
	ldr	r0, [r5]
	bl	pRtlWow64EnableFsRedirectionEx
	mov	r2, r0
	clz	r0, r0
	ldr	r1, .L9+12
	lsr	r0, r0, #5
	bl	ok
	ldr	r2, [sp, #8]
	ldr	r1, .L9+20
	sub	r0, r2, #1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r0, [sp, #4]
	add	r1, sp, #8
	bl	pRtlWow64EnableFsRedirectionEx
.L1:
	ldr	r3, .L9+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r0, .L9+36
	bl	skip
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	FALSE
	.word	.LC4
	.word	STATUS_NOT_IMPLEMENTED
	.word	.LC1
	.word	TRUE
	.word	.LC2
	.word	STATUS_ACCESS_VIOLATION
	.word	.LC3
	.word	-559038737
	.word	.LC0
	.size	test_redirection, .-test_redirection
	.comm	TRUE,4,4
	.comm	STATUS_NOT_IMPLEMENTED,4,4
	.comm	STATUS_ACCESS_VIOLATION,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
