	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HLPFILE_BrowsePage             ## -- Begin function HLPFILE_BrowsePage
	.p2align	4, 0x90
_HLPFILE_BrowsePage:                    ## @HLPFILE_BrowsePage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$1096, %rsp                     ## imm = 0x448
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %r15
	movl	(%rdi), %eax
	movq	%rax, -1096(%rbp)               ## 8-byte Spill
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rsi)
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	$32768, (%rbx)                  ## imm = 0x8000
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_HeapAlloc
	movl	%eax, 48(%rbx)
	movl	%eax, 52(%rbx)
	movq	$0, 40(%rbx)
	movl	$0, 12(%rbx)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movl	%r14d, 4(%rbx)
	movl	%r13d, 8(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	%r15, -1080(%rbp)               ## 8-byte Spill
	movl	(%r15), %esi
	movl	$1252, %r14d                    ## imm = 0x4E4
	leal	-128(%rsi), %eax
	cmpl	$25, %eax
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movl	$1258, %r14d                    ## imm = 0x4EA
	jmp	LBB0_18
LBB0_3:
	movl	$1254, %r14d                    ## imm = 0x4E6
	jmp	LBB0_18
LBB0_4:
	movl	$874, %r14d                     ## imm = 0x36A
	jmp	LBB0_18
LBB0_5:
	movl	$932, %r14d                     ## imm = 0x3A4
	jmp	LBB0_18
LBB0_6:
	movl	$1251, %r14d                    ## imm = 0x4E3
	jmp	LBB0_18
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str(%rip), %rdx
	leaq	-1072(%rbp), %r14
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rbx, %rdi
	movq	%r14, %rsi
	jmp	LBB0_19
LBB0_8:
	movl	$1361, %r14d                    ## imm = 0x551
	jmp	LBB0_18
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_WINE_FIXME
	jmp	LBB0_18
LBB0_10:
	movl	$1255, %r14d                    ## imm = 0x4E7
	jmp	LBB0_18
LBB0_11:
	movl	$949, %r14d                     ## imm = 0x3B5
	jmp	LBB0_18
LBB0_12:
	movl	$1253, %r14d                    ## imm = 0x4E5
	jmp	LBB0_18
LBB0_13:
	movl	$936, %r14d                     ## imm = 0x3A8
	jmp	LBB0_18
LBB0_14:
	movl	$1250, %r14d                    ## imm = 0x4E2
	jmp	LBB0_18
LBB0_15:
	movl	$950, %r14d                     ## imm = 0x3B6
	jmp	LBB0_18
LBB0_16:
	movl	$1257, %r14d                    ## imm = 0x4E9
	jmp	LBB0_18
LBB0_17:
	movl	$1256, %r14d                    ## imm = 0x4E8
LBB0_18:
	leaq	L_.str.3(%rip), %rsi
	leaq	-1072(%rbp), %r15
	movq	%r15, %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rbx, %rdi
	movq	%r15, %rsi
LBB0_19:
	callq	_HLPFILE_RtfAddControl
	testl	%eax, %eax
	je	LBB0_51
## %bb.20:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_HLPFILE_RtfAddControl
	testl	%eax, %eax
	je	LBB0_51
## %bb.21:
	movq	%rbx, -1088(%rbp)               ## 8-byte Spill
	movl	%r13d, -1104(%rbp)              ## 4-byte Spill
	movq	%r12, -1120(%rbp)               ## 8-byte Spill
	movq	-1080(%rbp), %rdx               ## 8-byte Reload
	cmpl	$0, 4(%rdx)
	je	LBB0_25
## %bb.22:
	movl	$16, %r14d
	leaq	L_.str.10(%rip), %r12
	leaq	-1072(%rbp), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%rdx), %rax
	movl	-8(%rax,%r14), %r8d
	movl	-4(%rax,%r14), %r9d
	movl	%r8d, %ecx
	andl	$240, %ecx
	cmpl	$144, %ecx
	movq	%r12, %rcx
	leaq	L_.str.8(%rip), %rsi
	cmoveq	%rsi, %rcx
	andl	$15, %r8d
	movq	(%rax,%r14), %rax
	movq	%rax, (%rsp)
	movq	%r13, %rdi
	movq	%rdx, %r15
	leaq	L_.str.11(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_sprintf
	movq	-1088(%rbp), %rdi               ## 8-byte Reload
	movq	%r13, %rsi
	callq	_HLPFILE_RtfAddControl
	testl	%eax, %eax
	je	LBB0_51
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	incq	%rbx
	movl	4(%r15), %eax
	addq	$24, %r14
	cmpq	%rax, %rbx
	movq	%r15, %rdx
	jb	LBB0_23
LBB0_25:
	leaq	L_.str.12(%rip), %rsi
	movq	-1088(%rbp), %rbx               ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_HLPFILE_RtfAddControl
	testl	%eax, %eax
	je	LBB0_51
## %bb.26:
	leaq	L_.str.13(%rip), %rsi
	movq	%rbx, %rdi
	callq	_HLPFILE_RtfAddControl
	testl	%eax, %eax
	je	LBB0_51
## %bb.27:
	movq	-1080(%rbp), %r15               ## 8-byte Reload
	cmpl	$0, 4(%r15)
	je	LBB0_31
## %bb.28:
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r15), %rax
	movl	(%rax,%r13), %edi
	callq	_GetRValue
	movl	%eax, %ebx
	movq	40(%r15), %rax
	movl	(%rax,%r13), %edi
	callq	_GetGValue
	movl	%eax, %r14d
	movq	40(%r15), %rax
	movl	(%rax,%r13), %edi
	callq	_GetBValue
	leaq	-1072(%rbp), %rdi
	leaq	L_.str.14(%rip), %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	movq	-1088(%rbp), %rdi               ## 8-byte Reload
	leaq	-1072(%rbp), %rsi
	callq	_HLPFILE_RtfAddControl
	testl	%eax, %eax
	je	LBB0_51
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	incq	%r12
	movl	4(%r15), %eax
	addq	$24, %r13
	cmpq	%rax, %r12
	jb	LBB0_29
LBB0_31:
	leaq	L_.str.12(%rip), %rsi
	movq	-1088(%rbp), %rdi               ## 8-byte Reload
	callq	_HLPFILE_RtfAddControl
	testl	%eax, %eax
	je	LBB0_51
## %bb.32:
	movl	$-1, %r14d
	movl	$0, -1100(%rbp)                 ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	movq	-1080(%rbp), %rsi               ## 8-byte Reload
	jmp	LBB0_34
LBB0_33:                                ##   in Loop: Header=BB0_34 Depth=1
	movl	%ebx, %eax
	movq	%rax, -1096(%rbp)               ## 8-byte Spill
	movl	%r12d, %r14d
	cmpl	$-1, %ebx
	movq	-1080(%rbp), %rsi               ## 8-byte Reload
	je	LBB0_57
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	-1096(%rbp), %r12               ## 8-byte Reload
	leal	-12(%r12), %ecx
	cmpl	$17, 8(%rsi)
	jge	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	%ecx, %eax
	cltd
	idivl	12(%rsi)
                                        ## kill: def $edx killed $edx def $rdx
	cmpl	%r14d, %eax
	setne	%dil
	cmpl	$-1, %r14d
	setne	%bl
	testb	%dil, %bl
	movl	%eax, %ebx
	cmovnel	%ecx, %r12d
	leal	-12(%rdx), %ecx
	cmovel	%edx, %ecx
	jmp	LBB0_37
LBB0_36:                                ##   in Loop: Header=BB0_34 Depth=1
	movl	%ecx, %ebx
	sarl	$14, %ebx
	andl	$16383, %ecx                    ## imm = 0x3FFF
LBB0_37:                                ##   in Loop: Header=BB0_34 Depth=1
	cmpl	16(%rsi), %ebx
	jae	LBB0_54
## %bb.38:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	24(%rsi), %rax
	movl	%ebx, %edx
	movq	(%rax,%rdx,8), %rax
	movl	%ecx, %ecx
	leaq	(%rax,%rcx,4), %rdx
	addq	$84, %rdx
	cmpq	32(%rsi), %rdx
	jae	LBB0_55
## %bb.39:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	%r12, -1096(%rbp)               ## 8-byte Spill
	leaq	(%rax,%rcx,4), %r13
	movq	%r13, %rdi
	movl	%ebx, %r12d
	movq	%rsi, %rbx
	xorl	%esi, %esi
	callq	_GET_UINT
	cltq
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	movq	32(%rbx), %rsi
	movl	%r12d, %ebx
	callq	_min
	cmpl	%r14d, %r12d
	movl	$0, %ecx
	cmovnel	%ecx, %r15d
	movl	80(%r13), %esi
	leal	-136(%rsi), %ecx
	cmpl	$3, %ecx
	jae	LBB0_44
## %bb.40:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-1120(%rbp), %rdi               ## 8-byte Reload
	movq	-1088(%rbp), %rsi               ## 8-byte Reload
	movq	%r13, %rdx
	movq	%rax, %rcx
	leaq	-1108(%rbp), %r8
	callq	_HLPFILE_BrowseParagraph
	testl	%eax, %eax
	je	LBB0_51
## %bb.41:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	%ebx, %eax
	shll	$15, %eax
	addl	%r15d, %eax
	cmpl	-1104(%rbp), %eax               ## 4-byte Folded Reload
	jae	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-1088(%rbp), %rcx               ## 8-byte Reload
	movq	16(%rcx), %rax
	movq	%rax, 24(%rcx)
LBB0_43:                                ##   in Loop: Header=BB0_34 Depth=1
	addl	-1108(%rbp), %r15d
	jmp	LBB0_47
LBB0_44:                                ##   in Loop: Header=BB0_34 Depth=1
	cmpl	$135, %esi
	jne	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_34 Depth=1
	cmpl	$0, -1100(%rbp)                 ## 4-byte Folded Reload
	movl	$1, -1100(%rbp)                 ## 4-byte Folded Spill
	movq	-1080(%rbp), %rax               ## 8-byte Reload
	je	LBB0_48
	jmp	LBB0_57
LBB0_46:                                ##   in Loop: Header=BB0_34 Depth=1
	leaq	L_.str.17(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_WINE_ERR
LBB0_47:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	-1080(%rbp), %rax               ## 8-byte Reload
LBB0_48:                                ##   in Loop: Header=BB0_34 Depth=1
	movl	8(%rax), %r14d
	movq	%r13, %rdi
	movl	$12, %esi
	callq	_GET_UINT
	movl	%eax, %ebx
	cmpl	$16, %r14d
	jg	LBB0_33
## %bb.49:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	%r13, %rdi
	movl	$12, %esi
	callq	_GET_UINT
	testl	%eax, %eax
	movq	-1080(%rbp), %rsi               ## 8-byte Reload
	je	LBB0_57
## %bb.50:                              ##   in Loop: Header=BB0_34 Depth=1
	addl	-1096(%rbp), %ebx               ## 4-byte Folded Reload
	movl	%ebx, %eax
	movq	%rax, -1096(%rbp)               ## 8-byte Spill
	movl	%r12d, %r14d
	cmpl	$-1, %ebx
	jne	LBB0_34
	jmp	LBB0_57
LBB0_51:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_52:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_58
## %bb.53:
	addq	$1096, %rsp                     ## imm = 0x448
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_54:
	leaq	L_.str.15(%rip), %rdi
	jmp	LBB0_56
LBB0_55:
	leaq	L_.str.16(%rip), %rdi
LBB0_56:
	callq	_WINE_WARN
LBB0_57:
	movq	-1088(%rbp), %rdi               ## 8-byte Reload
	movl	12(%rdi), %eax
	movq	-1120(%rbp), %rcx               ## 8-byte Reload
	movl	%eax, 4(%rcx)
	leaq	L_.str.12(%rip), %rsi
	callq	_HLPFILE_RtfAddControl
	jmp	LBB0_52
LBB0_58:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_14
	.long	L0_0_set_18
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac"

L_.str.1:                               ## @.str.1
	.asciz	"Unsupported charset %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"{\\rtf1\\%s\\deff0"

L_.str.3:                               ## @.str.3
	.asciz	"{\\rtf1\\ansi\\ansicpg%d\\deff0"

L_.str.4:                               ## @.str.4
	.asciz	"{\\fonttbl"

L_.str.8:                               ## @.str.8
	.asciz	"script"

L_.str.10:                              ## @.str.10
	.asciz	"nil"

L_.str.11:                              ## @.str.11
	.asciz	"{\\f%d\\f%s\\fprq%d\\fcharset%d %s;}"

L_.str.12:                              ## @.str.12
	.asciz	"}"

L_.str.13:                              ## @.str.13
	.asciz	"{\\colortbl ;\\red0\\green128\\blue0;"

L_.str.14:                              ## @.str.14
	.asciz	"\\red%d\\green%d\\blue%d;"

L_.str.15:                              ## @.str.15
	.asciz	"maplen\n"

L_.str.16:                              ## @.str.16
	.asciz	"extra\n"

L_.str.17:                              ## @.str.17
	.asciz	"buf[0x14] = %x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HLPFILE_BrowsePage             ; -- Begin function HLPFILE_BrowsePage
	.p2align	2
_HLPFILE_BrowsePage:                    ; @HLPFILE_BrowsePage
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #1088
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	x26, [x0, #8]
	ldr	w27, [x0]
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x1, #56]
	bl	_GetProcessHeap
	mov	w8, #32768
	str	w8, [x19]
	mov	w1, #0
	mov	w2, #32768
	bl	_HeapAlloc
	stp	w0, w0, [x19, #48]
	str	xzr, [x19, #40]
	str	wzr, [x19, #12]
Lloh6:
	adrp	x23, _FALSE@GOTPAGE
Lloh7:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
	ldr	w8, [x23]
	str	w8, [x19, #32]
	stp	w22, w21, [x19, #4]
	stp	xzr, xzr, [x19, #16]
	ldr	w1, [x26]
	sub	w9, w1, #128
	cmp	w9, #25
	b.hi	LBB0_9
; %bb.1:
	mov	w8, #1252
Lloh8:
	adrp	x10, lJTI0_0@PAGE
Lloh9:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	mov	w8, #1258
	b	LBB0_18
LBB0_3:
	mov	w8, #1254
	b	LBB0_18
LBB0_4:
	mov	w8, #874
	b	LBB0_18
LBB0_5:
	mov	w8, #932
	b	LBB0_18
LBB0_6:
	mov	w8, #1251
	b	LBB0_18
LBB0_7:
Lloh10:
	adrp	x8, l_.str@PAGE
Lloh11:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_19
LBB0_8:
	mov	w8, #1361
	b	LBB0_18
LBB0_9:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_WINE_FIXME
	mov	w8, #1252
	b	LBB0_18
LBB0_10:
	mov	w8, #1255
	b	LBB0_18
LBB0_11:
	mov	w8, #949
	b	LBB0_18
LBB0_12:
	mov	w8, #1253
	b	LBB0_18
LBB0_13:
	mov	w8, #936
	b	LBB0_18
LBB0_14:
	mov	w8, #1250
	b	LBB0_18
LBB0_15:
	mov	w8, #950
	b	LBB0_18
LBB0_16:
	mov	w8, #1257
	b	LBB0_18
LBB0_17:
	mov	w8, #1256
LBB0_18:
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_19:
	add	x0, sp, #48
	bl	_sprintf
	add	x1, sp, #48
	mov	x0, x19
	bl	_HLPFILE_RtfAddControl
	cbz	w0, LBB0_33
; %bb.20:
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_HLPFILE_RtfAddControl
	cbz	w0, LBB0_33
; %bb.21:
	ldr	w8, [x26, #4]
	cbz	w8, LBB0_25
; %bb.22:
	mov	x23, #0
	mov	x24, #0
Lloh20:
	adrp	x25, l_.str.10@PAGE
Lloh21:
	add	x25, x25, l_.str.10@PAGEOFF
Lloh22:
	adrp	x28, l_.str.8@PAGE
Lloh23:
	add	x28, x28, l_.str.8@PAGEOFF
Lloh24:
	adrp	x22, l_.str.11@PAGE
Lloh25:
	add	x22, x22, l_.str.11@PAGEOFF
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26, #40]
	add	x8, x8, x23
	ldp	w9, w10, [x8, #8]
	and	w11, w9, #0xf0
	cmp	w11, #144
	csel	x11, x28, x25, eq
	and	w9, w9, #0xf
	ldr	x8, [x8, #16]
	stp	x10, x8, [sp, #24]
	stp	x11, x9, [sp, #8]
	add	x0, sp, #48
	str	x24, [sp]
	mov	x1, x22
	bl	_sprintf
	add	x1, sp, #48
	mov	x0, x19
	bl	_HLPFILE_RtfAddControl
	cbz	w0, LBB0_52
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	add	x24, x24, #1
	ldr	w8, [x26, #4]
	add	x23, x23, #24
	cmp	x24, x8
	b.lo	LBB0_23
LBB0_25:
Lloh26:
	adrp	x1, l_.str.12@PAGE
Lloh27:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_HLPFILE_RtfAddControl
	cbz	w0, LBB0_52
; %bb.26:
Lloh28:
	adrp	x1, l_.str.13@PAGE
Lloh29:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_HLPFILE_RtfAddControl
	cbz	w0, LBB0_52
; %bb.27:
	ldr	w8, [x26, #4]
	cbz	w8, LBB0_31
; %bb.28:
	mov	x25, #0
	mov	x28, #0
Lloh30:
	adrp	x22, l_.str.14@PAGE
Lloh31:
	add	x22, x22, l_.str.14@PAGEOFF
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26, #40]
	ldr	w0, [x8, x25]
	bl	_GetRValue
	mov	x23, x0
	ldr	x8, [x26, #40]
	ldr	w0, [x8, x25]
	bl	_GetGValue
	mov	x24, x0
	ldr	x8, [x26, #40]
	ldr	w0, [x8, x25]
	bl	_GetBValue
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x24, x0, [sp, #8]
	add	x0, sp, #48
	str	x23, [sp]
	mov	x1, x22
	bl	_sprintf
	add	x1, sp, #48
	mov	x0, x19
	bl	_HLPFILE_RtfAddControl
	cbz	w0, LBB0_52
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	add	x28, x28, #1
	ldr	w8, [x26, #4]
	add	x25, x25, #24
	cmp	x28, x8
	b.lo	LBB0_29
LBB0_31:
Lloh32:
	adrp	x1, l_.str.12@PAGE
Lloh33:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_HLPFILE_RtfAddControl
	cbz	w0, LBB0_52
; %bb.32:
	str	wzr, [sp, #40]                  ; 4-byte Folded Spill
	mov	w23, #0
	mov	w22, #-1
	b	LBB0_35
LBB0_33:
	ldr	w0, [x23]
	b	LBB0_53
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	mov	x27, x25
	mov	x22, x28
	cmn	w25, #1
	b.eq	LBB0_58
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x26, #8]
	sub	w8, w27, #12
	cmp	w9, #17
	b.ge	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	w9, [x26, #12]
	sdiv	w28, w8, w9
	msub	w9, w28, w9, w8
	cmp	w28, w22
	cset	w10, ne
	cmn	w22, #1
	cset	w11, ne
	sub	w12, w9, #12
	tst	w11, w10
	csel	w27, w8, w27, ne
	csel	w8, w12, w9, ne
	b	LBB0_38
LBB0_37:                                ;   in Loop: Header=BB0_35 Depth=1
	asr	w28, w8, #14
	and	w8, w8, #0x3fff
LBB0_38:                                ;   in Loop: Header=BB0_35 Depth=1
	ldr	w9, [x26, #16]
	cmp	w28, w9
	b.hs	LBB0_55
; %bb.39:                               ;   in Loop: Header=BB0_35 Depth=1
	ldp	x9, x10, [x26, #24]
	ldr	x9, [x9, w28, uxtw #3]
	add	x24, x9, w8, uxtw #2
	add	x8, x24, #84
	cmp	x8, x10
	b.hs	LBB0_56
; %bb.40:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x0, x24
	mov	w1, #0
	bl	_GET_UINT
	add	x0, x24, w0, sxtw #2
	ldr	x1, [x26, #32]
	bl	_min
	cmp	w28, w22
	csel	w23, w23, wzr, eq
	ldr	w1, [x24, #80]
	sub	w8, w1, #136
	cmp	w8, #3
	b.hs	LBB0_45
; %bb.41:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x3, x0
	add	x4, sp, #44
	mov	x0, x20
	mov	x1, x19
	mov	x2, x24
	bl	_HLPFILE_BrowseParagraph
	cbz	w0, LBB0_52
; %bb.42:                               ;   in Loop: Header=BB0_35 Depth=1
	add	w8, w23, w28, lsl #15
	cmp	w8, w21
	b.hs	LBB0_44
; %bb.43:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	x8, [x19, #16]
	str	x8, [x19, #24]
LBB0_44:                                ;   in Loop: Header=BB0_35 Depth=1
	ldr	w8, [sp, #44]
	add	w23, w8, w23
	b	LBB0_49
LBB0_45:                                ;   in Loop: Header=BB0_35 Depth=1
	cmp	w1, #135
	b.ne	LBB0_48
; %bb.46:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_58
; %bb.47:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	w8, #1
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
	b	LBB0_49
LBB0_48:                                ;   in Loop: Header=BB0_35 Depth=1
Lloh34:
	adrp	x0, l_.str.17@PAGE
Lloh35:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_WINE_ERR
LBB0_49:                                ;   in Loop: Header=BB0_35 Depth=1
	ldr	w22, [x26, #8]
	mov	x0, x24
	mov	w1, #12
	bl	_GET_UINT
	mov	x25, x0
	cmp	w22, #16
	b.gt	LBB0_34
; %bb.50:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x0, x24
	mov	w1, #12
	bl	_GET_UINT
	cbz	w0, LBB0_58
; %bb.51:                               ;   in Loop: Header=BB0_35 Depth=1
	add	w27, w25, w27
	mov	x22, x28
	cmn	w27, #1
	b.ne	LBB0_35
	b	LBB0_58
LBB0_52:
Lloh36:
	adrp	x8, _FALSE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
LBB0_53:
	ldur	x8, [x29, #-96]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_59
; %bb.54:
	add	sp, sp, #1088
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_55:
Lloh42:
	adrp	x0, l_.str.15@PAGE
Lloh43:
	add	x0, x0, l_.str.15@PAGEOFF
	b	LBB0_57
LBB0_56:
Lloh44:
	adrp	x0, l_.str.16@PAGE
Lloh45:
	add	x0, x0, l_.str.16@PAGEOFF
LBB0_57:
	bl	_WINE_WARN
LBB0_58:
	ldr	w8, [x19, #12]
	str	w8, [x20, #4]
Lloh46:
	adrp	x1, l_.str.12@PAGE
Lloh47:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_HLPFILE_RtfAddControl
	b	LBB0_53
LBB0_59:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac"

l_.str.1:                               ; @.str.1
	.asciz	"Unsupported charset %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"{\\rtf1\\%s\\deff0"

l_.str.3:                               ; @.str.3
	.asciz	"{\\rtf1\\ansi\\ansicpg%d\\deff0"

l_.str.4:                               ; @.str.4
	.asciz	"{\\fonttbl"

l_.str.8:                               ; @.str.8
	.asciz	"script"

l_.str.10:                              ; @.str.10
	.asciz	"nil"

l_.str.11:                              ; @.str.11
	.asciz	"{\\f%d\\f%s\\fprq%d\\fcharset%d %s;}"

l_.str.12:                              ; @.str.12
	.asciz	"}"

l_.str.13:                              ; @.str.13
	.asciz	"{\\colortbl ;\\red0\\green128\\blue0;"

l_.str.14:                              ; @.str.14
	.asciz	"\\red%d\\green%d\\blue%d;"

l_.str.15:                              ; @.str.15
	.asciz	"maplen\n"

l_.str.16:                              ; @.str.16
	.asciz	"extra\n"

l_.str.17:                              ; @.str.17
	.asciz	"buf[0x14] = %x\n"

.subsections_via_symbols
