	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___big_return                   ## -- Begin function __big_return
	.p2align	4, 0x90
___big_return:                          ## @__big_return
	.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
	movl	%r8d, %r13d
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	incl	%edx
	movslq	%edx, %rax
	movq	8(%rsi), %r12
	movl	(%r12,%rax,4), %eax
	movq	_PARTIAL_KEY@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jne	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r12), %rax
	movl	-4(%r12,%rax,4), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	___get_buf
	testq	%rax, %rax
	je	LBB0_22
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	movq	8(%rax), %r12
	movl	8(%r12), %eax
	cmpl	(%r14), %eax
	je	LBB0_1
LBB0_3:
	movq	_FULL_KEY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.4:
	movslq	(%r12), %rax
	movl	-4(%r12,%rax,4), %esi
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	___get_buf
	testq	%rax, %rax
	je	LBB0_22
## %bb.5:
	movq	8(%rax), %rcx
	movl	(%rax), %edx
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movl	4(%rcx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rax, %rbx
	jmp	LBB0_14
LBB0_6:
	movq	%r12, %rdi
	callq	_FREESPACE
	movslq	(%r12), %rcx
	movl	(%r12,%rcx,4), %edx
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:
	movslq	%edx, %rax
	leaq	(%r12,%rax,4), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rcx, 8(%rdx)
	movl	4(%r12), %ecx
	subl	%eax, %ecx
	movl	%ecx, (%rdx)
	xorl	%r14d, %r14d
	testl	%r13d, %r13d
	je	LBB0_23
## %bb.8:
	movslq	(%r12), %rax
	cmpq	$2, %rax
	jne	LBB0_18
## %bb.9:
	movq	$0, 16(%r15)
	incl	24(%r15)
	movl	$1, (%r15)
	jmp	LBB0_23
LBB0_12:
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	4(%r12), %r14d
	movl	(%rbx), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	-4(%r12,%rcx,4), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	___get_buf
	testq	%rax, %rax
	je	LBB0_22
## %bb.13:
	subl	-44(%rbp), %r14d                ## 4-byte Folded Reload
LBB0_14:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movl	%r14d, %edx
	movl	%r13d, %ecx
	callq	_collect_data
	movl	%eax, (%r12)
	movl	$-1, %r14d
	cmpl	$-1, %eax
	je	LBB0_23
## %bb.15:
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%rbx)
	jne	LBB0_17
## %bb.16:
	movq	8(%r15), %rdi
	movslq	-44(%rbp), %rsi                 ## 4-byte Folded Reload
	addq	8(%rbx), %rsi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_memmove
	movq	8(%r15), %rax
	movq	%rax, 8(%r12)
	xorl	%r14d, %r14d
	jmp	LBB0_23
LBB0_17:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_23
LBB0_18:
	movl	-4(%r12,%rax,4), %esi
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	___get_buf
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_22
## %bb.19:
	movl	$1, (%r15)
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	jne	LBB0_23
## %bb.20:
	incl	24(%r15)
	movq	$0, 16(%r15)
	jmp	LBB0_23
LBB0_22:
	movl	$-1, %r14d
LBB0_23:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PARTIAL_KEY,4,2                ## @PARTIAL_KEY
	.comm	_FULL_KEY,4,2                   ## @FULL_KEY
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___big_return                   ; -- Begin function __big_return
	.p2align	2
___big_return:                          ; @__big_return
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x4
	mov	x20, x3
	mov	x21, x1
	mov	x19, x0
	add	w8, w2, #1
	ldr	x23, [x1, #8]
	ldr	w8, [x23, w8, sxtw #2]
Lloh0:
	adrp	x24, _PARTIAL_KEY@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PARTIAL_KEY@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrsw	x8, [x23]
	add	x8, x23, x8, lsl #2
	ldur	w1, [x8, #-4]
	mov	x0, x19
	mov	x2, x21
	mov	w3, #0
	bl	___get_buf
	cbz	x0, LBB0_20
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x21, x0
	ldr	x23, [x0, #8]
	ldr	w8, [x23, #8]
	b	LBB0_1
LBB0_4:
Lloh2:
	adrp	x9, _FULL_KEY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FULL_KEY@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.5:
	ldrsw	x8, [x23]
	add	x8, x23, x8, lsl #2
	ldur	w1, [x8, #-4]
	mov	x0, x19
	mov	x2, x21
	mov	w3, #0
	bl	___get_buf
	cbz	x0, LBB0_20
; %bb.6:
	mov	x1, x0
	mov	w23, #0
	ldr	x8, [x0, #8]
	ldr	w25, [x0]
	ldr	w24, [x8, #4]
	mov	x21, x0
	b	LBB0_13
LBB0_7:
	mov	x0, x23
	bl	_FREESPACE
	ldrsw	x8, [x23]
	ldr	w24, [x23, x8, lsl #2]
	cbz	w0, LBB0_11
; %bb.8:
	sxtw	x8, w24
	add	x8, x23, x8, lsl #2
	str	x8, [x20, #8]
	ldr	w8, [x23, #4]
	sub	w8, w8, w24
	str	w8, [x20]
	cbz	w22, LBB0_19
; %bb.9:
	ldr	w8, [x23]
	cmp	w8, #2
	b.ne	LBB0_17
; %bb.10:
	mov	w0, #0
	str	xzr, [x19, #16]
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_21
LBB0_11:
	ldr	w26, [x23, #4]
	ldr	w25, [x21]
	add	x8, x23, x8, lsl #2
	ldur	w1, [x8, #-4]
	mov	x0, x19
	mov	x2, x21
	mov	w3, #0
	bl	___get_buf
	cbz	x0, LBB0_20
; %bb.12:
	mov	x1, x0
	sub	w23, w26, w24
LBB0_13:
	mov	x0, x19
	mov	x2, x23
	mov	x3, x22
	bl	_collect_data
	str	w0, [x20]
	cmn	w0, #1
	b.eq	LBB0_21
; %bb.14:
	ldr	w8, [x21]
	cmp	w8, w25
	b.ne	LBB0_16
; %bb.15:
	ldr	x0, [x19, #8]
	ldr	x8, [x21, #8]
	add	x1, x8, w24, sxtw
	mov	x2, x23
	bl	_memmove
	mov	w0, #0
	ldr	x8, [x19, #8]
	str	x8, [x20, #8]
	b	LBB0_21
LBB0_16:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _errno@GOTPAGE
Lloh9:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh10:
	str	w8, [x9]
	mov	w0, #-1
	b	LBB0_21
LBB0_17:
	sub	w8, w8, #1
	ldr	w1, [x23, w8, sxtw #2]
	mov	x0, x19
	mov	x2, x21
	mov	w3, #0
	bl	___get_buf
	str	x0, [x19, #16]
	cbz	x0, LBB0_20
; %bb.18:
	mov	w8, #1
	str	w8, [x19]
	ldr	x8, [x0]
	ldr	w8, [x8]
	cbz	w8, LBB0_22
LBB0_19:
	mov	w0, #0
	b	LBB0_21
LBB0_20:
	mov	w0, #-1
LBB0_21:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_22:
	mov	w0, #0
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
	str	xzr, [x19, #16]
	b	LBB0_21
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PARTIAL_KEY,4,2                ; @PARTIAL_KEY
	.comm	_FULL_KEY,4,2                   ; @FULL_KEY
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
