	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_function_store             ## -- Begin function gen_function_store
	.p2align	4, 0x90
_gen_function_store:                    ## @gen_function_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$-1, %eax
	cmpl	$11, %edx
	jl	LBB0_15
## %bb.1:
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpl	$0, 12(%rbx)
	sete	%dil
	callq	_assert
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	_tls_store_int@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	32(%rbx), %rax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, 8(%r14)
	movl	(%rbx), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdi
	movl	(%rbx), %edx
	shll	$2, %edx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	callq	_memset
	movl	4(%rbx), %eax
	movl	$2, %r13d
	testl	%eax, %eax
	jle	LBB0_11
## %bb.2:
	xorl	%r14d, %r14d
	movq	_FLAG_OPT_VAR@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	movslq	%eax, %rcx
	cmpq	%rcx, %r14
	jge	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %rcx
	movq	(%rcx,%r14,8), %rdi
	movl	(%rdi), %ecx
	testl	%ecx, (%r12)
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %edx
	subl	%r13d, %edx
	leaq	1(%r14), %r8
	movslq	%r13d, %rax
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rax,8), %rsi
	movq	_FLAG_EXCL@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_gen_field_excl
	testl	%eax, %eax
	jns	LBB0_9
	jmp	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%r9d, %r9d
	callq	_gen_field
	testl	%eax, %eax
	js	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	%eax, %r13d
	movl	4(%rbx), %eax
	jmp	LBB0_10
LBB0_11:
	movl	16(%rbx), %edi
	movslq	%r13d, %rax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	leaq	(%r14,%rax,8), %rsi
	movl	%r15d, %edx
	subl	%eax, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_gen_create
	movl	%eax, %r12d
	movl	$-1, %eax
	testl	%r12d, %r12d
	js	LBB0_14
## %bb.12:
	addl	%r13d, %r12d
	subl	%r12d, %r15d
	cmpl	$11, %r15d
	jl	LBB0_14
## %bb.13:
	movq	_tlsub_ret@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r12d, %rcx
	incl	%r12d
	movq	%rax, (%r14,%rcx,8)
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_IP_dup
	movl	%eax, 12(%rbx)
	movl	%r12d, 8(%rbx)
	movl	%r12d, %eax
	jmp	LBB0_14
LBB0_8:
	movl	$-1, %eax
LBB0_14:
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_tls_store_int,8,3              ## @tls_store_int
	.comm	_FLAG_OPT_VAR,4,2               ## @FLAG_OPT_VAR
	.comm	_FLAG_EXCL,4,2                  ## @FLAG_EXCL
	.comm	_tlsub_ret,8,3                  ## @tlsub_ret
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_function_store             ; -- Begin function gen_function_store
	.p2align	2
_gen_function_store:                    ; @gen_function_store
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	cmp	w2, #11
	b.ge	LBB0_2
; %bb.1:
	mov	w21, #-1
	b	LBB0_16
LBB0_2:
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0, #12]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	mov	x23, sp
Lloh3:
	adrp	x8, _tls_store_int@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tls_store_int@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x19, #32]
	stp	x8, x9, [x20]
	ldr	w8, [x19]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	w8, [x19]
	lsl	w2, w8, #2
	mov	x0, x22
	mov	w1, #0
	bl	_memset
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.3:
	mov	x25, #0
	mov	w24, #2
Lloh8:
	adrp	x26, _FLAG_OPT_VAR@GOTPAGE
Lloh9:
	ldr	x26, [x26, _FLAG_OPT_VAR@GOTPAGEOFF]
Lloh10:
	adrp	x27, _FLAG_EXCL@GOTPAGE
Lloh11:
	ldr	x27, [x27, _FLAG_EXCL@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	w5, #0
	bl	_gen_field
	tbnz	w0, #31, LBB0_13
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w24, w0, w24
	ldr	w8, [x19, #4]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x25, x25, #1
	cmp	x25, w8, sxtw
	b.ge	LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #24]
	ldr	x0, [x9, x25, lsl #3]
	ldr	w9, [x0]
	ldr	w10, [x26]
	tst	w10, w9
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x27]
	add	x1, x20, w24, sxtw #3
	sub	w2, w21, w24
	add	x4, x25, #1
	mov	x3, x22
                                        ; kill: def $w4 killed $w4 killed $x4
	and	w8, w8, w9
	cbz	w8, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_gen_field_excl
	tbz	w0, #31, LBB0_5
	b	LBB0_13
LBB0_10:
	mov	w24, #2
LBB0_11:
	ldr	w0, [x19, #16]
	add	x1, x20, w24, sxtw #3
	sub	w2, w21, w24
	mov	x3, x22
	bl	_gen_create
	tbnz	w0, #31, LBB0_13
; %bb.12:
	add	w8, w0, w24
	sub	w9, w21, w8
	cmp	w9, #11
	b.ge	LBB0_14
LBB0_13:
	mov	w21, #-1
	b	LBB0_15
LBB0_14:
Lloh12:
	adrp	x9, _tlsub_ret@GOTPAGE
Lloh13:
	ldr	x9, [x9, _tlsub_ret@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	w21, w8, #1
	str	x9, [x20, w8, sxtw #3]
	mov	x0, x20
	mov	x1, x21
	bl	_IP_dup
	stp	w21, w0, [x19, #8]
LBB0_15:
	mov	sp, x23
LBB0_16:
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x21
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_tls_store_int,8,3              ; @tls_store_int
	.comm	_FLAG_OPT_VAR,4,2               ; @FLAG_OPT_VAR
	.comm	_FLAG_EXCL,4,2                  ; @FLAG_EXCL
	.comm	_tlsub_ret,8,3                  ; @tlsub_ret
.subsections_via_symbols
