	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UTF8_Encoder_ByteType_Func
_UTF8_Encoder_ByteType_Func:            ## @UTF8_Encoder_ByteType_Func
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	movq	(%rsi), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdi
	callq	_HPDF_PTRACE
	movl	$0, (%r14)
	movq	(%rbx), %rax
LBB0_2:
	movq	8(%rbx), %rcx
	movl	(%rcx,%rax,4), %r15d
	incq	%rax
	movq	%rax, (%rbx)
	movslq	%r15d, %rdi
	callq	_HPDF_PTRACE
	movslq	(%r14), %rax
	movq	8(%r14), %rcx
	testq	%rax, %rax
	je	LBB0_3
## %bb.12:
	movl	%r15d, (%rcx,%rax,4)
	movl	(%r14), %eax
	cmpl	16(%r14), %eax
	jne	LBB0_14
## %bb.13:
	movl	$0, (%r14)
	movq	_HPDF_BYTE_TYPE_SINGLE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_3:
	movl	%r15d, (%rcx)
	movl	$1, (%r14)
	testb	$-128, %r15b
	jne	LBB0_5
## %bb.4:
	movl	$0, (%r14)
	movl	$0, 16(%r14)
	movq	_HPDF_BYTE_TYPE_SINGLE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_14:
	incl	%eax
	movl	%eax, (%r14)
	jmp	LBB0_15
LBB0_5:
	movl	%r15d, %eax
	andl	$248, %eax
	cmpl	$240, %eax
	jne	LBB0_7
## %bb.6:
	movl	$3, 16(%r14)
	jmp	LBB0_15
LBB0_7:
	movl	%r15d, %eax
	andl	$240, %eax
	cmpl	$224, %eax
	jne	LBB0_9
## %bb.8:
	movl	$2, 16(%r14)
	jmp	LBB0_15
LBB0_9:
	andl	$224, %r15d
	cmpl	$192, %r15d
	jne	LBB0_11
## %bb.10:
	movl	$1, 16(%r14)
	jmp	LBB0_15
LBB0_11:
	movl	$0, (%r14)
LBB0_15:
	movq	_HPDF_BYTE_TYPE_TRIAL@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HPDF_BYTE_TYPE_SINGLE,4,2      ## @HPDF_BYTE_TYPE_SINGLE
	.comm	_HPDF_BYTE_TYPE_TRIAL,4,2       ## @HPDF_BYTE_TYPE_TRIAL
	.no_dead_strip	_UTF8_Encoder_ByteType_Func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UTF8_Encoder_ByteType_Func
_UTF8_Encoder_ByteType_Func:            ; @UTF8_Encoder_ByteType_Func
	.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
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x20, [x8]
	ldr	x8, [x1]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
	bl	_HPDF_PTRACE
	str	wzr, [x20]
	ldr	x8, [x19]
LBB0_2:
	ldr	x9, [x19, #8]
	ldr	w21, [x9, x8, lsl #2]
	add	x8, x8, #1
	str	x8, [x19]
	sxtw	x0, w21
	bl	_HPDF_PTRACE
	ldrsw	x8, [x20]
	ldr	x9, [x20, #8]
	cbz	w8, LBB0_5
; %bb.3:
	str	w21, [x9, x8, lsl #2]
	ldr	w8, [x20]
	ldr	w9, [x20, #16]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.4:
	str	wzr, [x20]
	b	LBB0_7
LBB0_5:
	str	w21, [x9]
	mov	w8, #1
	str	w8, [x20]
	tbnz	w21, #7, LBB0_9
; %bb.6:
	str	wzr, [x20]
	str	wzr, [x20, #16]
LBB0_7:
Lloh0:
	adrp	x8, _HPDF_BYTE_TYPE_SINGLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HPDF_BYTE_TYPE_SINGLE@GOTPAGEOFF]
	b	LBB0_17
LBB0_8:
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_16
LBB0_9:
	and	w8, w21, #0xf8
	cmp	w8, #240
	b.ne	LBB0_11
; %bb.10:
	mov	w8, #3
	str	w8, [x20, #16]
	b	LBB0_16
LBB0_11:
	and	w8, w21, #0xf0
	cmp	w8, #224
	b.ne	LBB0_13
; %bb.12:
	mov	w8, #2
	str	w8, [x20, #16]
	b	LBB0_16
LBB0_13:
	and	w8, w21, #0xe0
	cmp	w8, #192
	b.ne	LBB0_15
; %bb.14:
	mov	w8, #1
	str	w8, [x20, #16]
	b	LBB0_16
LBB0_15:
	str	wzr, [x20]
LBB0_16:
Lloh2:
	adrp	x8, _HPDF_BYTE_TYPE_TRIAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HPDF_BYTE_TYPE_TRIAL@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_HPDF_BYTE_TYPE_SINGLE,4,2      ; @HPDF_BYTE_TYPE_SINGLE
	.comm	_HPDF_BYTE_TYPE_TRIAL,4,2       ; @HPDF_BYTE_TYPE_TRIAL
	.no_dead_strip	_UTF8_Encoder_ByteType_Func
.subsections_via_symbols
