	.file	"extr_error.c_prepare_test.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ntdll.dll"
.LC1:
	.string	"RtlNtStatusToDosError"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"RtlNtStatusToDosError is not available\n"
	.section	.rodata.str1.1
.LC3:
	.string	"strict"
	.text
	.p2align 4
	.type	prepare_test, @function
prepare_test:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	lea	rdi, .LC0[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	LoadLibraryA@PLT
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	GetProcAddress@PLT
	mov	QWORD PTR pRtlNtStatusToDosError[rip], rax
	test	rax, rax
	je	.L9
	mov	rdi, rsp
	call	winetest_get_mainargs@PLT
	mov	r8d, eax
	xor	eax, eax
	cmp	r8d, 2
	jg	.L10
.L4:
	mov	DWORD PTR strict[rip], eax
	mov	eax, DWORD PTR TRUE[rip]
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rax, QWORD PTR [rsp]
	lea	rsi, .LC3[rip]
	mov	rdi, QWORD PTR 16[rax]
	call	strcmp@PLT
	test	rax, rax
	sete	al
	movzx	eax, al
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	lea	rdi, .LC2[rip]
	call	win_skip@PLT
	mov	eax, DWORD PTR FALSE[rip]
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	prepare_test, .-prepare_test
	.comm	strict,4,4
	.comm	pRtlNtStatusToDosError,8,8
	.comm	TRUE,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_error.c_prepare_test.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ntdll.dll\000"
	.align	2
.LC1:
	.ascii	"RtlNtStatusToDosError\000"
	.align	2
.LC2:
	.ascii	"RtlNtStatusToDosError is not available\012\000"
	.align	2
.LC3:
	.ascii	"strict\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	prepare_test, %function
prepare_test:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	ldr	r3, .L12
	sub	sp, sp, #12
	ldr	r0, .L12+4
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	LoadLibraryA
	ldr	r1, .L12+8
	bl	GetProcAddress
	ldr	r3, .L12+12
	cmp	r0, #0
	str	r0, [r3]
	beq	.L9
	mov	r0, sp
	bl	winetest_get_mainargs
	cmp	r0, #2
	movle	r3, #0
	bgt	.L10
.L4:
	ldr	r1, .L12+16
	ldr	r2, .L12+20
	ldr	r0, [r1]
	str	r3, [r2]
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
.L10:
	ldr	r3, [sp]
	ldr	r1, .L12+24
	ldr	r0, [r3, #8]
	bl	strcmp
	clz	r3, r0
	lsr	r3, r3, #5
	b	.L4
.L9:
	ldr	r0, .L12+28
	bl	win_skip
	ldr	r3, .L12+32
	ldr	r0, [r3]
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	pRtlNtStatusToDosError
	.word	TRUE
	.word	strict
	.word	.LC3
	.word	.LC2
	.word	FALSE
	.size	prepare_test, .-prepare_test
	.comm	strict,4,4
	.comm	pRtlNtStatusToDosError,4,4
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
