	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_array_store                ## -- Begin function gen_array_store
	.p2align	4, 0x90
_gen_array_store:                       ## @gen_array_store
	.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	$-1, %eax
	cmpl	$11, %edx
	jl	LBB0_10
## %bb.1:
	movl	%edx, %r13d
	movq	%rdi, %r12
	cmpl	$2, (%rdi)
	jl	LBB0_5
## %bb.2:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%r15,4), %edi
	movslq	%ebx, %rax
	leaq	(%rsi,%rax,8), %rsi
	movl	%r13d, %r14d
	subl	%eax, %r13d
	movl	%r13d, %edx
	movq	%rcx, %r13
	movl	%r15d, %r8d
	xorl	%r9d, %r9d
	callq	_gen_field
	testl	%eax, %eax
	js	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	%eax, %ebx
	incq	%r15
	movslq	(%r12), %rax
	cmpq	%rax, %r15
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rcx
	movl	%r14d, %r13d
	jl	LBB0_3
	jmp	LBB0_6
LBB0_5:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movq	%rsi, %rbx
	movl	%r13d, %edx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_gen_field
	movq	%rbx, %rsi
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_9
LBB0_6:
	subl	%ebx, %r13d
	cmpl	$11, %r13d
	movl	$-1, %eax
	jl	LBB0_10
## %bb.7:
	movq	_tlsub_ret_ok@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	incl	%ebx
	movq	%rax, (%rsi,%rcx,8)
	movl	%ebx, %eax
	jmp	LBB0_10
LBB0_9:
	movl	$-1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tlsub_ret_ok,8,3               ## @tlsub_ret_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_array_store                ; -- Begin function gen_array_store
	.p2align	2
_gen_array_store:                       ; @gen_array_store
	.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
	cmp	w2, #11
	b.lt	LBB0_7
; %bb.1:
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	ldr	w8, [x0]
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.2:
	mov	x24, #0
	mov	w23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	w0, [x8, x24, lsl #2]
	add	x1, x19, w23, sxtw #3
	sub	w2, w20, w23
	mov	x3, x21
	mov	x4, x24
	mov	w5, #0
	bl	_gen_field
	tbnz	w0, #31, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w0, w23
	add	x24, x24, #1
	ldrsw	x8, [x22]
	cmp	x24, x8
	b.lt	LBB0_3
	b	LBB0_6
LBB0_5:
	ldr	x8, [x22, #8]
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	mov	w4, #0
	mov	w5, #1
	bl	_gen_field
	mov	x23, x0
	tbnz	w0, #31, LBB0_7
LBB0_6:
	sub	w8, w20, w23
	cmp	w8, #11
	b.ge	LBB0_9
LBB0_7:
	mov	w0, #-1
LBB0_8:
	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_9:
Lloh0:
	adrp	x8, _tlsub_ret_ok@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tlsub_ret_ok@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	w0, w23, #1
	str	x8, [x19, w23, sxtw #3]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tlsub_ret_ok,8,3               ; @tlsub_ret_ok
.subsections_via_symbols
