	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function json_parse_const
_json_parse_const:                      ## @json_parse_const
	.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	%rcx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	(%rdi), %r15
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movq	%r15, %rdx
	callq	_DPRINTF
	cmpq	%r12, %r15
	jae	LBB0_4
## %bb.1:
	addq	$-2, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	subq	$1, %rbx
	jb	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	cmpq	%r12, %r15
	jb	LBB0_2
	jmp	LBB0_5
LBB0_4:
	decq	%rbx
	je	LBB0_7
LBB0_5:
	movq	(%r14), %rdx
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_DPRINTF
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_7:
	movl	$1, %eax
LBB0_8:
	movq	%r15, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Parse const: "

L_.str.1:                               ## @.str.1
	.asciz	"Bad const: "

	.no_dead_strip	_json_parse_const
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function json_parse_const
_json_parse_const:                      ; @json_parse_const
	.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	x22, x3
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x20
	bl	_DPRINTF
	sub	x8, x22, #1
	cmp	x20, x21
	b.hs	LBB0_7
; %bb.1:
	mvn	x9, x20
	sub	x10, x22, #2
	add	x9, x9, x21
	cmp	x9, x10
	csel	x9, x9, x10, lo
	add	x9, x9, #1
	cmp	x9, #33
	b.lo	LBB0_4
; %bb.2:
	ands	x10, x9, #0x1f
	mov	w11, #32
	csel	x10, x11, x10, eq
	sub	x9, x9, x10
	add	x20, x20, x9
	sub	x8, x8, x9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	subs	x9, x9, #32
	b.ne	LBB0_3
LBB0_4:
	sub	x8, x8, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x8, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	sub	x8, x8, #1
	cmp	x20, x21
	b.lo	LBB0_5
	b	LBB0_8
LBB0_7:
	cbz	x8, LBB0_9
LBB0_8:
	ldr	x2, [x19]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_DPRINTF
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	mov	w0, #1
LBB0_10:
	str	x20, [x19]
	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 AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Parse const: "

l_.str.1:                               ; @.str.1
	.asciz	"Bad const: "

	.no_dead_strip	_json_parse_const
.subsections_via_symbols
