	.file	"extr_palette.c_bInitDefaultPalette.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"DISP bInitDefaultPalette failed EngCreatePalette\n"
	.text
	.p2align 4
	.globl	bInitDefaultPalette
	.type	bInitDefaultPalette, @function
bInitDefaultPalette:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rax, logPalVGA[rip]
	mov	rbp, rsi
	xor	r8d, r8d
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	xor	r9d, r9d
	xor	ecx, ecx
	lea	edx, [rax]
	mov	esi, 16
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR PAL_INDEXED[rip]
	call	EngCreatePalette@PLT
	mov	r8d, DWORD PTR TRUE[rip]
	mov	QWORD PTR 0[rbp], rax
	mov	QWORD PTR 8[rbx], rax
	test	rax, rax
	je	.L6
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	RIP@PLT
	mov	r8d, DWORD PTR FALSE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	bInitDefaultPalette, .-bInitDefaultPalette
	.comm	logPalVGA,4,4
	.comm	TRUE,4,4
	.comm	PAL_INDEXED,4,4
	.comm	PAL_BITFIELDS,4,4
	.comm	FALSE,4,4
	.comm	BASEPALETTE,8,8
	.comm	ALLOC_TAG,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_palette.c_bInitDefaultPalette.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"DISP bInitDefaultPalette failed EngCreatePalette\012"
	.ascii	"\000"
	.text
	.align	2
	.global	bInitDefaultPalette
	.syntax unified
	.arm
	.fpu softvfp
	.type	bInitDefaultPalette, %function
bInitDefaultPalette:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, lr}
	ldr	r2, .L7
	sub	sp, sp, #12
	str	r3, [sp, #4]
	str	r3, [sp]
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [r2]
	mov	r1, #16
	ldr	r2, .L7+4
	bl	EngCreatePalette
	cmp	r0, #0
	str	r0, [r5]
	str	r0, [r4, #4]
	beq	.L6
	ldr	r3, .L7+8
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L6:
	ldr	r0, .L7+12
	bl	RIP
	ldr	r3, .L7+16
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L8:
	.align	2
.L7:
	.word	PAL_INDEXED
	.word	logPalVGA
	.word	TRUE
	.word	.LC0
	.word	FALSE
	.size	bInitDefaultPalette, .-bInitDefaultPalette
	.comm	logPalVGA,4,4
	.comm	TRUE,4,4
	.comm	PAL_INDEXED,4,4
	.comm	PAL_BITFIELDS,4,4
	.comm	FALSE,4,4
	.comm	BASEPALETTE,4,4
	.comm	ALLOC_TAG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
