	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Type1Font_OnWrite
_Type1Font_OnWrite:                     ## @Type1Font_OnWrite
	.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
	movl	%esi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movslq	(%rdi), %rcx
	movq	8(%rcx), %rax
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rcx), %rcx
	movslq	(%rcx), %r14
	movslq	8(%rax), %r12
	movq	_HPDF_TMP_BUF_SIZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	movl	%ebx, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	cmpl	$0, (%r14)
	movl	%r13d, %r14d
	je	LBB0_2
## %bb.1:
	cmpq	$0, 16(%r12)
	je	LBB0_12
LBB0_2:
	addq	%r15, %rbx
	decq	%rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_HPDF_StrCpy
	movq	(%r12), %rsi
	movq	%rax, %rdi
	movq	%rbx, %rdx
	callq	_HPDF_IToA
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdi
	movq	%rbx, %rdx
	callq	_HPDF_StrCpy
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_HPDF_Stream_WriteStr
	movq	_HPDF_OK@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	jne	LBB0_13
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_HPDF_StrCpy
	movq	8(%r12), %rsi
	movq	%rax, %rdi
	movq	%rbx, %rdx
	callq	_HPDF_IToA
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdi
	movq	%rbx, %rdx
	callq	_HPDF_StrCpy
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_HPDF_Stream_WriteStr
	cmpl	(%r13), %eax
	jne	LBB0_13
## %bb.4:
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edi
	callq	_HPDF_Stream_WriteEscapeName
	cmpl	(%r13), %eax
	jne	LBB0_13
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	movl	%r14d, %edi
	callq	_HPDF_Stream_WriteStr
	cmpl	(%r13), %eax
	jne	LBB0_13
## %bb.6:
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movq	(%r12), %r14
	movq	%r15, %rdi
	cmpq	8(%r12), %r14
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jbe	LBB0_7
LBB0_11:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdx
	callq	_HPDF_StrCpy
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_HPDF_Stream_WriteStr
	movq	_HPDF_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
LBB0_12:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	movl	%r14d, %esi
	callq	*(%rdi)
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r15, %rdi
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	8(%r12), %r14
	ja	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax,%r14,8), %rsi
	movq	%rbx, %rdx
	callq	_HPDF_IToA
	movq	%rax, %rdi
	movb	$32, (%rax)
	incq	%rdi
	incq	%r14
	testb	$15, %r14b
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	callq	_HPDF_StrCpy
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%r15, %rsi
	callq	_HPDF_Stream_WriteStr
	movq	%r15, %rdi
	movq	_HPDF_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_10
	jmp	LBB0_13
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HPDF_TMP_BUF_SIZ,4,2           ## @HPDF_TMP_BUF_SIZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" HPDF_Font_Type1Font_OnWrite\n"

L_.str.1:                               ## @.str.1
	.asciz	"/FirstChar "

L_.str.2:                               ## @.str.2
	.asciz	"\n"

	.comm	_HPDF_OK,4,2                    ## @HPDF_OK
L_.str.3:                               ## @.str.3
	.asciz	"/LastChar "

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

L_.str.5:                               ## @.str.5
	.asciz	" [\n"

L_.str.6:                               ## @.str.6
	.asciz	"]\n"

	.no_dead_strip	_Type1Font_OnWrite
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Type1Font_OnWrite
_Type1Font_OnWrite:                     ; @Type1Font_OnWrite
	.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, #16
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldrsw	x23, [x0]
	ldp	x9, x8, [x23, #8]
	ldrsw	x22, [x8]
	ldrsw	x24, [x9, #8]
Lloh3:
	adrp	x8, _HPDF_TMP_BUF_SIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HPDF_TMP_BUF_SIZ@GOTPAGEOFF]
Lloh5:
	ldrsw	x21, [x8]
	and	x8, x21, #0xffffffff
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	ldr	w8, [x22]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_8
LBB0_2:
	add	x8, x20, x21
	sub	x21, x8, #1
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_HPDF_StrCpy
	ldr	x1, [x24]
	mov	x2, x21
	bl	_HPDF_IToA
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_HPDF_StrCpy
	mov	x0, x19
	mov	x1, x20
	bl	_HPDF_Stream_WriteStr
Lloh14:
	adrp	x25, _HPDF_OK@GOTPAGE
Lloh15:
	ldr	x25, [x25, _HPDF_OK@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.3:
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_HPDF_StrCpy
	ldr	x1, [x24, #8]
	mov	x2, x21
	bl	_HPDF_IToA
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_HPDF_StrCpy
	mov	x0, x19
	mov	x1, x20
	bl	_HPDF_Stream_WriteStr
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.4:
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_HPDF_Stream_WriteEscapeName
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.5:
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_HPDF_Stream_WriteStr
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.6:
	ldp	x26, x9, [x24]
	mov	x8, x20
	cmp	x26, x9
	b.ls	LBB0_11
LBB0_7:
Lloh24:
	adrp	x1, l_.str.6@PAGE
Lloh25:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x8
	mov	x2, x21
	bl	_HPDF_StrCpy
	mov	x0, x19
	mov	x1, x20
	bl	_HPDF_Stream_WriteStr
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_9
LBB0_8:
	ldr	x0, [x23, #8]
	ldr	x8, [x0]
	mov	x1, x19
	blr	x8
LBB0_9:
	ldur	x8, [x29, #-88]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.10:
	sub	sp, x29, #80
	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_11:
	mov	w27, #32
Lloh29:
	adrp	x22, l_.str.2@PAGE
Lloh30:
	add	x22, x22, l_.str.2@PAGEOFF
	mov	x8, x20
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x9, [x24, #8]
	cmp	x26, x9
	b.hi	LBB0_7
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	ldr	x1, [x9, x26, lsl #3]
	mov	x0, x8
	mov	x2, x21
	bl	_HPDF_IToA
	mov	x8, x0
	strb	w27, [x8], #1
	add	x26, x26, #1
	tst	x26, #0xf
	b.ne	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x8
	mov	x1, x22
	mov	x2, x21
	bl	_HPDF_StrCpy
	mov	x0, x19
	mov	x1, x20
	bl	_HPDF_Stream_WriteStr
	ldr	w9, [x25]
	mov	x8, x20
	cmp	w0, w9
	b.eq	LBB0_12
	b	LBB0_9
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_HPDF_TMP_BUF_SIZ,4,2           ; @HPDF_TMP_BUF_SIZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_Font_Type1Font_OnWrite\n"

l_.str.1:                               ; @.str.1
	.asciz	"/FirstChar "

l_.str.2:                               ; @.str.2
	.asciz	"\n"

	.comm	_HPDF_OK,4,2                    ; @HPDF_OK
l_.str.3:                               ; @.str.3
	.asciz	"/LastChar "

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

l_.str.5:                               ; @.str.5
	.asciz	" [\n"

l_.str.6:                               ; @.str.6
	.asciz	"]\n"

	.no_dead_strip	_Type1Font_OnWrite
.subsections_via_symbols
