	.file	"extr_sys_win32.c_Sys_GetCurrentUser.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"player"
	.text
	.p2align 4
	.globl	Sys_GetCurrentUser
	.type	Sys_GetCurrentUser, @function
Sys_GetCurrentUser:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	lea	rdi, s_userName.1925[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rsi, rsp
	mov	QWORD PTR [rsp], 1024
	call	GetUserName@PLT
	test	eax, eax
	je	.L7
	cmp	BYTE PTR s_userName.1925[rip], 0
	je	.L8
.L3:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	lea	rax, s_userName.1925[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	lea	rdi, s_userName.1925[rip]
	call	strcpy@PLT
	cmp	BYTE PTR s_userName.1925[rip], 0
	jne	.L3
.L8:
	lea	rsi, .LC0[rip]
	lea	rdi, s_userName.1925[rip]
	call	strcpy@PLT
	jmp	.L3
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	Sys_GetCurrentUser, .-Sys_GetCurrentUser
	.local	s_userName.1925
	.comm	s_userName.1925,1024,32
	.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_sys_win32.c_Sys_GetCurrentUser.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"player\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Sys_GetCurrentUser
	.syntax unified
	.arm
	.fpu softvfp
	.type	Sys_GetCurrentUser, %function
Sys_GetCurrentUser:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #1024
	push	{r4, lr}
	ldr	r4, .L10
	sub	sp, sp, #8
	ldr	r2, .L10+4
	mov	r1, sp
	mov	r0, r4
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	str	r3, [sp]
	bl	GetUserName
	cmp	r0, #0
	beq	.L7
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L8
.L3:
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	ldr	r0, .L10
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L7:
	ldr	r3, .L10+8
	ldm	r3, {r0, r1}
	lsr	r3, r1, #16
	str	r0, [r4]
	strb	r3, [r4, #6]
	ldrb	r3, [r4]	@ zero_extendqisi2
	strh	r1, [r4, #4]	@ movhi
	cmp	r3, #0
	bne	.L3
.L8:
	ldr	r3, .L10+8
	ldm	r3, {r0, r1}
	lsr	r3, r1, #16
	str	r0, [r4]
	strh	r1, [r4, #4]	@ movhi
	strb	r3, [r4, #6]
	b	.L3
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LANCHOR0
	.word	.LC1
	.word	.LC0
	.size	Sys_GetCurrentUser, .-Sys_GetCurrentUser
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	s_userName.4209, %object
	.size	s_userName.4209, 1024
s_userName.4209:
	.space	1024
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
