	.file	"extr_UI_b.c_UIDrawFrame_b.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	UIDrawFrame_b
	.type	UIDrawFrame_b, @function
UIDrawFrame_b:
.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	r14d, edi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	mov	ecx, 1
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	mov	edx, 1
	add	r13d, 1
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	lea	r15d, [r14+r12]
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r8d, DWORD PTR ui_frame_tl_tiles[rip]
	call	set_win_tiles@PLT
	mov	ecx, 1
	mov	esi, r13d
	mov	edi, r14d
	mov	r8d, DWORD PTR ui_frame_bl_tiles[rip]
	mov	edx, 1
	call	set_win_tiles@PLT
	xor	esi, esi
	mov	ecx, 1
	mov	edi, r15d
	mov	r8d, DWORD PTR ui_frame_tr_tiles[rip]
	mov	edx, 1
	call	set_win_tiles@PLT
	mov	ecx, 1
	mov	esi, r13d
	mov	edi, r15d
	mov	r8d, DWORD PTR ui_frame_br_tiles[rip]
	mov	edx, 1
	call	set_win_tiles@PLT
	cmp	r13d, 1
	je	.L2
	mov	ebp, 1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	ecx, 1
	mov	edx, 1
	mov	esi, ebp
	mov	edi, r14d
	mov	r8d, DWORD PTR ui_frame_l_tiles[rip]
	call	set_win_tiles@PLT
	mov	ecx, 1
	mov	esi, ebp
	mov	edi, r15d
	mov	r8d, DWORD PTR ui_frame_r_tiles[rip]
	mov	edx, 1
	call	set_win_tiles@PLT
	cmp	r12d, 1
	je	.L3
	mov	ebx, 1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r8d, DWORD PTR ui_frame_bg_tiles[rip]
	mov	edi, ebx
	mov	ecx, 1
	mov	esi, ebp
	mov	edx, 1
	add	ebx, 1
	call	set_win_tiles@PLT
	cmp	r12d, ebx
	jne	.L4
.L3:
	add	ebp, 1
	cmp	ebp, r13d
	jne	.L5
.L2:
	cmp	r12d, 1
	je	.L1
	mov	ebx, 1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r8d, DWORD PTR ui_frame_t_tiles[rip]
	mov	edi, ebx
	mov	ecx, 1
	xor	esi, esi
	mov	edx, 1
	call	set_win_tiles@PLT
	mov	edi, ebx
	mov	ecx, 1
	mov	esi, r13d
	mov	r8d, DWORD PTR ui_frame_b_tiles[rip]
	mov	edx, 1
	add	ebx, 1
	call	set_win_tiles@PLT
	cmp	r12d, ebx
	jne	.L7
.L1:
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	UIDrawFrame_b, .-UIDrawFrame_b
	.comm	ui_frame_tr_tiles,4,4
	.comm	ui_frame_tl_tiles,4,4
	.comm	ui_frame_t_tiles,4,4
	.comm	ui_frame_r_tiles,4,4
	.comm	ui_frame_l_tiles,4,4
	.comm	ui_frame_br_tiles,4,4
	.comm	ui_frame_bl_tiles,4,4
	.comm	ui_frame_bg_tiles,4,4
	.comm	ui_frame_b_tiles,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_b.c_UIDrawFrame_b.c"
	.text
	.align	2
	.global	UIDrawFrame_b
	.syntax unified
	.arm
	.fpu softvfp
	.type	UIDrawFrame_b, %function
UIDrawFrame_b:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r3
	mov	r3, #1
	mov	r5, r2
	ldr	r2, .L22
	sub	sp, sp, #12
	ldr	ip, [r2]
	mov	r2, r3
	str	ip, [sp]
	mov	r8, r0
	bl	set_win_tiles
	mov	r3, #1
	ldr	r2, .L22+4
	add	r7, r7, r3
	ldr	r2, [r2]
	mov	r1, r7
	str	r2, [sp]
	mov	r0, r8
	mov	r2, r3
	bl	set_win_tiles
	mov	r3, #1
	ldr	r2, .L22+8
	add	r9, r8, r5
	ldr	r2, [r2]
	mov	r1, #0
	str	r2, [sp]
	mov	r0, r9
	mov	r2, r3
	bl	set_win_tiles
	mov	r3, #1
	ldr	r2, .L22+12
	mov	r1, r7
	ldr	r2, [r2]
	mov	r0, r9
	str	r2, [sp]
	mov	r2, r3
	bl	set_win_tiles
	cmp	r7, #1
	beq	.L2
	mov	r10, #1
	ldr	fp, .L22+16
	ldr	r6, .L22+20
.L5:
	mov	r3, #1
	ldr	r1, [fp]
	mov	r2, r3
	str	r1, [sp]
	mov	r0, r8
	mov	r1, r10
	bl	set_win_tiles
	mov	r3, #1
	ldr	r2, .L22+24
	mov	r0, r9
	ldr	r1, [r2]
	mov	r2, r3
	str	r1, [sp]
	mov	r1, r10
	bl	set_win_tiles
	cmp	r5, #1
	beq	.L3
	mov	r4, #1
.L4:
	mov	r3, #1
	ldr	r0, [r6]
	mov	r2, r3
	str	r0, [sp]
	mov	r1, r10
	mov	r0, r4
	add	r4, r4, r3
	bl	set_win_tiles
	cmp	r5, r4
	bne	.L4
.L3:
	add	r10, r10, #1
	cmp	r10, r7
	bne	.L5
.L2:
	cmp	r5, #1
	beq	.L1
	mov	r4, #1
	ldr	r8, .L22+28
	ldr	r6, .L22+32
.L7:
	mov	r3, #1
	ldr	r1, [r8]
	mov	r2, r3
	mov	r0, r4
	str	r1, [sp]
	mov	r1, #0
	bl	set_win_tiles
	mov	r3, #1
	ldr	r1, [r6]
	mov	r0, r4
	str	r1, [sp]
	add	r4, r4, r3
	mov	r2, r3
	mov	r1, r7
	bl	set_win_tiles
	cmp	r5, r4
	bne	.L7
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
	.align	2
.L22:
	.word	ui_frame_tl_tiles
	.word	ui_frame_bl_tiles
	.word	ui_frame_tr_tiles
	.word	ui_frame_br_tiles
	.word	ui_frame_l_tiles
	.word	ui_frame_bg_tiles
	.word	ui_frame_r_tiles
	.word	ui_frame_t_tiles
	.word	ui_frame_b_tiles
	.size	UIDrawFrame_b, .-UIDrawFrame_b
	.comm	ui_frame_tr_tiles,4,4
	.comm	ui_frame_tl_tiles,4,4
	.comm	ui_frame_t_tiles,4,4
	.comm	ui_frame_r_tiles,4,4
	.comm	ui_frame_l_tiles,4,4
	.comm	ui_frame_br_tiles,4,4
	.comm	ui_frame_bl_tiles,4,4
	.comm	ui_frame_bg_tiles,4,4
	.comm	ui_frame_b_tiles,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
