	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ParseHmtx
_ParseHmtx:                             ## @ParseHmtx
	.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, %r14
	movslq	8(%rdi), %r15
	leaq	L_.str(%rip), %rsi
	callq	_FindTable
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	_HPDF_PTRACE
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.1:
	movl	8(%r15), %edi
	movl	(%rbx), %esi
	movq	_HPDF_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_HPDF_Stream_Seek
	movq	_HPDF_OK@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_15
## %bb.2:
	movl	4(%r14), %edi
	movl	(%r15), %esi
	shll	$3, %esi
	callq	_HPDF_GetMem
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	cmpl	$0, 4(%r15)
	jle	LBB0_4
## %bb.9:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%r15), %edi
	leaq	4(%rbx), %rsi
	callq	_GetUINT16
	cmpq	(%r12), %rax
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	8(%r15), %edi
	movq	%rbx, %rsi
	callq	_GetINT16
	cmpq	(%r12), %rax
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movslq	(%rbx), %rdi
	callq	_HPDF_PTRACE
	addq	$8, %rbx
	incl	%r14d
	cmpl	4(%r15), %r14d
	jl	LBB0_10
## %bb.6:
	movl	-4(%rbx), %r13d
	cmpl	(%r15), %r14d
	jl	LBB0_13
LBB0_8:
	movq	(%r12), %rax
	jmp	LBB0_15
LBB0_16:
	movl	(%r14), %edi
	movq	_HPDF_TTF_MISSING_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$7, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_HPDF_SetError                  ## TAILCALL
LBB0_5:
	movl	(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_HPDF_Error_GetCode             ## TAILCALL
LBB0_4:
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	cmpl	(%r15), %r14d
	jge	LBB0_8
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	%r13d, 4(%rbx)
	movl	8(%r15), %edi
	movq	%rbx, %rsi
	callq	_GetINT16
	cmpq	(%r12), %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	addq	$8, %rbx
	incl	%r14d
	cmpl	(%r15), %r14d
	jl	LBB0_13
LBB0_15:
	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	"hmtx"

L_.str.1:                               ## @.str.1
	.asciz	" HPDF_TTFontDef_ParseHtmx\n"

	.comm	_HPDF_TTF_MISSING_TABLE,4,2     ## @HPDF_TTF_MISSING_TABLE
	.comm	_HPDF_SEEK_SET,4,2              ## @HPDF_SEEK_SET
	.comm	_HPDF_OK,8,3                    ## @HPDF_OK
	.no_dead_strip	_ParseHmtx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ParseHmtx
_ParseHmtx:                             ; @ParseHmtx
	.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	x20, x0
	ldrsw	x21, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_FindTable
	mov	x19, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_HPDF_PTRACE
	cbz	x19, LBB0_9
; %bb.1:
	ldr	w0, [x21, #8]
	ldr	w1, [x19]
Lloh4:
	adrp	x8, _HPDF_SEEK_SET@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HPDF_SEEK_SET@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	bl	_HPDF_Stream_Seek
Lloh7:
	adrp	x22, _HPDF_OK@GOTPAGE
Lloh8:
	ldr	x22, [x22, _HPDF_OK@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.2:
	ldr	w0, [x20, #4]
	ldr	w8, [x21]
	lsl	w1, w8, #3
	bl	_HPDF_GetMem
	str	x0, [x21, #16]
	cbz	x0, LBB0_10
; %bb.3:
	mov	x19, x0
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.4:
	mov	w20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, #8]
	add	x1, x19, #4
	bl	_GetUINT16
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21, #8]
	mov	x1, x19
	bl	_GetINT16
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x0, [x19], #8
	bl	_HPDF_PTRACE
	add	w20, w20, #1
	ldr	w8, [x21, #4]
	cmp	w20, w8
	b.lt	LBB0_5
; %bb.8:
	ldur	w23, [x19, #-4]
	b	LBB0_12
LBB0_9:
	ldr	w0, [x20]
Lloh9:
	adrp	x8, _HPDF_TTF_MISSING_TABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HPDF_TTF_MISSING_TABLE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w2, #7
	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
	b	_HPDF_SetError
LBB0_10:
	ldr	w0, [x20]
	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
	b	_HPDF_Error_GetCode
LBB0_11:
	mov	w20, #0
	mov	w23, #0
LBB0_12:
	ldr	w8, [x21]
	cmp	w20, w8
	b.ge	LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	str	w23, [x19, #4]
	ldr	w0, [x21, #8]
	mov	x1, x19
	bl	_GetINT16
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x19, x19, #8
	add	w20, w20, #1
	ldr	w8, [x21]
	cmp	w20, w8
	b.lt	LBB0_13
	b	LBB0_16
LBB0_15:
	ldr	x0, [x22]
LBB0_16:
	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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hmtx"

l_.str.1:                               ; @.str.1
	.asciz	" HPDF_TTFontDef_ParseHtmx\n"

	.comm	_HPDF_TTF_MISSING_TABLE,4,2     ; @HPDF_TTF_MISSING_TABLE
	.comm	_HPDF_SEEK_SET,4,2              ; @HPDF_SEEK_SET
	.comm	_HPDF_OK,8,3                    ; @HPDF_OK
	.no_dead_strip	_ParseHmtx
.subsections_via_symbols
