	.file	"extr_os_win32.c_win32_fileinfo.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	win32_fileinfo
	.type	win32_fileinfo, @function
win32_fileinfo:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r9d, DWORD PTR FILE_FLAG_BACKUP_SEMANTICS[rip]
	xor	ecx, ecx
	mov	r8d, DWORD PTR OPEN_EXISTING[rip]
	mov	edx, DWORD PTR FILE_SHARE_READ[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	mov	esi, DWORD PTR GENERIC_READ[rip]
	or	edx, DWORD PTR FILE_SHARE_WRITE[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	r13d, DWORD PTR FILEINFO_READ_FAIL[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	push	0
	.cfi_def_cfa_offset 48
	call	CreateFile@PLT
	cmp	QWORD PTR INVALID_HANDLE_VALUE[rip], rax
	pop	rdx
	.cfi_def_cfa_offset 40
	pop	rcx
	.cfi_def_cfa_offset 32
	je	.L1
	mov	rbp, rax
	mov	rdi, rax
	mov	rsi, r12
	call	GetFileInformationByHandle@PLT
	mov	rdi, rbp
	mov	r13d, DWORD PTR FILEINFO_OK[rip]
	test	rax, rax
	cmove	r13d, DWORD PTR FILEINFO_INFO_FAIL[rip]
	call	CloseHandle@PLT
.L1:
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	win32_fileinfo, .-win32_fileinfo
	.comm	enc_codepage,4,4
	.comm	OPEN_EXISTING,4,4
	.comm	INVALID_HANDLE_VALUE,8,8
	.comm	GENERIC_READ,4,4
	.comm	FILE_SHARE_WRITE,4,4
	.comm	FILE_SHARE_READ,4,4
	.comm	FILE_FLAG_BACKUP_SEMANTICS,4,4
	.comm	FILEINFO_READ_FAIL,4,4
	.comm	FILEINFO_OK,4,4
	.comm	FILEINFO_INFO_FAIL,4,4
	.comm	FILEINFO_ENC_FAIL,4,4
	.comm	ERROR_CALL_NOT_IMPLEMENTED,8,8
	.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_os_win32.c_win32_fileinfo.c"
	.text
	.align	2
	.global	win32_fileinfo
	.syntax unified
	.arm
	.fpu softvfp
	.type	win32_fileinfo, %function
win32_fileinfo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, lr}
	ldr	r2, .L7
	mov	r5, r1
	ldr	r1, .L7+4
	ldr	lr, .L7+8
	ldr	r4, .L7+12
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	lr, [lr]
	ldr	r4, [r4]
	sub	sp, sp, #16
	orr	r2, r1, r2
	ldr	r1, .L7+16
	str	lr, [sp, #4]
	str	r3, [sp, #8]
	str	r4, [sp]
	ldr	lr, .L7+20
	ldr	r1, [r1]
	ldr	r6, [lr]
	bl	CreateFile
	ldr	r3, .L7+24
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L1
	mov	r1, r5
	mov	r4, r0
	bl	GetFileInformationByHandle
	cmp	r0, #0
	ldrne	r3, .L7+28
	ldreq	r3, .L7+32
	mov	r0, r4
	ldr	r6, [r3]
	bl	CloseHandle
.L1:
	mov	r0, r6
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	FILE_SHARE_WRITE
	.word	FILE_SHARE_READ
	.word	FILE_FLAG_BACKUP_SEMANTICS
	.word	OPEN_EXISTING
	.word	GENERIC_READ
	.word	FILEINFO_READ_FAIL
	.word	INVALID_HANDLE_VALUE
	.word	FILEINFO_OK
	.word	FILEINFO_INFO_FAIL
	.size	win32_fileinfo, .-win32_fileinfo
	.comm	enc_codepage,4,4
	.comm	OPEN_EXISTING,4,4
	.comm	INVALID_HANDLE_VALUE,4,4
	.comm	GENERIC_READ,4,4
	.comm	FILE_SHARE_WRITE,4,4
	.comm	FILE_SHARE_READ,4,4
	.comm	FILE_FLAG_BACKUP_SEMANTICS,4,4
	.comm	FILEINFO_READ_FAIL,4,4
	.comm	FILEINFO_OK,4,4
	.comm	FILEINFO_INFO_FAIL,4,4
	.comm	FILEINFO_ENC_FAIL,4,4
	.comm	ERROR_CALL_NOT_IMPLEMENTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
