	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function JSON_Writer_WriteSimpleToken
_JSON_Writer_WriteSimpleToken:          ## @JSON_Writer_WriteSimpleToken
	.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	_JSON_Failure@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rcx, %r12
	movq	%rdx, %r15
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movl	12(%rdi), %edi
	movq	_WRITER_IN_PROTECTED_API@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GET_FLAGS
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	movq	(%rbx), %rax
	movq	_JSON_Error_None@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	movl	8(%rbx), %edi
	callq	_SHORTEST_ENCODING_SEQUENCE
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_WriterState@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	movq	_WRITER_STARTED@GOTPCREL(%rip), %rax
	movq	_WRITER_IN_PROTECTED_API@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_SET_FLAGS_ON
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_JSON_Writer_ProcessToken
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	imulq	%r12, %rdx
	movslq	8(%rbx), %rax
	movq	-8(%r15,%rax,8), %rsi
	movq	%rbx, %rdi
	callq	_JSON_Writer_OutputBytes
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_JSON_Success@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	movq	_WRITER_IN_PROTECTED_API@GOTPCREL(%rip), %rax
	movq	_WriterState@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	12(%rbx), %esi
	movl	(%rax), %edx
	callq	_SET_FLAGS_OFF
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JSON_Failure,4,2               ## @JSON_Failure
	.comm	_WRITER_IN_PROTECTED_API,4,2    ## @WRITER_IN_PROTECTED_API
	.comm	_JSON_Error_None,8,3            ## @JSON_Error_None
	.comm	_WriterState,4,2                ## @WriterState
	.comm	_WRITER_STARTED,4,2             ## @WRITER_STARTED
	.comm	_JSON_Success,4,2               ## @JSON_Success
	.no_dead_strip	_JSON_Writer_WriteSimpleToken
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function JSON_Writer_WriteSimpleToken
_JSON_Writer_WriteSimpleToken:          ; @JSON_Writer_WriteSimpleToken
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _JSON_Failure@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JSON_Failure@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x20, x0
	ldr	w0, [x0, #12]
Lloh3:
	adrp	x25, _WRITER_IN_PROTECTED_API@GOTPAGE
Lloh4:
	ldr	x25, [x25, _WRITER_IN_PROTECTED_API@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_GET_FLAGS
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _JSON_Error_None@GOTPAGE
Lloh6:
	ldr	x9, [x9, _JSON_Error_None@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	ldr	w0, [x20, #8]
	bl	_SHORTEST_ENCODING_SEQUENCE
	mov	x24, x0
Lloh8:
	adrp	x26, _WriterState@GOTPAGE
Lloh9:
	ldr	x26, [x26, _WriterState@GOTPAGEOFF]
	ldr	w0, [x26]
	ldr	w1, [x20, #12]
Lloh10:
	adrp	x8, _WRITER_STARTED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WRITER_STARTED@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x25]
	orr	w2, w9, w8
	bl	_SET_FLAGS_ON
	mov	x0, x20
	mov	x1, x23
	bl	_JSON_Writer_ProcessToken
	cbz	x0, LBB0_5
; %bb.4:
	mul	x2, x24, x22
	ldrsw	x8, [x20, #8]
	add	x8, x21, x8, lsl #3
	ldur	x1, [x8, #-8]
	mov	x0, x20
	bl	_JSON_Writer_OutputBytes
Lloh13:
	adrp	x8, _JSON_Success@GOTPAGE
Lloh14:
	ldr	x8, [x8, _JSON_Success@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w19, w19, w8, eq
LBB0_5:
	ldr	w0, [x26]
	ldr	w1, [x20, #12]
	ldr	w2, [x25]
	bl	_SET_FLAGS_OFF
LBB0_6:
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_JSON_Failure,4,2               ; @JSON_Failure
	.comm	_WRITER_IN_PROTECTED_API,4,2    ; @WRITER_IN_PROTECTED_API
	.comm	_JSON_Error_None,8,3            ; @JSON_Error_None
	.comm	_WriterState,4,2                ; @WriterState
	.comm	_WRITER_STARTED,4,2             ; @WRITER_STARTED
	.comm	_JSON_Success,4,2               ; @JSON_Success
	.no_dead_strip	_JSON_Writer_WriteSimpleToken
.subsections_via_symbols
