	.file	"extr_hlpfile.c_HLPFILE_RtfAddGfxByAddr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Got picture magic=%04x #=%d\n"
.LC1:
	.string	"Offset[%d] = %x\n"
.LC2:
	.string	"Unknown type %u\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"Supporting only one bitmap format per logical bitmap (for now). Using first format\n"
	.text
	.p2align 4
	.type	HLPFILE_RtfAddGfxByAddr, @function
HLPFILE_RtfAddGfxByAddr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	mov	esi, 2
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	mov	rdi, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	GET_USHORT@PLT
	xor	esi, esi
	mov	rdi, rbx
	mov	ebp, eax
	call	GET_USHORT@PLT
	mov	edx, ebp
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	WINE_TRACE@PLT
	test	ebp, ebp
	jne	.L16
.L3:
	mov	eax, DWORD PTR TRUE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	esi, 4
	mov	rdi, rbx
	call	GET_UINT@PLT
	xor	esi, esi
	lea	rdi, .LC1[rip]
	mov	edx, eax
	call	WINE_TRACE@PLT
	mov	esi, 4
	mov	rdi, rbx
	call	GET_UINT@PLT
	cdqe
	lea	rdx, [rbx+rax*4]
	mov	ecx, DWORD PTR [rdx]
	mov	r8d, DWORD PTR 4[rdx]
	cmp	ecx, 6
	jle	.L17
	cmp	ecx, 8
	jne	.L6
	mov	ecx, r8d
	mov	rsi, r13
	mov	rdi, r12
	call	HLPFILE_RtfAddMetaFile@PLT
.L8:
	cmp	ebp, 1
	je	.L3
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	WINE_FIXME@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L17:
	cmp	ecx, 4
	jg	.L18
.L6:
	mov	esi, ecx
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	WINE_FIXME@PLT
	mov	eax, DWORD PTR FALSE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	rsi, r13
	mov	rdi, r12
	call	HLPFILE_RtfAddBitmap@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	HLPFILE_RtfAddGfxByAddr, .-HLPFILE_RtfAddGfxByAddr
	.comm	TRUE,4,4
	.comm	FALSE,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_hlpfile.c_HLPFILE_RtfAddGfxByAddr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Got picture magic=%04x #=%d\012\000"
	.align	2
.LC1:
	.ascii	"Offset[%d] = %x\012\000"
	.align	2
.LC2:
	.ascii	"Unknown type %u\012\000"
	.align	2
.LC3:
	.ascii	"Supporting only one bitmap format per logical bitma"
	.ascii	"p (for now). Using first format\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	HLPFILE_RtfAddGfxByAddr, %function
HLPFILE_RtfAddGfxByAddr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r7, r0
	sub	sp, sp, #12
	mov	r0, r2
	mov	r6, r1
	mov	r1, #2
	mov	r4, r2
	bl	GET_USHORT
	mov	r1, #0
	mov	r5, r0
	mov	r0, r4
	bl	GET_USHORT
	mov	r2, r5
	mov	r1, r0
	ldr	r0, .L19
	bl	WINE_TRACE
	cmp	r5, #0
	bne	.L16
.L3:
	ldr	r3, .L19+4
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L16:
	mov	r1, #4
	mov	r0, r4
	bl	GET_UINT
	mov	r1, #0
	mov	r2, r0
	ldr	r0, .L19+8
	bl	WINE_TRACE
	mov	r1, #4
	mov	r0, r4
	bl	GET_UINT
	ldr	r1, [r4, r0, lsl #2]
	add	r2, r4, r0, lsl #2
	cmp	r1, #6
	ldr	r3, [r2, #4]
	ble	.L17
	cmp	r1, #8
	bne	.L6
	mov	r1, r6
	mov	r0, r7
	bl	HLPFILE_RtfAddMetaFile
.L8:
	cmp	r5, #1
	beq	.L3
	ldr	r0, .L19+12
	bl	WINE_FIXME
	b	.L3
.L17:
	cmp	r1, #4
	bgt	.L18
.L6:
	ldr	r0, .L19+16
	bl	WINE_FIXME
	ldr	r3, .L19+20
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L18:
	str	r3, [sp]
	mov	r0, r7
	mov	r3, r1
	mov	r1, r6
	bl	HLPFILE_RtfAddBitmap
	b	.L8
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	TRUE
	.word	.LC1
	.word	.LC3
	.word	.LC2
	.word	FALSE
	.size	HLPFILE_RtfAddGfxByAddr, .-HLPFILE_RtfAddGfxByAddr
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
