	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CIDFontType2_BeforeWrite_Func
_CIDFontType2_BeforeWrite_Func:         ## @CIDFontType2_BeforeWrite_Func
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movslq	16(%rdi), %r13
	movq	(%r13), %rbx
	movslq	36(%rbx), %r12
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	movq	32(%r13), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	8(%r14), %ecx
	movl	%ecx, (%rax)
LBB0_2:
	movq	24(%r13), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	8(%r14), %ecx
	movl	%ecx, (%rax)
LBB0_4:
	movq	(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
LBB0_13:
	movq	(%r12), %rdx
	leaq	L_.str.15(%rip), %rsi
	movq	%r14, %rdi
	callq	_HPDF_Dict_AddName
	movq	_HPDF_OK@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_15
## %bb.14:
	movq	8(%r13), %rdi
	movq	(%r12), %rdx
	leaq	L_.str.15(%rip), %rsi
	callq	_HPDF_Dict_AddName
	cmpq	(%r14), %rax
	jne	LBB0_15
## %bb.17:
	movq	(%r13), %rax
	movq	8(%r13), %rdi
	movq	(%rax), %rdx
	leaq	L_.str.6(%rip), %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_HPDF_Dict_Add                  ## TAILCALL
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	4(%r14), %edi
	callq	_HPDF_Dict_New
	testq	%rax, %rax
	je	LBB0_16
## %bb.6:
	cmpq	$0, 16(%r12)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.8:
	movl	4(%r14), %edi
	movl	16(%r13), %esi
	callq	_HPDF_DictStream_New
	testq	%rax, %rax
	je	LBB0_16
## %bb.9:
	movq	%rax, %r15
	movq	(%r13), %rdi
	movl	12(%rax), %esi
	callq	_HPDF_TTFontDef_SaveFontData
	movq	_HPDF_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_HPDF_Dict_Add
	movq	%rax, %rbx
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	8(%r12), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_HPDF_Dict_AddNumber
	movq	%rax, %r12
	addq	%rbx, %r12
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_HPDF_Dict_AddNumber
	movq	%rax, %rbx
	addq	%r12, %rbx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_HPDF_Dict_AddNumber
	movq	%rax, %r12
	addq	%rbx, %r12
	movl	8(%r14), %eax
	movl	%eax, 8(%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	_HPDF_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r12
	je	LBB0_11
	jmp	LBB0_16
LBB0_7:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
LBB0_11:
	movl	16(%r13), %edi
	movq	%rax, %rsi
	movq	%rax, %rbx
	callq	_HPDF_Xref_Add
	movq	%rax, %r15
	addq	%r12, %r15
	leaq	L_.str.5(%rip), %rsi
	leaq	L_.str.6(%rip), %rdx
	movq	%rbx, %rdi
	callq	_HPDF_Dict_AddName
	movq	%rax, %r12
	addq	%r15, %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	32(%rax), %edx
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_HPDF_Dict_AddNumber
	movq	%rax, %r15
	addq	%r12, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	28(%rax), %edx
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_HPDF_Dict_AddNumber
	movq	%rax, %r12
	addq	%r15, %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	24(%rbx), %edx
	leaq	L_.str.9(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_HPDF_Dict_AddNumber
	movq	%rax, %r15
	addq	%r12, %r15
	movl	4(%r14), %edi
	movl	20(%rbx), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	callq	_HPDF_Box_Array_New
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_HPDF_Dict_Add
	movq	%rax, %r12
	addq	%r15, %r12
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	callq	_HPDF_Dict_AddName
	movq	%rax, %r15
	addq	%r12, %r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	16(%rbx), %edx
	leaq	L_.str.12(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_HPDF_Dict_AddNumber
	movq	%rax, %r12
	addq	%r15, %r12
	movl	12(%rbx), %edx
	leaq	L_.str.13(%rip), %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_HPDF_Dict_AddNumber
	movq	%rax, %r15
	addq	%r12, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edx
	leaq	L_.str.14(%rip), %rsi
	movq	%rbx, %rdi
	callq	_HPDF_Dict_AddNumber
	addq	%r15, %rax
	movq	_HPDF_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.12:
	movq	(%r13), %rax
	movq	%rbx, (%rax)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_16:
	movl	(%r14), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_HPDF_Error_GetCode             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" CIDFontType2_BeforeWrite_Func\n"

	.comm	_HPDF_OK,8,3                    ## @HPDF_OK
L_.str.1:                               ## @.str.1
	.asciz	"FontFile2"

L_.str.2:                               ## @.str.2
	.asciz	"Length1"

L_.str.3:                               ## @.str.3
	.asciz	"Length2"

L_.str.4:                               ## @.str.4
	.asciz	"Length3"

L_.str.5:                               ## @.str.5
	.asciz	"Type"

L_.str.6:                               ## @.str.6
	.asciz	"FontDescriptor"

L_.str.7:                               ## @.str.7
	.asciz	"Ascent"

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

L_.str.9:                               ## @.str.9
	.asciz	"Flags"

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

L_.str.11:                              ## @.str.11
	.asciz	"FontName"

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

L_.str.13:                              ## @.str.13
	.asciz	"StemV"

L_.str.14:                              ## @.str.14
	.asciz	"XHeight"

L_.str.15:                              ## @.str.15
	.asciz	"BaseFont"

	.no_dead_strip	_CIDFontType2_BeforeWrite_Func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CIDFontType2_BeforeWrite_Func
_CIDFontType2_BeforeWrite_Func:         ; @CIDFontType2_BeforeWrite_Func
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldrsw	x23, [x0, #16]
	ldr	x25, [x23]
	ldrsw	x24, [x25, #36]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	ldr	x8, [x23, #32]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w9, [x19, #8]
	str	w9, [x8]
LBB0_2:
	ldr	x8, [x23, #24]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w9, [x19, #8]
	str	w9, [x8]
LBB0_4:
	ldr	x8, [x23]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
LBB0_5:
	ldr	x2, [x24]
Lloh2:
	adrp	x1, l_.str.15@PAGE
Lloh3:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x19
	bl	_HPDF_Dict_AddName
Lloh4:
	adrp	x19, _HPDF_OK@GOTPAGE
Lloh5:
	ldr	x19, [x19, _HPDF_OK@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.6:
	ldr	x0, [x23, #8]
	ldr	x2, [x24]
Lloh6:
	adrp	x1, l_.str.15@PAGE
Lloh7:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_HPDF_Dict_AddName
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x8, x0, [x23]
	ldr	x2, [x8]
Lloh8:
	adrp	x1, l_.str.6@PAGE
Lloh9:
	add	x1, x1, l_.str.6@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_HPDF_Dict_Add
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	w0, [x19, #4]
	bl	_HPDF_Dict_New
	cbz	x0, LBB0_17
; %bb.10:
	mov	x20, x0
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_14
; %bb.11:
	ldr	w0, [x19, #4]
	ldr	w1, [x23, #16]
	bl	_HPDF_DictStream_New
	cbz	x0, LBB0_17
; %bb.12:
	mov	x21, x0
	ldr	x0, [x23]
	ldr	w1, [x21, #12]
	bl	_HPDF_TTFontDef_SaveFontData
Lloh10:
	adrp	x26, _HPDF_OK@GOTPAGE
Lloh11:
	ldr	x26, [x26, _HPDF_OK@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_17
; %bb.13:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_HPDF_Dict_Add
	mov	x22, x0
	ldr	w2, [x24, #8]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_HPDF_Dict_AddNumber
	add	x22, x0, x22
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_HPDF_Dict_AddNumber
	add	x22, x22, x0
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_HPDF_Dict_AddNumber
	ldr	w8, [x19, #8]
	str	w8, [x21, #8]
	ldr	x8, [x26]
	add	x21, x22, x0
	cmp	x21, x8
	b.eq	LBB0_15
	b	LBB0_17
LBB0_14:
	mov	x21, #0
LBB0_15:
	ldr	w0, [x23, #16]
	mov	x1, x20
	bl	_HPDF_Xref_Add
	add	x21, x0, x21
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
Lloh22:
	adrp	x2, l_.str.6@PAGE
Lloh23:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_HPDF_Dict_AddName
	add	x21, x21, x0
	ldr	w2, [x25, #32]
Lloh24:
	adrp	x1, l_.str.7@PAGE
Lloh25:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_HPDF_Dict_AddNumber
	add	x21, x21, x0
	ldr	w2, [x25, #28]
Lloh26:
	adrp	x1, l_.str.8@PAGE
Lloh27:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_HPDF_Dict_AddNumber
	add	x21, x21, x0
	ldr	w2, [x25, #24]
Lloh28:
	adrp	x1, l_.str.9@PAGE
Lloh29:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_HPDF_Dict_AddNumber
	add	x21, x21, x0
	ldr	w0, [x19, #4]
	ldr	w1, [x25, #20]
	bl	_HPDF_Box_Array_New
	mov	x2, x0
Lloh30:
	adrp	x1, l_.str.10@PAGE
Lloh31:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_HPDF_Dict_Add
	add	x21, x21, x0
	ldr	x2, [x24]
Lloh32:
	adrp	x1, l_.str.11@PAGE
Lloh33:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_HPDF_Dict_AddName
	add	x21, x21, x0
	ldr	w2, [x25, #16]
Lloh34:
	adrp	x1, l_.str.12@PAGE
Lloh35:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_HPDF_Dict_AddNumber
	add	x21, x21, x0
	ldr	w2, [x25, #12]
Lloh36:
	adrp	x1, l_.str.13@PAGE
Lloh37:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_HPDF_Dict_AddNumber
	add	x21, x21, x0
	ldr	w2, [x25, #8]
Lloh38:
	adrp	x1, l_.str.14@PAGE
Lloh39:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x20
	bl	_HPDF_Dict_AddNumber
Lloh40:
	adrp	x8, _HPDF_OK@GOTPAGE
Lloh41:
	ldr	x8, [x8, _HPDF_OK@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	add	x9, x21, x0
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	ldr	x8, [x23]
	str	x20, [x8]
	b	LBB0_5
LBB0_17:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_HPDF_Error_GetCode
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" CIDFontType2_BeforeWrite_Func\n"

	.comm	_HPDF_OK,8,3                    ; @HPDF_OK
l_.str.1:                               ; @.str.1
	.asciz	"FontFile2"

l_.str.2:                               ; @.str.2
	.asciz	"Length1"

l_.str.3:                               ; @.str.3
	.asciz	"Length2"

l_.str.4:                               ; @.str.4
	.asciz	"Length3"

l_.str.5:                               ; @.str.5
	.asciz	"Type"

l_.str.6:                               ; @.str.6
	.asciz	"FontDescriptor"

l_.str.7:                               ; @.str.7
	.asciz	"Ascent"

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

l_.str.9:                               ; @.str.9
	.asciz	"Flags"

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

l_.str.11:                              ; @.str.11
	.asciz	"FontName"

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

l_.str.13:                              ; @.str.13
	.asciz	"StemV"

l_.str.14:                              ; @.str.14
	.asciz	"XHeight"

l_.str.15:                              ; @.str.15
	.asciz	"BaseFont"

	.no_dead_strip	_CIDFontType2_BeforeWrite_Func
.subsections_via_symbols
