	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_CMapEncoder_InitAttr      ## -- Begin function HPDF_CMapEncoder_InitAttr
	.p2align	4, 0x90
_HPDF_CMapEncoder_InitAttr:             ## @HPDF_CMapEncoder_InitAttr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	cmpq	$0, 16(%r15)
	je	LBB0_2
## %bb.1:
	movq	_HPDF_INVALID_ENCODER@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movl	8(%r15), %edi
	movl	$4, %esi
	callq	_HPDF_GetMem
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, %r14
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_HPDF_MemSet
	movq	%r14, 16(%r15)
	movq	_HPDF_WMODE_HORIZONTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	(%r14), %r13
	leaq	L_.memset_pattern(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %rdi
	movl	$1024, %edx                     ## imm = 0x400
	movq	%r12, %rsi
	callq	_memset_pattern16
	incq	%rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_4
## %bb.5:
	movl	8(%r15), %edi
	movq	_HPDF_DEF_RANGE_TBL_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_HPDF_List_New
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movl	8(%r15), %edi
	movq	_HPDF_DEF_ITEMS_PER_BLOCK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_HPDF_List_New
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movl	8(%r15), %edi
	movl	(%rbx), %esi
	callq	_HPDF_List_New
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_HPDF_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	(%r15), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" HPDF_CMapEncoder_InitAttr\n"

	.comm	_HPDF_INVALID_ENCODER,4,2       ## @HPDF_INVALID_ENCODER
	.comm	_HPDF_WMODE_HORIZONTAL,4,2      ## @HPDF_WMODE_HORIZONTAL
	.comm	_HPDF_DEF_RANGE_TBL_NUM,4,2     ## @HPDF_DEF_RANGE_TBL_NUM
	.comm	_HPDF_DEF_ITEMS_PER_BLOCK,4,2   ## @HPDF_DEF_ITEMS_PER_BLOCK
	.comm	_HPDF_OK,4,2                    ## @HPDF_OK
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.long	9633                            ## 0x25a1
	.long	9633                            ## 0x25a1
	.long	9633                            ## 0x25a1
	.long	9633                            ## 0x25a1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_CMapEncoder_InitAttr      ; -- Begin function HPDF_CMapEncoder_InitAttr
	.p2align	2
_HPDF_CMapEncoder_InitAttr:             ; @HPDF_CMapEncoder_InitAttr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _HPDF_INVALID_ENCODER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HPDF_INVALID_ENCODER@GOTPAGEOFF]
	b	LBB0_10
LBB0_2:
	ldr	w0, [x19, #8]
	mov	w1, #4
	bl	_HPDF_GetMem
	cbz	x0, LBB0_9
; %bb.3:
	mov	x20, x0
	mov	w1, #0
	mov	w2, #4
	bl	_HPDF_MemSet
	mov	x22, #0
Lloh4:
	adrp	x8, _HPDF_WMODE_HORIZONTAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HPDF_WMODE_HORIZONTAL@GOTPAGEOFF]
	str	x20, [x19, #16]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x20, #32]
	ldr	x23, [x20]
Lloh7:
	adrp	x21, l_.memset_pattern@PAGE
Lloh8:
	add	x21, x21, l_.memset_pattern@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23, x22]
	mov	x1, x21
	mov	w2, #1024
	bl	_memset_pattern16
	add	x22, x22, #8
	cmp	x22, #2048
	b.ne	LBB0_4
; %bb.5:
	ldr	w0, [x19, #8]
Lloh9:
	adrp	x8, _HPDF_DEF_RANGE_TBL_NUM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HPDF_DEF_RANGE_TBL_NUM@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_HPDF_List_New
	str	x0, [x20, #24]
	cbz	x0, LBB0_9
; %bb.6:
	ldr	w0, [x19, #8]
Lloh12:
	adrp	x21, _HPDF_DEF_ITEMS_PER_BLOCK@GOTPAGE
Lloh13:
	ldr	x21, [x21, _HPDF_DEF_ITEMS_PER_BLOCK@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_HPDF_List_New
	str	x0, [x20, #16]
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w0, [x19, #8]
	ldr	w1, [x21]
	bl	_HPDF_List_New
	str	x0, [x20, #8]
	cbz	x0, LBB0_9
; %bb.8:
Lloh14:
	adrp	x8, _HPDF_OK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HPDF_OK@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
	ldr	x8, [x19]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_CMapEncoder_InitAttr\n"

	.comm	_HPDF_INVALID_ENCODER,4,2       ; @HPDF_INVALID_ENCODER
	.comm	_HPDF_WMODE_HORIZONTAL,4,2      ; @HPDF_WMODE_HORIZONTAL
	.comm	_HPDF_DEF_RANGE_TBL_NUM,4,2     ; @HPDF_DEF_RANGE_TBL_NUM
	.comm	_HPDF_DEF_ITEMS_PER_BLOCK,4,2   ; @HPDF_DEF_ITEMS_PER_BLOCK
	.comm	_HPDF_OK,4,2                    ; @HPDF_OK
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.long	9633                            ; 0x25a1
	.long	9633                            ; 0x25a1
	.long	9633                            ; 0x25a1
	.long	9633                            ; 0x25a1

.subsections_via_symbols
