	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_unicode_cp
_read_unicode_cp:                       ## @read_unicode_cp
	.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
	callq	*(%rdi)
	movq	_EOF@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	je	LBB0_7
## %bb.1:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_hexchar
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.2:
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	*(%r14)
	cmpl	(%r13), %eax
	je	LBB0_7
## %bb.3:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_hexchar
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.4:
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	*(%r14)
	cmpl	(%r13), %eax
	je	LBB0_7
## %bb.5:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_hexchar
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.6:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	*(%r14)
	cmpl	(%r13), %eax
	jne	LBB0_8
LBB0_7:
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_json_error
	jmp	LBB0_11
LBB0_8:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_hexchar
	cmpl	$-1, %eax
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	je	LBB0_10
## %bb.9:
	shll	$12, %r15d
	movslq	%r15d, %rcx
	shll	$8, %r12d
	movslq	%r12d, %rdx
	addq	%rcx, %rdx
	shll	$4, %esi
	movslq	%esi, %rcx
	addq	%rdx, %rcx
	cltq
	addq	%rcx, %rax
	jmp	LBB0_12
LBB0_10:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_json_error
LBB0_11:
	movq	$-1, %rax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"unterminated string literal in unicode"

L_.str.2:                               ## @.str.2
	.asciz	"bad escape unicode byte, '%c'"

	.no_dead_strip	_read_unicode_cp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_unicode_cp
_read_unicode_cp:                       ; @read_unicode_cp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	ldr	x8, [x0]
	blr	x8
Lloh0:
	adrp	x24, _EOF@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EOF@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.1:
	mov	x21, x0
	bl	_hexchar
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.2:
	mov	x20, x0
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.3:
	mov	x21, x0
	bl	_hexchar
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.4:
	mov	x22, x0
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.5:
	mov	x21, x0
	bl	_hexchar
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.6:
	mov	x23, x0
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_8
LBB0_7:
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_11
LBB0_8:
	mov	x21, x0
	bl	_hexchar
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.9:
	lsl	w8, w20, #12
	sxtw	x8, w8
	lsl	w9, w22, #8
	add	x8, x8, w9, sxtw
	lsl	w9, w23, #4
	add	x8, x8, w9, sxtw
	add	x0, x8, w0, sxtw
	b	LBB0_12
LBB0_10:
	str	x21, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_11:
	mov	x0, x19
	bl	_json_error
	mov	x0, #-1
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"unterminated string literal in unicode"

l_.str.2:                               ; @.str.2
	.asciz	"bad escape unicode byte, '%c'"

	.no_dead_strip	_read_unicode_cp
.subsections_via_symbols
