	.file	"extr_ui_playersettings.c_PlayerSettings_DrawHandicap.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Handicap"
	.text
	.p2align 4
	.type	PlayerSettings_DrawHandicap, @function
PlayerSettings_DrawHandicap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, DWORD PTR UI_LEFT[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	or	r12d, DWORD PTR UI_SMALLFONT[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR 32[rdi]
	mov	rbx, rdi
	mov	rbp, QWORD PTR text_color_normal[rip]
	mov	rcx, QWORD PTR 8[rdi]
	cmp	QWORD PTR [rax], rcx
	jne	.L2
	mov	rbp, QWORD PTR text_color_highlight[rip]
	or	r12d, DWORD PTR UI_PULSE[rip]
.L2:
	mov	rsi, QWORD PTR 16[rbx]
	mov	rdi, QWORD PTR 24[rbx]
	mov	r8, rbp
	mov	ecx, r12d
	lea	rdx, .LC0[rip]
	call	UI_DrawProportionalString@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	rdi, QWORD PTR 24[rbx]
	mov	r8, rbp
	mov	rax, QWORD PTR handicap_items[rip]
	mov	rsi, QWORD PTR PROP_HEIGHT[rip]
	mov	ecx, r12d
	add	rsi, QWORD PTR 16[rbx]
	add	rdi, 64
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdx, QWORD PTR [rax+rdx*8]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	UI_DrawProportionalString@PLT
	.cfi_endproc
.LFE0:
	.size	PlayerSettings_DrawHandicap, .-PlayerSettings_DrawHandicap
	.comm	text_color_normal,8,8
	.comm	text_color_highlight,8,8
	.comm	handicap_items,8,8
	.comm	UI_SMALLFONT,4,4
	.comm	UI_PULSE,4,4
	.comm	UI_LEFT,4,4
	.comm	PROP_HEIGHT,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_ui_playersettings.c_PlayerSettings_DrawHandicap.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Handicap\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	PlayerSettings_DrawHandicap, %function
PlayerSettings_DrawHandicap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r1, [r0, #16]
	ldr	r2, .L5
	ldr	r3, .L5+4
	ldr	r0, [r1]
	ldr	r1, [r4, #4]
	ldr	r3, [r3]
	ldr	r5, [r2]
	ldr	r2, .L5+8
	cmp	r0, r1
	ldr	r6, [r2]
	orr	r5, r5, r3
	ldreq	r2, .L5+12
	ldreq	r3, .L5+16
	ldreq	r6, [r2]
	ldreq	r3, [r3]
	sub	sp, sp, #8
	orreq	r5, r5, r3
	str	r6, [sp]
	mov	r3, r5
	ldr	r1, [r4, #8]
	ldr	r2, .L5+20
	ldr	r0, [r4, #12]
	bl	UI_DrawProportionalString
	ldr	r3, .L5+24
	ldr	r1, [r4]
	ldr	r2, [r3]
	ldr	r3, .L5+28
	ldr	r2, [r2, r1, lsl #2]
	ldr	ip, [r4, #8]
	ldr	r1, [r3]
	ldr	r0, [r4, #12]
	mov	r3, r5
	str	r6, [sp]
	add	r1, ip, r1
	add	r0, r0, #64
	bl	UI_DrawProportionalString
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	.align	2
.L5:
	.word	UI_LEFT
	.word	UI_SMALLFONT
	.word	text_color_normal
	.word	text_color_highlight
	.word	UI_PULSE
	.word	.LC0
	.word	handicap_items
	.word	PROP_HEIGHT
	.size	PlayerSettings_DrawHandicap, .-PlayerSettings_DrawHandicap
	.comm	text_color_normal,4,4
	.comm	text_color_highlight,4,4
	.comm	handicap_items,4,4
	.comm	UI_SMALLFONT,4,4
	.comm	UI_PULSE,4,4
	.comm	UI_LEFT,4,4
	.comm	PROP_HEIGHT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
