	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_Base14FontDef_New         ## -- Begin function HPDF_Base14FontDef_New
	.p2align	4, 0x90
_HPDF_Base14FontDef_New:                ## @HPDF_Base14FontDef_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
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_HPDF_Type1FontDef_New
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_HPDF_Base14FontDef_FindBuiltinData
	movl	32(%rax), %esi
	testl	%esi, %esi
	je	LBB0_7
## %bb.2:
	movq	%rax, %r14
	movq	(%rbx), %rdi
	movq	_HPDF_LIMIT_MAX_NAME_LEN@GOTPCREL(%rip), %r12
	movslq	(%r12), %rdx
	addq	%rdi, %rdx
	callq	_HPDF_StrCpy
	movq	40(%rbx), %rax
	movq	_HPDF_TRUE@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	%rcx, 8(%rax)
	cmpq	$0, 24(%r14)
	je	LBB0_4
## %bb.3:
	movq	(%rax), %rdi
	movq	_HPDF_ENCODING_FONT_SPECIFIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	(%r12), %rdx
	addq	%rdi, %rdx
	callq	_HPDF_StrCpy
LBB0_4:
	movl	20(%r14), %esi
	movq	%rbx, %rdi
	callq	_HPDF_Type1FontDef_SetWidths
	movq	_HPDF_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.5:
	movl	16(%r14), %eax
	movl	%eax, 32(%rbx)
	movups	(%r14), %xmm0
	movups	%xmm0, 16(%rbx)
	movq	(%r15), %rax
	movq	%rax, 8(%rbx)
	jmp	LBB0_10
LBB0_7:
	movl	(%r15), %edi
	movq	_HPDF_INVALID_FONT_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_HPDF_SetError
LBB0_8:
	movq	%rbx, %rdi
	callq	_HPDF_FontDef_Free
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HPDF_INVALID_FONT_NAME,4,2     ## @HPDF_INVALID_FONT_NAME
	.comm	_HPDF_LIMIT_MAX_NAME_LEN,4,2    ## @HPDF_LIMIT_MAX_NAME_LEN
	.comm	_HPDF_TRUE,8,3                  ## @HPDF_TRUE
	.comm	_HPDF_ENCODING_FONT_SPECIFIC,4,2 ## @HPDF_ENCODING_FONT_SPECIFIC
	.comm	_HPDF_OK,8,3                    ## @HPDF_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_Base14FontDef_New         ; -- Begin function HPDF_Base14FontDef_New
	.p2align	2
_HPDF_Base14FontDef_New:                ; @HPDF_Base14FontDef_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	x20, x1
	mov	x21, x0
	bl	_HPDF_Type1FontDef_New
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.1:
	mov	x0, x20
	bl	_HPDF_Base14FontDef_FindBuiltinData
	ldr	w1, [x0, #32]
	cbz	w1, LBB0_6
; %bb.2:
	mov	x20, x0
	ldr	x0, [x19]
Lloh0:
	adrp	x22, _HPDF_LIMIT_MAX_NAME_LEN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HPDF_LIMIT_MAX_NAME_LEN@GOTPAGEOFF]
	ldrsw	x8, [x22]
	add	x2, x0, x8
	bl	_HPDF_StrCpy
	ldr	x8, [x19, #40]
Lloh2:
	adrp	x21, _HPDF_TRUE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _HPDF_TRUE@GOTPAGEOFF]
	ldr	x9, [x21]
	str	x9, [x8, #8]
	ldr	x9, [x20, #24]
	cbz	x9, LBB0_4
; %bb.3:
	ldr	x0, [x8]
Lloh4:
	adrp	x8, _HPDF_ENCODING_FONT_SPECIFIC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HPDF_ENCODING_FONT_SPECIFIC@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldrsw	x8, [x22]
	add	x2, x0, x8
	bl	_HPDF_StrCpy
LBB0_4:
	ldr	w1, [x20, #20]
	mov	x0, x19
	bl	_HPDF_Type1FontDef_SetWidths
Lloh7:
	adrp	x8, _HPDF_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HPDF_OK@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.5:
	ldr	w8, [x20, #16]
	str	w8, [x19, #32]
	ldr	q0, [x20]
	str	q0, [x19, #16]
	ldr	x8, [x21]
	str	x8, [x19, #8]
	b	LBB0_8
LBB0_6:
	ldr	w0, [x21]
Lloh10:
	adrp	x8, _HPDF_INVALID_FONT_NAME@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HPDF_INVALID_FONT_NAME@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_HPDF_SetError
LBB0_7:
	mov	x0, x19
	bl	_HPDF_FontDef_Free
	mov	x19, #0
LBB0_8:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_HPDF_INVALID_FONT_NAME,4,2     ; @HPDF_INVALID_FONT_NAME
	.comm	_HPDF_LIMIT_MAX_NAME_LEN,4,2    ; @HPDF_LIMIT_MAX_NAME_LEN
	.comm	_HPDF_TRUE,8,3                  ; @HPDF_TRUE
	.comm	_HPDF_ENCODING_FONT_SPECIFIC,4,2 ; @HPDF_ENCODING_FONT_SPECIFIC
	.comm	_HPDF_OK,8,3                    ; @HPDF_OK
.subsections_via_symbols
