	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jq_format_error                ## -- Begin function jq_format_error
	.p2align	4, 0x90
_jq_format_error:                       ## @jq_format_error
	.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
	movl	%edi, %ebx
	callq	_jv_get_kind
	movq	_JV_KIND_NULL@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_1
LBB0_14:
	movl	%ebx, %edi
	callq	_jv_free
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_jv_null                        ## TAILCALL
LBB0_1:
	movq	_JV_KIND_INVALID@GOTPCREL(%rip), %r15
	movq	_JV_KIND_STRING@GOTPCREL(%rip), %r12
	movq	_JV_PRINT_INVALID@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_jv_invalid_get_msg
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ebx
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_jv_get_kind
	cmpq	(%r14), %rax
	je	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_jv_get_kind
	cmpq	(%r15), %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_jv_copy
	movl	%eax, %edi
	callq	_jv_invalid_has_msg
	testl	%eax, %eax
	je	LBB0_14
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_jv_get_kind
	cmpq	(%r12), %rax
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_jv_get_kind
	cmpq	(%r15), %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_jv_invalid_get_msg
	movl	%eax, %ebx
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_jv_get_kind
	cmpq	(%r14), %rax
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_jv_get_kind
	cmpq	(%r15), %rax
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_jv_get_kind
	cmpq	(%r12), %rax
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %esi
	movl	%ebx, %edi
	callq	_jv_dump_string
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_jv_get_kind
	cmpq	(%r12), %rax
	je	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_jv_null
	jmp	LBB0_12
LBB0_16:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movl	%ebx, %edi
	callq	_jv_string_value
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_jv_string_fmt                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_JV_KIND_NULL,8,3               ## @JV_KIND_NULL
	.comm	_JV_KIND_INVALID,8,3            ## @JV_KIND_INVALID
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"jq: error: out of memory\n"

	.comm	_JV_KIND_STRING,8,3             ## @JV_KIND_STRING
L_.str.1:                               ## @.str.1
	.asciz	"jq: error: %s"

	.comm	_JV_PRINT_INVALID,4,2           ## @JV_PRINT_INVALID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jq_format_error                ; -- Begin function jq_format_error
	.p2align	2
_jq_format_error:                       ; @jq_format_error
	.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	x19, x0
	bl	_jv_get_kind
Lloh0:
	adrp	x20, _JV_KIND_NULL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _JV_KIND_NULL@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_2
LBB0_1:
	mov	x0, x19
	bl	_jv_free
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	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
	b	_jv_null
LBB0_2:
Lloh7:
	adrp	x21, _JV_KIND_INVALID@GOTPAGE
Lloh8:
	ldr	x21, [x21, _JV_KIND_INVALID@GOTPAGEOFF]
Lloh9:
	adrp	x22, _JV_KIND_STRING@GOTPAGE
Lloh10:
	ldr	x22, [x22, _JV_KIND_STRING@GOTPAGEOFF]
Lloh11:
	adrp	x23, _JV_PRINT_INVALID@GOTPAGE
Lloh12:
	ldr	x23, [x23, _JV_PRINT_INVALID@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_jv_invalid_get_msg
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x19, x0
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_jv_get_kind
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_jv_get_kind
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_jv_copy
	bl	_jv_invalid_has_msg
	cbz	w0, LBB0_1
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_jv_get_kind
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_jv_get_kind
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_jv_invalid_get_msg
	mov	x19, x0
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_jv_get_kind
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_jv_get_kind
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_jv_get_kind
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	bl	_jv_dump_string
	mov	x19, x0
	bl	_jv_get_kind
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	bl	_jv_null
	b	LBB0_4
LBB0_16:
	mov	x0, x19
	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
LBB0_17:
	mov	x0, x19
	bl	_jv_string_value
	mov	x1, x0
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	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
	b	_jv_string_fmt
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_JV_KIND_NULL,8,3               ; @JV_KIND_NULL
	.comm	_JV_KIND_INVALID,8,3            ; @JV_KIND_INVALID
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"jq: error: out of memory\n"

	.comm	_JV_KIND_STRING,8,3             ; @JV_KIND_STRING
l_.str.1:                               ; @.str.1
	.asciz	"jq: error: %s"

	.comm	_JV_PRINT_INVALID,4,2           ; @JV_PRINT_INVALID
.subsections_via_symbols
