	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_library
_load_library:                          ## @load_library
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r13d
	movl	%edx, %r14d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	testl	%edx, %edx
	sete	%al
	testl	%ecx, %ecx
	setne	%bl
	orb	%al, %bl
	movl	%esi, %r15d
	movl	%esi, %edi
	callq	_jv_string_value
	movzbl	%bl, %esi
	movl	%eax, %edi
	callq	_jv_load_file
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_jv_is_valid
	testl	%eax, %eax
	je	LBB0_1
## %bb.6:
	movq	24(%rbp), %r13
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.7:
	movl	%r12d, %edi
	callq	_jv_copy
	movl	%eax, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_gen_const_global
	movq	%rax, -48(%rbp)
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_1:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_gen_noop
	movq	%rax, %rbx
	movq	%rax, -48(%rbp)
	testl	%r13d, %r13d
	jne	LBB0_11
## %bb.2:
	movl	%r12d, %edi
	callq	_jv_copy
	movl	%eax, %edi
	callq	_jv_invalid_has_msg
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	%r12d, %edi
	callq	_jv_invalid_get_msg
	jmp	LBB0_5
LBB0_8:
	movl	%r15d, %edi
	callq	_jv_string_value
	movl	%eax, %r14d
	movl	%r12d, %edi
	callq	_jv_string_value
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_jv_copy
	movl	%eax, %edi
	callq	_jv_string_length_bytes
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_locfile_init
	movq	%rax, %rbx
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_jq_parse_library
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_locfile_free
	testl	%r14d, %r14d
	jne	LBB0_10
## %bb.9:
	movl	%r15d, %edi
	callq	_jv_string_value
	movl	%eax, %edi
	callq	_strdup
	movq	%rax, %rbx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_jq_get_jq_origin
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_dirname
	movq	%rax, %rdi
	callq	_jv_string
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	movq	%r13, %r8
	callq	_process_dependencies
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_free
	movq	-48(%rbp), %rdi
	movq	_OP_IS_CALL_PSEUDO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_block_bind_self
	movq	%rax, -48(%rbp)
LBB0_10:
	movslq	(%r13), %rbx
	leal	1(%rbx), %eax
	movl	%eax, (%r13)
	movq	16(%r13), %rdi
	leal	8(,%rbx,8), %esi
	callq	_jv_mem_realloc
	movq	%rax, 16(%r13)
	movq	8(%r13), %rdi
	movl	(%r13), %esi
	shll	$3, %esi
	callq	_jv_mem_realloc
	movq	%rax, 8(%r13)
	movl	%r15d, %edi
	callq	_jv_string_value
	movl	%eax, %edi
	callq	_strdup
	movq	16(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	-48(%rbp), %rax
	movq	8(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	-48(%rbp), %rbx
LBB0_11:
	movq	16(%rbp), %rax
	movq	%rbx, (%rax)
	movl	%r15d, %edi
	callq	_jv_free
	movl	%r12d, %edi
	callq	_jv_free
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_jv_string
LBB0_5:
	movl	%eax, %r12d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	%r15d, %edi
	callq	_jv_string_value
	movl	%eax, %r14d
	movl	%r12d, %edi
	callq	_jv_string_value
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_jv_string_fmt
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_jq_report_error
	movl	$1, %r14d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown error"

L_.str.1:                               ## @.str.1
	.asciz	"jq: error loading data file %s: %s\n"

	.comm	_OP_IS_CALL_PSEUDO,4,2          ## @OP_IS_CALL_PSEUDO
	.no_dead_strip	_load_library
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_library
_load_library:                          ; @load_library
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x22, x7
	mov	x19, x6
	mov	x24, x5
	mov	x25, x4
	mov	x26, x2
	mov	x20, x1
	mov	x23, x0
	cmp	w2, #0
	ccmp	w3, #0, #0, ne
	cset	w21, ne
	mov	x0, x1
	bl	_jv_string_value
	mov	x1, x21
	bl	_jv_load_file
	mov	x21, x0
	bl	_jv_is_valid
	cbz	w0, LBB0_3
; %bb.1:
	cbz	w26, LBB0_5
; %bb.2:
	mov	x0, x21
	bl	_jv_copy
	mov	x1, x24
	bl	_gen_const_global
	mov	w24, #0
	str	x0, [sp, #8]
	b	LBB0_7
LBB0_3:
	bl	_gen_noop
	mov	x22, x0
	str	x0, [sp, #8]
	cbz	w25, LBB0_9
; %bb.4:
	mov	w24, #0
	b	LBB0_8
LBB0_5:
	mov	x0, x20
	bl	_jv_string_value
	mov	x24, x0
	mov	x0, x21
	bl	_jv_string_value
	mov	x25, x0
	mov	x0, x21
	bl	_jv_copy
	bl	_jv_string_length_bytes
	mov	x3, x0
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	bl	_locfile_init
	mov	x25, x0
	add	x1, sp, #8
	bl	_jq_parse_library
	mov	x24, x0
	mov	x0, x25
	bl	_locfile_free
	cbnz	w24, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_jv_string_value
	bl	_strdup
	mov	x24, x0
	mov	x0, x23
	bl	_jq_get_jq_origin
	mov	x25, x0
	mov	x0, x24
	bl	_dirname
	bl	_jv_string
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x23
	mov	x1, x25
	mov	x4, x22
	bl	_process_dependencies
	mov	x23, x0
	mov	x0, x24
	bl	_free
	ldr	x0, [sp, #8]
Lloh0:
	adrp	x8, _OP_IS_CALL_PSEUDO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OP_IS_CALL_PSEUDO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_block_bind_self
	str	x0, [sp, #8]
	mov	x24, x23
LBB0_7:
	ldrsw	x23, [x22]
	add	w8, w23, #1
	str	w8, [x22]
	ldr	x0, [x22, #16]
	lsl	w1, w8, #3
	bl	_jv_mem_realloc
	str	x0, [x22, #16]
	ldr	x0, [x22, #8]
	ldr	w8, [x22]
	lsl	w1, w8, #3
	bl	_jv_mem_realloc
	str	x0, [x22, #8]
	mov	x0, x20
	bl	_jv_string_value
	bl	_strdup
	ldr	x8, [x22, #16]
	lsl	x9, x23, #3
	str	x0, [x8, x9]
	ldr	x8, [sp, #8]
	ldr	x10, [x22, #8]
	str	x8, [x10, x9]
	ldr	x22, [sp, #8]
LBB0_8:
	str	x22, [x19]
	mov	x0, x20
	bl	_jv_free
	mov	x0, x21
	bl	_jv_free
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_9:
	mov	x0, x21
	bl	_jv_copy
	bl	_jv_invalid_has_msg
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x21
	bl	_jv_invalid_get_msg
	b	LBB0_12
LBB0_11:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_jv_string
LBB0_12:
	mov	x21, x0
	mov	x0, x20
	bl	_jv_string_value
	mov	x24, x0
	mov	x0, x21
	bl	_jv_string_value
	mov	x2, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x24
	bl	_jv_string_fmt
	mov	x1, x0
	mov	x0, x23
	bl	_jq_report_error
	mov	w24, #1
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown error"

l_.str.1:                               ; @.str.1
	.asciz	"jq: error loading data file %s: %s\n"

	.comm	_OP_IS_CALL_PSEUDO,4,2          ; @OP_IS_CALL_PSEUDO
	.no_dead_strip	_load_library
.subsections_via_symbols
