	.file	"extr_ui_players.c_UI_RegisterClientSkin.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"models/players/%s/lower_%s.skin"
	.align 8
.LC1:
	.string	"models/players/%s/upper_%s.skin"
	.align 8
.LC2:
	.string	"models/players/%s/head_%s.skin"
	.text
	.p2align 4
	.type	UI_RegisterClientSkin, @function
UI_RegisterClientSkin:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbx
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR MAX_QPATH[rip]
	mov	rcx, rsp
	mov	r14, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L16:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L16
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L17
.L4:
	mov	r8, r13
	mov	rcx, r12
	lea	rdx, .LC0[rip]
	mov	esi, r14d
	mov	rdi, rsp
	call	Com_sprintf@PLT
	mov	rdi, rsp
	call	trap_R_RegisterSkin@PLT
	mov	r8, r13
	mov	rcx, r12
	mov	esi, r14d
	mov	QWORD PTR 16[rbx], rax
	lea	rdx, .LC1[rip]
	mov	rdi, rsp
	call	Com_sprintf@PLT
	mov	rdi, rsp
	call	trap_R_RegisterSkin@PLT
	mov	r8, r13
	mov	rcx, r12
	mov	esi, r14d
	mov	QWORD PTR 8[rbx], rax
	lea	rdx, .LC2[rip]
	mov	rdi, rsp
	call	Com_sprintf@PLT
	mov	rdi, rsp
	call	trap_R_RegisterSkin@PLT
	cmp	QWORD PTR 16[rbx], 0
	mov	QWORD PTR [rbx], rax
	mov	rdx, rax
	je	.L5
	cmp	QWORD PTR 8[rbx], 0
	je	.L5
	mov	eax, DWORD PTR qtrue[rip]
	test	rdx, rdx
	je	.L5
.L1:
	mov	rbx, QWORD PTR -40[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L18
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	eax, DWORD PTR qfalse[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	UI_RegisterClientSkin, .-UI_RegisterClientSkin
	.comm	qtrue,4,4
	.comm	qfalse,4,4
	.comm	MAX_QPATH,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_ui_players.c_UI_RegisterClientSkin.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"models/players/%s/lower_%s.skin\000"
	.align	2
.LC1:
	.ascii	"models/players/%s/upper_%s.skin\000"
	.align	2
.LC2:
	.ascii	"models/players/%s/head_%s.skin\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	UI_RegisterClientSkin, %function
UI_RegisterClientSkin:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #20
	ldr	r3, .L12
	ldr	ip, .L12+4
	ldr	r8, [r3]
	mov	r5, r0
	add	r3, r8, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r4, sp
	str	r2, [r4], #8
	mov	r3, r1
	mov	r7, r2
	mov	r6, r1
	ldr	r2, .L12+8
	mov	r1, r8
	mov	r0, r4
	ldr	ip, [ip]
	str	ip, [fp, #-32]
	mov	ip,#0
	bl	Com_sprintf
	mov	r0, r4
	bl	trap_R_RegisterSkin
	mov	r3, r6
	mov	r1, r8
	ldr	r2, .L12+12
	str	r7, [sp]
	str	r0, [r5, #8]
	mov	r0, r4
	bl	Com_sprintf
	mov	r0, r4
	bl	trap_R_RegisterSkin
	mov	r3, r6
	mov	r1, r8
	ldr	r2, .L12+16
	str	r7, [sp]
	str	r0, [r5, #4]
	mov	r0, r4
	bl	Com_sprintf
	mov	r0, r4
	bl	trap_R_RegisterSkin
	ldr	r3, [r5, #8]
	str	r0, [r5]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [r5, #4]
	cmp	r0, #0
	cmpne	r3, #0
	beq	.L2
	ldr	r3, .L12+20
	ldr	r0, [r3]
.L1:
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L2:
	ldr	r3, .L12+24
	ldr	r0, [r3]
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	MAX_QPATH
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	qtrue
	.word	qfalse
	.size	UI_RegisterClientSkin, .-UI_RegisterClientSkin
	.comm	qtrue,4,4
	.comm	qfalse,4,4
	.comm	MAX_QPATH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
