	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_scalar
_get_scalar:                            ## @get_scalar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	cmpl	$0, (%rax)
	jne	LBB0_9
## %bb.1:
	cmpq	$0, (%rbx)
	jne	LBB0_9
## %bb.2:
	movq	32(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.3:
	movq	_JSON_TOKEN_STRING@GOTPCREL(%rip), %rsi
	cmpq	%rdx, (%rsi)
	jne	LBB0_5
## %bb.4:
	movl	$1, 8(%rbx)
	jmp	LBB0_9
LBB0_5:
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.6:
	movq	_JSON_TOKEN_NULL@GOTPCREL(%rip), %rcx
	cmpq	%rdx, (%rcx)
	jne	LBB0_8
## %bb.7:
	movq	$0, 16(%rbx)
	jmp	LBB0_9
LBB0_8:
	movq	8(%rax), %rdi
	movl	16(%rax), %esi
	subl	%edi, %esi
	callq	_cstring_to_text_with_len
	movq	%rax, 16(%rbx)
LBB0_9:
	cmpl	$0, 8(%rbx)
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	callq	_cstring_to_text
	movq	%rax, 16(%rbx)
	movl	$0, 8(%rbx)
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JSON_TOKEN_STRING,8,3          ## @JSON_TOKEN_STRING
	.comm	_JSON_TOKEN_NULL,8,3            ## @JSON_TOKEN_NULL
	.no_dead_strip	_get_scalar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_scalar
_get_scalar:                            ; @get_scalar
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	w9, [x8]
	cbnz	w9, LBB0_7
; %bb.1:
	ldr	x9, [x19]
	cbnz	x9, LBB0_7
; %bb.2:
	ldr	x9, [x19, #32]
Lloh0:
	adrp	x10, _JSON_TOKEN_STRING@GOTPAGE
Lloh1:
	ldr	x10, [x10, _JSON_TOKEN_STRING@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, #0
	ccmp	x10, x2, #0, ne
	b.eq	LBB0_6
; %bb.3:
	cbz	x9, LBB0_10
; %bb.4:
Lloh3:
	adrp	x9, _JSON_TOKEN_NULL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _JSON_TOKEN_NULL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x2
	b.ne	LBB0_10
; %bb.5:
	str	xzr, [x19, #16]
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_8
	b	LBB0_9
LBB0_6:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_7:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_cstring_to_text
	str	x0, [x19, #16]
	str	wzr, [x19, #8]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	x0, [x8, #8]
	ldr	w8, [x8, #16]
	sub	w1, w8, w0
	bl	_cstring_to_text_with_len
	str	x0, [x19, #16]
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_8
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_JSON_TOKEN_STRING,8,3          ; @JSON_TOKEN_STRING
	.comm	_JSON_TOKEN_NULL,8,3            ; @JSON_TOKEN_NULL
	.no_dead_strip	_get_scalar
.subsections_via_symbols
