	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_data_internal
_input_data_internal:                   ## @input_data_internal
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	12(%rdi), %ecx
	testl	%ecx, %ecx
	je	LBB0_13
## %bb.1:
	movq	%rdi, %rbx
	movl	8(%rdi), %eax
	imull	%eax, %ecx
	movslq	%ecx, %rdx
	shlq	$2, %rdx
	addq	(%rdi), %rdx
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_6 Depth 3
	movq	24(%rbx), %rcx
	cltq
	cmpl	$0, (%rcx,%rax,4)
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %r12
	movq	40(%rbx), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	incl	%edx
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	24(%rbx), %rax
	movslq	8(%rbx), %rcx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	cmpl	(%rax,%rcx,4), %edx
	jge	LBB0_11
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_6 Depth 3
	addq	$8, %r12
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=3
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r15d
	addq	$4, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	shll	$8, %r15d
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=3
	movl	%r15d, %edi
	callq	_FFABS
	cmpq	%rax, %r13
	cmovleq	%rax, %r13
	movl	%r15d, %eax
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	movl	%ebx, %ecx
	shll	%cl, %eax
	xorl	%eax, %r14d
	movl	%r15d, -8(%r12)
	incl	%ebx
	addq	$4, %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	cmpl	(%rcx,%rax,4), %ebx
	ja	LBB0_10
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=3
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r15d
	addq	$4, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	sarl	$8, %r15d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_number_sbits
	movq	32(%rbx), %rcx
	movslq	8(%rbx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, (%rdx)
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	incq	%rsi
	movl	12(%rbx), %eax
	movq	%rsi, %rcx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %rsi
	jae	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rdx
	movl	8(%rbx), %eax
	jmp	LBB0_2
LBB0_13:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_input_data_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input_data_internal
_input_data_internal:                   ; @input_data_internal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w9, [x0, #12]
	cbz	w9, LBB0_13
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
	mov	x24, #0
	ldr	x10, [x0]
	ldr	w8, [x0, #8]
	mul	w9, w9, w8
	add	x10, x10, w9, sxtw #2
	mov	x26, x1
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;       Child Loop BB0_8 Depth 3
	ldr	x9, [x23, #24]
	ldr	w8, [x9, w8, sxtw #2]
	cmp	w8, #1
	str	x10, [sp, #8]                   ; 8-byte Folded Spill
	b.lt	LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w10, #0
	mov	x22, #0
	mov	w27, #0
	ldr	x25, [x23, #16]
	ldr	x21, [x23, #40]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	add	w10, w10, #1
	ldr	x23, [sp, #16]                  ; 8-byte Folded Reload
	ldr	x8, [x23, #24]
	ldrsw	x9, [x23, #8]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w10, w8
	b.ge	LBB0_11
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_8 Depth 3
	str	w10, [sp, #28]                  ; 4-byte Folded Spill
	mov	w28, #0
	add	x25, x25, #8
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=3
	ldr	w8, [x26], #4
	lsl	w23, w8, #8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=3
	mov	x0, x23
	bl	_FFABS
	cmp	x22, x0
	csel	x22, x22, x0, gt
	and	w8, w23, #0xffffff
	lsl	w8, w8, w28
	eor	w27, w8, w27
	stur	w23, [x25, #-8]
	add	w28, w28, #1
	ldr	w8, [x21, x24, lsl #2]
	add	x25, x25, #4
	cmp	w28, w8
	b.hi	LBB0_4
LBB0_8:                                 ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cbz	w19, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=3
	ldr	w8, [x20], #4
	asr	w23, w8, #8
	b	LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #0
	mov	x22, #0
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_number_sbits
	ldr	x8, [x23, #32]
	ldrsw	x9, [x23, #8]
	str	w0, [x8, x9, lsl #2]
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	str	w27, [x10]
	add	x24, x24, #1
	ldr	w8, [x23, #12]
	cmp	x24, x8
	b.hs	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #4
	ldr	w8, [x23, #8]
	b	LBB0_2
LBB0_13:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_input_data_internal
.subsections_via_symbols
