	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function utf8_decode
_utf8_decode:                           ## @utf8_decode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_utf8d@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movslq	%edx, %rax
	movl	(%r8,%rax,4), %ecx
	movl	(%rdi), %r9d
	movq	_UTF8_VALID@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r9d
	jne	LBB0_1
## %bb.2:
	movl	$255, %eax
	shrl	%cl, %eax
	andl	%edx, %eax
	jmp	LBB0_3
LBB0_1:
	andl	$63, %edx
	movl	(%rsi), %eax
	shll	$6, %eax
	orl	%edx, %eax
LBB0_3:
	movl	%eax, (%rsi)
	movl	(%rdi), %eax
	shll	$4, %eax
	addl	%ecx, %eax
	addl	$256, %eax                      ## imm = 0x100
	cltq
	movl	(%r8,%rax,4), %eax
	movl	%eax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_utf8d,8,3                      ## @utf8d
	.comm	_UTF8_VALID,4,2                 ## @UTF8_VALID
	.no_dead_strip	_utf8_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function utf8_decode
_utf8_decode:                           ; @utf8_decode
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _utf8d@GOTPAGE
Lloh1:
	ldr	x8, [x8, _utf8d@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x8, w2, sxtw #2]
	ldr	w10, [x0]
Lloh3:
	adrp	x11, _UTF8_VALID@GOTPAGE
Lloh4:
	ldr	x11, [x11, _UTF8_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	cmp	w10, w11
	b.ne	LBB0_2
; %bb.1:
	mov	w10, #255
	lsr	w10, w10, w9
	and	w2, w10, w2
	b	LBB0_3
LBB0_2:
	ldr	w10, [x1]
	bfi	w2, w10, #6, #26
LBB0_3:
	str	w2, [x1]
	ldr	w10, [x0]
	add	w9, w9, w10, lsl #4
	add	w9, w9, #256
	ldr	w8, [x8, w9, sxtw #2]
	str	w8, [x0]
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_utf8d,8,3                      ; @utf8d
	.comm	_UTF8_VALID,4,2                 ; @UTF8_VALID
	.no_dead_strip	_utf8_decode
.subsections_via_symbols
