	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_json_validate                  ## -- Begin function json_validate
	.p2align	4, 0x90
_json_validate:                         ## @json_validate
	.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	%rsi, %r14
	movq	%rdi, %r15
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_yajl_alloc
	movl	%eax, %ebx
	movq	_yajl_allow_comments@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %r12d
	movl	%ebx, %edi
	movl	$1, %edx
	callq	_yajl_config
	movq	_yajl_allow_multiple_values@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	movl	$1, %edx
	callq	_yajl_config
	movq	_LC_NUMERIC@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_setlocale
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_yajl_parse
	movq	_yajl_status_ok@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_yajl_get_error
	movq	%rax, %r14
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	callq	_ELOG
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_yajl_free_error
	xorl	%r12d, %r12d
LBB0_2:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_setlocale
	movl	%ebx, %edi
	callq	_yajl_complete_parse
	movl	%ebx, %edi
	callq	_yajl_free
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_yajl_allow_comments,4,2        ## @yajl_allow_comments
	.comm	_yajl_allow_multiple_values,4,2 ## @yajl_allow_multiple_values
	.comm	_LC_NUMERIC,4,2                 ## @LC_NUMERIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"C"

	.comm	_yajl_status_ok,8,3             ## @yajl_status_ok
L_.str.1:                               ## @.str.1
	.asciz	"JSON parsing error: %s\n"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_json_validate                  ; -- Begin function json_validate
	.p2align	2
_json_validate:                         ; @json_validate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x21, x0
	mov	x0, #0
	mov	x1, #0
	mov	x2, #0
	bl	_yajl_alloc
	mov	x19, x0
Lloh0:
	adrp	x8, _yajl_allow_comments@GOTPAGE
Lloh1:
	ldr	x8, [x8, _yajl_allow_comments@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w22, #1
	mov	w2, #1
	bl	_yajl_config
Lloh3:
	adrp	x8, _yajl_allow_multiple_values@GOTPAGE
Lloh4:
	ldr	x8, [x8, _yajl_allow_multiple_values@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_yajl_config
Lloh6:
	adrp	x23, _LC_NUMERIC@GOTPAGE
Lloh7:
	ldr	x23, [x23, _LC_NUMERIC@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_setlocale
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_yajl_parse
Lloh10:
	adrp	x8, _yajl_status_ok@GOTPAGE
Lloh11:
	ldr	x8, [x8, _yajl_status_ok@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	mov	x2, x21
	mov	x3, x20
	bl	_yajl_get_error
	mov	x20, x0
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_ELOG
	mov	x0, x19
	mov	x1, x20
	bl	_yajl_free_error
	mov	w22, #0
LBB0_2:
	ldr	w0, [x23]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_setlocale
	mov	x0, x19
	bl	_yajl_complete_parse
	mov	x0, x19
	bl	_yajl_free
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_yajl_allow_comments,4,2        ; @yajl_allow_comments
	.comm	_yajl_allow_multiple_values,4,2 ; @yajl_allow_multiple_values
	.comm	_LC_NUMERIC,4,2                 ; @LC_NUMERIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"C"

	.comm	_yajl_status_ok,8,3             ; @yajl_status_ok
l_.str.1:                               ; @.str.1
	.asciz	"JSON parsing error: %s\n"

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

.subsections_via_symbols
