	.file	"extr_screen-redraw.c_screen_redraw_make_pane_status.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"pane-active-border-style"
.LC1:
	.string	"pane-border-style"
.LC2:
	.string	"pane-border-format"
	.text
	.p2align 4
	.type	screen_redraw_make_pane_status, @function
screen_redraw_make_pane_status:
.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
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	esi, DWORD PTR [rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	lea	rbp, 44[rsp]
	cmp	QWORD PTR 8[rbx], rdx
	je	.L16
	lea	rdx, .LC1[rip]
	mov	rdi, rbp
	call	style_apply@PLT
.L3:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC2[rip]
	call	options_get_string@PLT
	mov	ecx, DWORD PTR FORMAT_STATUS[rip]
	xor	esi, esi
	mov	rdi, r14
	mov	edx, DWORD PTR [r12]
	or	edx, DWORD PTR FORMAT_PANE[rip]
	mov	r15, rax
	call	format_create@PLT
	mov	r8, r12
	xor	ecx, ecx
	xor	edx, edx
	mov	r13, rax
	mov	rsi, r14
	mov	rdi, rax
	call	format_defaults@PLT
	mov	rsi, r15
	mov	rdi, r13
	call	format_expand_time@PLT
	movsx	rbx, DWORD PTR 4[r12]
	lea	r8, 8[r12]
	mov	QWORD PTR [rsp], rax
	cmp	ebx, 3
	jg	.L17
	lea	rdi, 52[rsp]
	mov	rsi, r8
	mov	edx, 4
	mov	QWORD PTR 24[r12], 0
	mov	QWORD PTR 16[rsp], rdi
	lea	r15, 48[rsp]
	mov	QWORD PTR 8[rsp], r8
	call	memcpy@PLT
	mov	r8, QWORD PTR 8[rsp]
	xor	ecx, ecx
	xor	esi, esi
	mov	edx, 1
	mov	rdi, r8
	call	screen_init@PLT
	mov	r8, QWORD PTR 8[rsp]
	xor	esi, esi
	mov	rdi, r15
	mov	QWORD PTR 16[r12], 0
	mov	rdx, r8
	call	screen_write_start@PLT
	mov	eax, DWORD PTR GRID_ATTR_CHARSET[rip]
	mov	edx, DWORD PTR 44[rsp]
	mov	QWORD PTR 8[rsp], 0
	or	edx, eax
	.p2align 4,,10
	.p2align 3
.L5:
	not	eax
	xor	ecx, ecx
	xor	esi, esi
	mov	rdi, r15
	and	eax, edx
	xor	edx, edx
	mov	DWORD PTR 44[rsp], eax
	call	screen_write_cursormove@PLT
	mov	rbx, QWORD PTR [rsp]
	xor	r8d, r8d
	mov	rsi, rbp
	mov	rdx, QWORD PTR 8[rsp]
	mov	rdi, r15
	mov	rcx, rbx
	call	format_draw@PLT
	mov	rdi, r15
	call	screen_write_stop@PLT
	mov	rdi, rbx
	call	free@PLT
	mov	rdi, r13
	call	format_free@PLT
	mov	edi, DWORD PTR 8[r12]
	mov	esi, DWORD PTR 52[rsp]
	call	grid_compare@PLT
	mov	rdi, QWORD PTR 16[rsp]
	test	rax, rax
	je	.L18
	call	screen_free@PLT
	mov	eax, 1
.L1:
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L19
	add	rsp, 72
	.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
.L17:
	.cfi_restore_state
	lea	r14d, -4[rbx]
	lea	rdi, 52[rsp]
	mov	rsi, r8
	mov	edx, 4
	movsx	r15, r14d
	mov	QWORD PTR 16[rsp], rdi
	mov	QWORD PTR 24[r12], r15
	mov	QWORD PTR 8[rsp], r15
	mov	QWORD PTR 24[rsp], r8
	call	memcpy@PLT
	mov	r8, QWORD PTR 24[rsp]
	mov	rsi, r15
	xor	ecx, ecx
	mov	edx, 1
	lea	r15, 48[rsp]
	mov	rdi, r8
	call	screen_init@PLT
	mov	r8, QWORD PTR 24[rsp]
	xor	esi, esi
	mov	rdi, r15
	mov	QWORD PTR 16[r12], 0
	mov	rdx, r8
	call	screen_write_start@PLT
	mov	edx, DWORD PTR 44[rsp]
	mov	eax, DWORD PTR GRID_ATTR_CHARSET[rip]
	or	edx, eax
	mov	DWORD PTR 44[rsp], edx
	cmp	ebx, 4
	je	.L5
	sub	rbx, 4
	xor	r14d, r14d
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edx, 113
	mov	rsi, rbp
	mov	rdi, r15
	add	r14, 1
	call	screen_write_putc@PLT
	cmp	rbx, r14
	jne	.L6
	mov	edx, DWORD PTR 44[rsp]
	mov	eax, DWORD PTR GRID_ATTR_CHARSET[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	call	screen_free@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	call	style_apply@PLT
	jmp	.L3
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	screen_redraw_make_pane_status, .-screen_redraw_make_pane_status
	.comm	GRID_ATTR_CHARSET,4,4
	.comm	FORMAT_STATUS,4,4
	.comm	FORMAT_PANE,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_screen-redraw.c_screen_redraw_make_pane_status.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"pane-active-border-style\000"
	.align	2
.LC1:
	.ascii	"pane-border-style\000"
	.align	2
.LC2:
	.ascii	"pane-border-format\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	screen_redraw_make_pane_status, %function
screen_redraw_make_pane_status:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r1
	ldr	r3, [r1, #4]
	sub	sp, sp, #36
	cmp	r3, r2
	add	r6, sp, #16
	ldr	r3, .L19
	mov	r7, r2
	mov	r5, r0
	ldreq	r2, .L19+4
	ldrne	r2, .L19+8
	ldr	r1, [r1]
	mov	r0, r6
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	style_apply
	ldr	r0, [r4]
	ldr	r1, .L19+12
	bl	options_get_string
	ldr	r3, .L19+16
	ldr	r1, [r7]
	ldr	r2, [r3]
	ldr	r3, .L19+20
	orr	r2, r1, r2
	mov	r4, r0
	mov	r1, #0
	ldr	r3, [r3]
	mov	r0, r5
	bl	format_create
	mov	r3, #0
	mov	r8, r0
	mov	r2, r3
	mov	r1, r5
	str	r7, [sp]
	bl	format_defaults
	mov	r1, r4
	mov	r0, r8
	bl	format_expand_time
	ldr	r3, [r7, #4]
	mov	r9, r0
	cmp	r3, #3
	add	r10, r7, #8
	bgt	.L16
	mov	r5, #0
	add	fp, sp, #24
	mov	r2, #4
	mov	r1, r10
	mov	r0, fp
	str	r5, [r7, #16]
	bl	memcpy
	add	r4, sp, #20
	mov	r3, r5
	mov	r1, r5
	mov	r2, #1
	mov	r0, r10
	bl	screen_init
	mov	r2, r10
	mov	r1, r5
	mov	r0, r4
	str	r5, [r7, #12]
	bl	screen_write_start
	ldr	r3, .L19+24
	ldr	r1, [sp, #16]
	ldr	ip, [r3]
	orr	r2, ip, r1
.L5:
	mov	r3, #0
	bic	ip, r2, ip
	mov	r1, r3
	mov	r2, r3
	mov	r0, r4
	str	ip, [sp, #16]
	bl	screen_write_cursormove
	mov	r3, #0
	mov	r2, r5
	mov	r1, r6
	mov	r0, r4
	str	r3, [sp]
	mov	r3, r9
	bl	format_draw
	mov	r0, r4
	bl	screen_write_stop
	mov	r0, r9
	bl	free
	mov	r0, r8
	bl	format_free
	ldr	r0, [r7, #8]
	ldr	r1, [sp, #24]
	bl	grid_compare
	subs	r4, r0, #0
	mov	r0, fp
	beq	.L17
	bl	screen_free
	mov	r4, #1
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r4
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	sub	r5, r3, #4
	add	fp, sp, #24
	mov	r2, #4
	mov	r1, r10
	mov	r0, fp
	str	r5, [r7, #16]
	str	r3, [sp, #12]
	bl	memcpy
	mov	r3, #0
	mov	r1, r5
	mov	r2, #1
	mov	r0, r10
	bl	screen_init
	mov	r1, #0
	add	r4, sp, #20
	mov	r2, r10
	mov	r0, r4
	str	r1, [r7, #12]
	bl	screen_write_start
	ldr	r2, .L19+24
	ldr	r3, [sp, #12]
	ldr	ip, [r2]
	ldr	r2, [sp, #16]
	cmp	r3, #4
	orr	r2, ip, r2
	str	r2, [sp, #16]
	beq	.L5
	mov	r10, #0
.L6:
	mov	r2, #113
	mov	r1, r6
	mov	r0, r4
	add	r10, r10, #1
	bl	screen_write_putc
	cmp	r5, r10
	bne	.L6
	ldr	r3, .L19+24
	ldr	r2, [sp, #16]
	ldr	ip, [r3]
	b	.L5
.L17:
	bl	screen_free
	b	.L1
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	FORMAT_PANE
	.word	FORMAT_STATUS
	.word	GRID_ATTR_CHARSET
	.size	screen_redraw_make_pane_status, .-screen_redraw_make_pane_status
	.comm	GRID_ATTR_CHARSET,4,4
	.comm	FORMAT_STATUS,4,4
	.comm	FORMAT_PANE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
