	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_CMapEncoder_ByteType      ## -- Begin function HPDF_CMapEncoder_ByteType
	.p2align	4, 0x90
_HPDF_CMapEncoder_ByteType:             ## @HPDF_CMapEncoder_ByteType
	.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, %rbx
	movq	%rdi, %r14
	movslq	(%rdi), %r12
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	jae	LBB0_1
## %bb.2:
	movq	16(%rbx), %rcx
	movq	_HPDF_BYTE_TYPE_LEAD@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rcx
	jne	LBB0_6
## %bb.3:
	movq	24(%rbx), %rcx
	movl	(%rcx,%rax,4), %esi
	movq	%r14, %rdi
	callq	*8(%r12)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movq	_HPDF_BYTE_TYPE_UNKNOWN@GOTPCREL(%rip), %r15
	jmp	LBB0_8
LBB0_1:
	movq	_HPDF_BYTE_TYPE_UNKNOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_9
LBB0_6:
	movq	24(%rbx), %rcx
	movl	(%rcx,%rax,4), %esi
	movq	%r14, %rdi
	callq	*(%r12)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_HPDF_BYTE_TYPE_SINGLE@GOTPCREL(%rip), %r15
	jmp	LBB0_8
LBB0_4:
	movq	_HPDF_BYTE_TYPE_TRIAL@GOTPCREL(%rip), %r15
LBB0_8:
	movq	(%r15), %rax
	movq	%rax, 16(%rbx)
	incq	(%rbx)
LBB0_9:
	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_CMapEncoder_ByteType\n"

	.comm	_HPDF_BYTE_TYPE_UNKNOWN,8,3     ## @HPDF_BYTE_TYPE_UNKNOWN
	.comm	_HPDF_BYTE_TYPE_LEAD,8,3        ## @HPDF_BYTE_TYPE_LEAD
	.comm	_HPDF_BYTE_TYPE_TRIAL,8,3       ## @HPDF_BYTE_TYPE_TRIAL
	.comm	_HPDF_BYTE_TYPE_SINGLE,8,3      ## @HPDF_BYTE_TYPE_SINGLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_CMapEncoder_ByteType      ; -- Begin function HPDF_CMapEncoder_ByteType
	.p2align	2
_HPDF_CMapEncoder_ByteType:             ; @HPDF_CMapEncoder_ByteType
	.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	x19, x1
	mov	x20, x0
	ldrsw	x21, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	ldp	x8, x9, [x19]
	cmp	x8, x9
	b.hs	LBB0_3
; %bb.1:
	ldr	x9, [x19, #16]
Lloh2:
	adrp	x22, _HPDF_BYTE_TYPE_LEAD@GOTPAGE
Lloh3:
	ldr	x22, [x22, _HPDF_BYTE_TYPE_LEAD@GOTPAGEOFF]
	ldr	x10, [x22]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.2:
	ldr	x9, [x21, #8]
	ldr	x10, [x19, #24]
	ldr	w1, [x10, x8, lsl #2]
	mov	x0, x20
	blr	x9
Lloh4:
	adrp	x8, _HPDF_BYTE_TYPE_TRIAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HPDF_BYTE_TYPE_TRIAL@GOTPAGEOFF]
Lloh6:
	adrp	x9, _HPDF_BYTE_TYPE_UNKNOWN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HPDF_BYTE_TYPE_UNKNOWN@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _HPDF_BYTE_TYPE_UNKNOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HPDF_BYTE_TYPE_UNKNOWN@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
	b	LBB0_6
LBB0_4:
	ldr	x9, [x21]
	ldr	x10, [x19, #24]
	ldr	w1, [x10, x8, lsl #2]
	mov	x0, x20
	blr	x9
Lloh11:
	adrp	x8, _HPDF_BYTE_TYPE_SINGLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HPDF_BYTE_TYPE_SINGLE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x22, eq
LBB0_5:
	ldr	x0, [x8]
	str	x0, [x19, #16]
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
LBB0_6:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_CMapEncoder_ByteType\n"

	.comm	_HPDF_BYTE_TYPE_UNKNOWN,8,3     ; @HPDF_BYTE_TYPE_UNKNOWN
	.comm	_HPDF_BYTE_TYPE_LEAD,8,3        ; @HPDF_BYTE_TYPE_LEAD
	.comm	_HPDF_BYTE_TYPE_TRIAL,8,3       ; @HPDF_BYTE_TYPE_TRIAL
	.comm	_HPDF_BYTE_TYPE_SINGLE,8,3      ; @HPDF_BYTE_TYPE_SINGLE
.subsections_via_symbols
