	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function json_print_token
_json_print_token:                      ## @json_print_token
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_os_strlen
	leaq	(%r12,%rax), %r13
	movq	%r15, %r14
	subq	%rax, %r14
	movl	24(%rbx), %edi
	callq	_json_type_str
	movq	(%rbx), %r9
	testq	%r9, %r9
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rcx, %r9
	movq	%r13, %rdi
	movq	%r14, %rsi
	leaq	L_.str(%rip), %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%eax, %r8d
	callq	_os_snprintf
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_json_print_token
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movb	$0, (%r13)
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%d:%s:%s]"

L_.str.1:                               ## @.str.1
	.space	1

	.no_dead_strip	_json_print_token
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function json_print_token
_json_print_token:                      ; @json_print_token
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	w23, w1, #1
Lloh0:
	adrp	x27, l_.str.1@PAGE
Lloh1:
	add	x27, x27, l_.str.1@PAGEOFF
Lloh2:
	adrp	x24, l_.str@PAGE
Lloh3:
	add	x24, x24, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_os_strlen
	add	x25, x20, x0
	sub	x26, x19, x0
	ldr	w0, [x22, #24]
	bl	_json_type_str
	mov	x4, x0
	ldr	x8, [x22]
	cmp	x8, #0
	csel	x5, x27, x8, eq
	mov	x0, x25
	mov	x1, x26
	mov	x2, x24
	mov	x3, x21
	bl	_os_snprintf
	mov	x1, x0
	mov	x0, x26
	bl	_os_snprintf_error
	cbnz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x22, #16]
	mov	x1, x23
	mov	x2, x20
	mov	x3, x19
	bl	_json_print_token
	ldr	x22, [x22, #8]
	cbnz	x22, LBB0_2
	b	LBB0_5
LBB0_4:
	strb	wzr, [x25]
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%d:%s:%s]"

l_.str.1:                               ; @.str.1
	.space	1

	.no_dead_strip	_json_print_token
.subsections_via_symbols
