	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_array
_store_array:                           ## @store_array
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_readreg
	testl	%eax, %eax
	js	LBB0_11
## %bb.1:
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_pop_number
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_pop
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_get_ulong
	movl	%eax, %r12d
	movl	(%r15), %edi
	callq	_BN_is_negative
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_5
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ULONG_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_8
## %bb.7:
	movq	_MAX_ARRAY_INDEX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jg	LBB0_8
## %bb.9:
	movq	_bmachine@GOTPCREL(%rip), %rax
	movl	%ebx, %edi
	shlq	$2, %rdi
	addq	(%rax), %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	callq	_frame_assign
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
LBB0_5:
	callq	_warnx
	movq	%r14, %rdi
	callq	_stack_free_value
LBB0_10:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free_number                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"negative idx"

	.comm	_ULONG_MAX,4,2                  ## @ULONG_MAX
	.comm	_MAX_ARRAY_INDEX,4,2            ## @MAX_ARRAY_INDEX
L_.str.1:                               ## @.str.1
	.asciz	"idx too big"

	.comm	_bmachine,8,3                   ## @bmachine
	.no_dead_strip	_store_array
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_array
_store_array:                           ; @store_array
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_readreg
	tbnz	w0, #31, LBB0_5
; %bb.1:
	mov	x21, x0
	bl	_pop_number
	cbz	x0, LBB0_5
; %bb.2:
	mov	x19, x0
	bl	_pop
	cbz	x0, LBB0_10
; %bb.3:
	mov	x20, x0
	mov	x0, x19
	bl	_get_ulong
	mov	x22, x0
	ldr	w0, [x19]
	bl	_BN_is_negative
	cbz	x0, LBB0_6
; %bb.4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh2:
	adrp	x8, _ULONG_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ULONG_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _MAX_ARRAY_INDEX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAX_ARRAY_INDEX@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w22, w8
	ccmp	w22, w9, #0, ne
	b.le	LBB0_9
; %bb.7:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_8:
	bl	_warnx
	mov	x0, x20
	bl	_stack_free_value
	b	LBB0_10
LBB0_9:
Lloh10:
	adrp	x8, _bmachine@GOTPAGE
Lloh11:
	ldr	x8, [x8, _bmachine@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	add	x0, x8, w21, uxtw #2
	mov	x1, x22
	mov	x2, x20
	bl	_frame_assign
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_free_number
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"negative idx"

	.comm	_ULONG_MAX,4,2                  ; @ULONG_MAX
	.comm	_MAX_ARRAY_INDEX,4,2            ; @MAX_ARRAY_INDEX
l_.str.1:                               ; @.str.1
	.asciz	"idx too big"

	.comm	_bmachine,8,3                   ; @bmachine
	.no_dead_strip	_store_array
.subsections_via_symbols
