	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_CIDFontDef_New            ## -- Begin function HPDF_CIDFontDef_New
	.p2align	4, 0x90
_HPDF_CIDFontDef_New:                   ## @HPDF_CIDFontDef_New
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	testq	%r14, %r14
	je	LBB0_10
## %bb.1:
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_HPDF_GetMem
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_HPDF_MemSet
	movq	_HPDF_FONTDEF_SIG_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	64(%rbx), %rdi
	movq	_HPDF_LIMIT_MAX_NAME_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%rdi, %rdx
	movq	%r12, %rsi
	callq	_HPDF_StrCpy
	movq	%r14, 16(%rbx)
	movl	(%r14), %eax
	movl	%eax, 56(%rbx)
	movq	_HPDF_FONTDEF_TYPE_UNINITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_HPDF_CIDFontDef_FreeFunc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movl	%r15d, 44(%rbx)
	movq	_HPDF_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_HPDF_GetMem
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %r15
	movq	%rax, 32(%rbx)
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_HPDF_MemSet
	movq	_HPDF_DEF_CHAR_WIDTHS_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_HPDF_List_New
	movl	%eax, 24(%r15)
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movl	$500, (%rbx)                    ## imm = 0x1F4
	movl	$1000, 4(%r15)                  ## imm = 0x3E8
	movq	8(%r15), %rax
	movabsq	$-4294967295120, %rcx           ## imm = 0xFFFFFC1800000370
	movq	%rcx, (%rax)
	jmp	LBB0_11
LBB0_7:
	movq	16(%rbx), %rdi
	movq	%rbx, %rsi
	jmp	LBB0_9
LBB0_8:
	movq	16(%rbx), %rdi
	movq	%rbx, %rsi
	callq	_HPDF_FreeMem
	movq	16(%rbx), %rdi
	movq	%r15, %rsi
LBB0_9:
	callq	_HPDF_FreeMem
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" HPDF_CIDFontDef_New\n"

	.comm	_HPDF_FONTDEF_SIG_BYTES,4,2     ## @HPDF_FONTDEF_SIG_BYTES
	.comm	_HPDF_LIMIT_MAX_NAME_LEN,8,3    ## @HPDF_LIMIT_MAX_NAME_LEN
	.comm	_HPDF_FONTDEF_TYPE_UNINITIALIZED,4,2 ## @HPDF_FONTDEF_TYPE_UNINITIALIZED
	.comm	_HPDF_CIDFontDef_FreeFunc,4,2   ## @HPDF_CIDFontDef_FreeFunc
	.comm	_HPDF_FALSE,4,2                 ## @HPDF_FALSE
	.comm	_HPDF_DEF_CHAR_WIDTHS_NUM,4,2   ## @HPDF_DEF_CHAR_WIDTHS_NUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function HPDF_CIDFontDef_New
lCPI0_0:
	.long	880                             ; 0x370
	.long	4294966296                      ; 0xfffffc18
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_HPDF_CIDFontDef_New
	.p2align	2
_HPDF_CIDFontDef_New:                   ; @HPDF_CIDFontDef_New
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	cbz	x20, LBB0_8
; %bb.1:
	mov	x0, x20
	mov	w1, #4
	bl	_HPDF_GetMem
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_HPDF_MemSet
Lloh2:
	adrp	x8, _HPDF_FONTDEF_SIG_BYTES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HPDF_FONTDEF_SIG_BYTES@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #72]
	ldr	x0, [x19, #64]
Lloh5:
	adrp	x8, _HPDF_LIMIT_MAX_NAME_LEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HPDF_LIMIT_MAX_NAME_LEN@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	add	x2, x8, x0
	mov	x1, x22
	bl	_HPDF_StrCpy
	str	x20, [x19, #16]
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _HPDF_FONTDEF_TYPE_UNINITIALIZED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _HPDF_FONTDEF_TYPE_UNINITIALIZED@GOTPAGEOFF]
	str	w8, [x19, #56]
Lloh10:
	ldr	w8, [x9]
Lloh11:
	adrp	x9, _HPDF_CIDFontDef_FreeFunc@GOTPAGE
Lloh12:
	ldr	x9, [x9, _HPDF_CIDFontDef_FreeFunc@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #48]
Lloh14:
	adrp	x8, _HPDF_FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HPDF_FALSE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	stp	w8, w21, [x19, #40]
	mov	x0, x20
	mov	w1, #4
	bl	_HPDF_GetMem
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, x0
	str	x0, [x19, #32]
	mov	w1, #0
	mov	w2, #4
	bl	_HPDF_MemSet
Lloh17:
	adrp	x8, _HPDF_DEF_CHAR_WIDTHS_NUM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _HPDF_DEF_CHAR_WIDTHS_NUM@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_HPDF_List_New
	str	w0, [x21, #24]
	cbz	w0, LBB0_6
; %bb.4:
	mov	w8, #500
	str	w8, [x19]
	mov	w8, #1000
	str	w8, [x21, #4]
	ldr	x8, [x21, #8]
Lloh20:
	adrp	x9, lCPI0_0@PAGE
Lloh21:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8]
	b	LBB0_9
LBB0_5:
	ldr	x0, [x19, #16]
	mov	x1, x19
	b	LBB0_7
LBB0_6:
	ldr	x0, [x19, #16]
	mov	x1, x19
	bl	_HPDF_FreeMem
	ldr	x0, [x19, #16]
	mov	x1, x21
LBB0_7:
	bl	_HPDF_FreeMem
LBB0_8:
	mov	x19, #0
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdr	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_CIDFontDef_New\n"

	.comm	_HPDF_FONTDEF_SIG_BYTES,4,2     ; @HPDF_FONTDEF_SIG_BYTES
	.comm	_HPDF_LIMIT_MAX_NAME_LEN,8,3    ; @HPDF_LIMIT_MAX_NAME_LEN
	.comm	_HPDF_FONTDEF_TYPE_UNINITIALIZED,4,2 ; @HPDF_FONTDEF_TYPE_UNINITIALIZED
	.comm	_HPDF_CIDFontDef_FreeFunc,4,2   ; @HPDF_CIDFontDef_FreeFunc
	.comm	_HPDF_FALSE,4,2                 ; @HPDF_FALSE
	.comm	_HPDF_DEF_CHAR_WIDTHS_NUM,4,2   ; @HPDF_DEF_CHAR_WIDTHS_NUM
.subsections_via_symbols
