	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jq_util_input_get_position     ## -- Begin function jq_util_input_get_position
	.p2align	4, 0x90
_jq_util_input_get_position:            ## @jq_util_input_get_position
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	$0, -16(%rbp)
	movq	$0, -24(%rbp)
	leaq	-16(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	callq	_jq_get_input_cb
	movq	-16(%rbp), %rax
	movq	_jq_util_input_next_input_cb@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_assert
	movq	-16(%rbp), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_1
## %bb.2:
	movq	-24(%rbp), %rbx
	movl	8(%rbx), %edi
	callq	_jv_get_kind
	movq	_JV_KIND_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movl	8(%rbx), %edi
	callq	_jv_string_value
	movq	(%rbx), %rdx
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_jv_string_fmt
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_jv_string
	movl	%eax, %edi
	callq	_jv_invalid_with_msg
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	callq	_jv_string
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jq_util_input_next_input_cb,8,3 ## @jq_util_input_next_input_cb
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid jq_util_input API usage"

	.comm	_JV_KIND_STRING,8,3             ## @JV_KIND_STRING
L_.str.1:                               ## @.str.1
	.asciz	"<unknown>"

L_.str.2:                               ## @.str.2
	.asciz	"%s:%lu"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jq_util_input_get_position     ; -- Begin function jq_util_input_get_position
	.p2align	2
_jq_util_input_get_position:            ; @jq_util_input_get_position
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	stp	xzr, xzr, [sp]
	add	x1, sp, #8
	mov	x2, sp
	bl	_jq_get_input_cb
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x19, _jq_util_input_next_input_cb@GOTPAGE
Lloh1:
	ldr	x19, [x19, _jq_util_input_next_input_cb@GOTPAGEOFF]
	ldr	x9, [x19]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	x8, [sp, #8]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x19, [sp]
	ldr	w0, [x19, #8]
	bl	_jv_get_kind
Lloh2:
	adrp	x8, _JV_KIND_STRING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _JV_KIND_STRING@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [x19, #8]
	bl	_jv_string_value
	mov	x1, x0
	ldr	x2, [x19]
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_jv_string_fmt
	b	LBB0_5
LBB0_3:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_jv_string
	bl	_jv_invalid_with_msg
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_jv_string
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_jq_util_input_next_input_cb,8,3 ; @jq_util_input_next_input_cb
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid jq_util_input API usage"

	.comm	_JV_KIND_STRING,8,3             ; @JV_KIND_STRING
l_.str.1:                               ; @.str.1
	.asciz	"<unknown>"

l_.str.2:                               ; @.str.2
	.asciz	"%s:%lu"

.subsections_via_symbols
