	.file	"extr_status.c_STATUSBAR_SetTextT.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"part %d, text %p\n"
.LC1:
	.string	"part %d, text %s\n"
	.text
	.p2align 4
	.type	STATUSBAR_SetTextT, @function
STATUSBAR_SetTextT:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movsx	rbx, esi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r14d, DWORD PTR FALSE[rip]
	test	DWORD PTR SBT_OWNERDRAW[rip], edx
	je	.L2
	mov	rdx, rcx
	mov	esi, ebx
	mov	DWORD PTR 8[rsp], r8d
	lea	rdi, .LC0[rip]
	call	TRACE@PLT
	mov	r8d, DWORD PTR 8[rsp]
.L3:
	lea	r15, 16[r12]
	cmp	ebx, 255
	je	.L5
	mov	rax, QWORD PTR 8[r12]
	test	rax, rax
	je	.L48
	test	ebx, ebx
	js	.L48
	cmp	DWORD PTR [r12], ebx
	jle	.L48
	lea	rdx, [rbx+rbx*2]
	lea	r15, [rax+rdx*8]
.L5:
	mov	ebx, DWORD PTR [r15]
	mov	eax, DWORD PTR SBT_OWNERDRAW[rip]
	cmp	ebx, ebp
	cmovne	r14d, DWORD PTR TRUE[rip]
	mov	DWORD PTR [r15], ebp
	test	eax, ebp
	je	.L10
	test	ebx, eax
	je	.L50
.L11:
	mov	QWORD PTR 8[r15], r13
.L12:
	mov	edi, DWORD PTR 4[r12]
	mov	edx, DWORD PTR FALSE[rip]
	lea	rsi, 16[r15]
	call	InvalidateRect@PLT
	mov	edi, DWORD PTR 4[r12]
	call	UpdateWindow@PLT
.L46:
	mov	eax, DWORD PTR TRUE[rip]
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	test	r13, r13
	je	.L16
	test	r8d, r8d
	je	.L51
	test	r13, r13
	je	.L16
	mov	rdi, r13
	call	strlenW@PLT
	lea	edi, 1[rax]
	call	Alloc@PLT
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	je	.L48
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, r13
	call	strcpyW@PLT
.L15:
	mov	rbp, QWORD PTR 8[rsp]
	movsx	edi, BYTE PTR 0[rbp]
	test	dil, dil
	je	.L22
	.p2align 4,,10
	.p2align 3
.L19:
	call	isprintW@PLT
	test	eax, eax
	jne	.L18
	mov	BYTE PTR 0[rbp], 32
.L18:
	movsx	edi, BYTE PTR 1[rbp]
	add	rbp, 1
	test	dil, dil
	jne	.L19
	test	r13, r13
	je	.L23
.L22:
	test	r14d, r14d
	jne	.L20
	mov	rsi, QWORD PTR 8[r15]
	test	rsi, rsi
	je	.L20
	mov	rdi, QWORD PTR 8[rsp]
	call	lstrcmpW@PLT
	test	eax, eax
	jne	.L20
	mov	rdi, QWORD PTR 8[rsp]
	call	Free@PLT
	mov	eax, DWORD PTR TRUE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L48:
	mov	eax, DWORD PTR FALSE[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, r8d
	mov	rdi, rcx
	mov	DWORD PTR 8[rsp], r8d
	call	debugstr_t@PLT
	mov	esi, ebx
	lea	rdi, .LC1[rip]
	mov	rdx, rax
	call	TRACE@PLT
	mov	r8d, DWORD PTR 8[rsp]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L51:
	mov	edi, DWORD PTR CP_ACP[rip]
	xor	r9d, r9d
	xor	r8d, r8d
	mov	edx, r13d
	mov	ecx, -1
	xor	esi, esi
	call	MultiByteToWideChar@PLT
	lea	edi, 1[rax]
	mov	ebp, eax
	call	Alloc@PLT
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	je	.L48
	mov	r8, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR CP_ACP[rip]
	mov	r9d, ebp
	xor	esi, esi
	mov	ecx, -1
	mov	edx, r13d
	call	MultiByteToWideChar@PLT
	jmp	.L15
.L23:
	mov	r13, QWORD PTR 8[rsp]
	.p2align 4,,10
	.p2align 3
.L16:
	mov	QWORD PTR 8[rsp], r13
	test	r14d, r14d
	jne	.L20
	cmp	QWORD PTR 8[r15], 0
	je	.L46
	.p2align 4,,10
	.p2align 3
.L20:
	test	DWORD PTR SBT_OWNERDRAW[rip], ebx
	je	.L52
.L21:
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 8[r15], rax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L50:
	mov	rdi, QWORD PTR 8[r15]
	call	Free@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L52:
	mov	rdi, QWORD PTR 8[r15]
	call	Free@PLT
	jmp	.L21
	.cfi_endproc
.LFE0:
	.size	STATUSBAR_SetTextT, .-STATUSBAR_SetTextT
	.comm	TRUE,4,4
	.comm	SBT_OWNERDRAW,4,4
	.comm	FALSE,4,4
	.comm	CP_ACP,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_status.c_STATUSBAR_SetTextT.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"part %d, text %p\012\000"
	.align	2
.LC1:
	.ascii	"part %d, text %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	STATUSBAR_SetTextT, %function
STATUSBAR_SetTextT:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	fp, r2
	ldr	r8, .L45
	ldr	r7, .L45+4
	ldr	r2, [r8]
	mov	r4, r0
	tst	fp, r2
	mov	r5, r3
	mov	r9, r1
	ldr	r10, [r7]
	sub	sp, sp, #28
	beq	.L2
	mov	r2, r3
	ldr	r0, .L45+8
	bl	TRACE
.L3:
	cmp	r9, #255
	addeq	r6, r4, #12
	beq	.L5
	mvn	r3, r9
	ldr	r6, [r4, #8]
	lsr	r3, r3, #31
	cmp	r6, #0
	moveq	r3, #0
	cmp	r3, #0
	beq	.L40
	ldr	r3, [r4]
	cmp	r3, r9
	ble	.L40
	add	r9, r9, r9, lsl #1
	add	r6, r6, r9, lsl #2
.L5:
	ldr	r9, [r6]
	cmp	r9, fp
	ldrne	r3, .L45+12
	ldrne	r10, [r3]
	ldr	r3, [r8]
	str	fp, [r6]
	ands	r1, r3, fp
	beq	.L10
	tst	r9, r3
	beq	.L42
.L11:
	str	r5, [r6, #4]
.L12:
	ldr	r2, [r7]
	ldr	r0, [r4, #4]
	add	r1, r6, #8
	bl	InvalidateRect
	ldr	r0, [r4, #4]
	bl	UpdateWindow
.L38:
	ldr	r3, .L45+12
	ldr	r0, [r3]
.L1:
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	ldr	r3, [sp, #64]
	cmp	r5, #0
	clz	r3, r3
	lsr	r3, r3, #5
	moveq	r3, #0
	cmp	r3, #0
	bne	.L43
	cmp	r5, #0
	beq	.L16
	mov	r0, r5
	bl	strlenW
	add	r0, r0, #1
	bl	Alloc
	subs	r3, r0, #0
	str	r3, [sp, #12]
	beq	.L40
	mov	r1, r5
	bl	strcpyW
.L15:
	ldr	r3, [sp, #12]
	ldrb	r0, [r3]	@ zero_extendqisi2
	cmp	r0, #0
	ldrne	fp, [sp, #12]
	beq	.L22
.L19:
	bl	isprintW
	cmp	r0, #0
	moveq	r3, #32
	strbeq	r3, [fp]
	ldrb	r0, [fp, #1]!	@ zero_extendqisi2
	cmp	r0, #0
	bne	.L19
	cmp	r5, #0
	beq	.L23
.L22:
	cmp	r10, #0
	bne	.L20
	ldr	r1, [r6, #4]
	cmp	r1, #0
	beq	.L20
	ldr	r0, [sp, #12]
	bl	lstrcmpW
	cmp	r0, #0
	bne	.L20
	ldr	r0, [sp, #12]
	bl	Free
	ldr	r3, .L45+12
	ldr	r0, [r3]
	b	.L1
.L40:
	ldr	r0, [r7]
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r1, [sp, #64]
	mov	r0, r3
	bl	debugstr_t
	mov	r1, r9
	mov	r2, r0
	ldr	r0, .L45+16
	bl	TRACE
	b	.L3
.L23:
	ldr	r5, [sp, #12]
.L16:
	cmp	r10, #0
	bne	.L25
	ldr	r3, [r6, #4]
	cmp	r3, #0
	beq	.L38
.L25:
	str	r5, [sp, #12]
.L20:
	ldr	r3, [r8]
	tst	r9, r3
	beq	.L44
.L21:
	ldr	r3, [sp, #12]
	str	r3, [r6, #4]
	b	.L12
.L43:
	ldr	fp, .L45+20
	str	r1, [sp, #4]
	str	r1, [sp]
	mvn	r3, #0
	mov	r2, r5
	ldr	r0, [fp]
	str	r1, [sp, #20]
	bl	MultiByteToWideChar
	mov	r3, r0
	add	r0, r0, #1
	str	r3, [sp, #16]
	bl	Alloc
	subs	r3, r0, #0
	str	r3, [sp, #12]
	ldr	r1, [sp, #20]
	ldr	r3, [sp, #16]
	beq	.L40
	str	r3, [sp, #4]
	ldr	r3, [sp, #12]
	mov	r2, r5
	str	r3, [sp]
	ldr	r0, [fp]
	mvn	r3, #0
	bl	MultiByteToWideChar
	b	.L15
.L42:
	ldr	r0, [r6, #4]
	bl	Free
	b	.L11
.L44:
	ldr	r0, [r6, #4]
	bl	Free
	b	.L21
.L46:
	.align	2
.L45:
	.word	SBT_OWNERDRAW
	.word	FALSE
	.word	.LC0
	.word	TRUE
	.word	.LC1
	.word	CP_ACP
	.size	STATUSBAR_SetTextT, .-STATUSBAR_SetTextT
	.comm	TRUE,4,4
	.comm	SBT_OWNERDRAW,4,4
	.comm	FALSE,4,4
	.comm	CP_ACP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
