	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ArrayConstr_value
_ArrayConstr_value:                     ## @ArrayConstr_value
	.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
	movq	%r9, %r14
	movq	%r8, %r15
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movl	%ebx, %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_15
## %bb.1:
	cmpl	$1, %r12d
	jne	LBB0_8
## %bb.2:
	movl	(%r15), %edi
	callq	_is_number
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	movl	(%r15), %edi
	callq	_get_number
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	ja	LBB0_18
## %bb.4:
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	callq	_is_int32
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	testl	%eax, %eax
	je	LBB0_18
## %bb.5:
	cvttsd2si	%xmm0, %rsi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_create_array
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_FAILED
	testl	%eax, %eax
	jne	LBB0_17
## %bb.6:
	movq	-48(%rbp), %rdi
	jmp	LBB0_7
LBB0_15:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_FIXME
	movq	_E_NOTIMPL@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %r13d
	jmp	LBB0_17
LBB0_8:
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_create_array
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_FAILED
	testl	%eax, %eax
	jne	LBB0_17
## %bb.9:
	testl	%r12d, %r12d
	je	LBB0_13
## %bb.10:
	movl	%r12d, %r12d
	decq	%r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi
	movl	(%r15,%rbx,4), %edx
	movl	%ebx, %esi
	callq	_jsdisp_propput_idx
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_FAILED
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	1(%rbx), %rax
	cmpq	%rbx, %r12
	movq	%rax, %rbx
	jne	LBB0_11
LBB0_13:
	movl	%r13d, %edi
	callq	_FAILED
	movq	-48(%rbp), %rdi
	testl	%eax, %eax
	je	LBB0_7
## %bb.14:
	callq	_jsdisp_release
LBB0_17:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	_JS_E_INVALID_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_throw_range_error              ## TAILCALL
LBB0_7:
	callq	_jsval_obj
	movl	%eax, (%r14)
	movq	_S_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_JS_E_INVALID_LENGTH,4,2        ## @JS_E_INVALID_LENGTH
	.comm	_S_OK,4,2                       ## @S_OK
L_.str.1:                               ## @.str.1
	.asciz	"unimplemented flags: %x\n"

	.comm	_E_NOTIMPL,4,2                  ## @E_NOTIMPL
	.no_dead_strip	_ArrayConstr_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ArrayConstr_value
_ArrayConstr_value:                     ; @ArrayConstr_value
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d9, d8, [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 b8, -72
	.cfi_offset b9, -80
	mov	x19, x5
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	and	w8, w23, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.1:
	cmp	w22, #1
	b.ne	LBB0_9
; %bb.2:
	ldr	w0, [x20]
	bl	_is_number
	cbz	w0, LBB0_9
; %bb.3:
	ldr	w0, [x20]
	bl	_get_number
	fcmp	d0, #0.0
	b.mi	LBB0_16
; %bb.4:
	fmov	d8, d0
	bl	_is_int32
	cbz	w0, LBB0_16
; %bb.5:
	fcvtzu	w1, d8
	add	x2, sp, #8
	mov	x0, x21
	bl	_create_array
	mov	x21, x0
	bl	_FAILED
	cbnz	w0, LBB0_15
; %bb.6:
	ldr	x0, [sp, #8]
	b	LBB0_17
LBB0_7:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x23
	bl	_FIXME
Lloh4:
	adrp	x8, _E_NOTIMPL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _E_NOTIMPL@GOTPAGEOFF]
LBB0_8:
	ldr	w21, [x8]
	b	LBB0_15
LBB0_9:
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x22
	bl	_create_array
	mov	x21, x0
	bl	_FAILED
	cbnz	w0, LBB0_15
; %bb.10:
	cbz	w22, LBB0_13
; %bb.11:
	mov	x23, #0
	mov	w8, w22
	sub	x22, x8, #1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #8]
	ldr	w2, [x20, x23, lsl #2]
	mov	x1, x23
	bl	_jsdisp_propput_idx
	mov	x21, x0
	bl	_FAILED
	cmp	w0, #0
	ccmp	x22, x23, #4, eq
	add	x23, x23, #1
	b.ne	LBB0_12
LBB0_13:
	mov	x0, x21
	bl	_FAILED
	mov	x8, x0
	ldr	x0, [sp, #8]
	cbz	w8, LBB0_17
; %bb.14:
	bl	_jsdisp_release
LBB0_15:
	mov	x0, x21
	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	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_16:
Lloh6:
	adrp	x8, _JS_E_INVALID_LENGTH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _JS_E_INVALID_LENGTH@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	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	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_throw_range_error
LBB0_17:
	bl	_jsval_obj
	str	w0, [x19]
Lloh9:
	adrp	x8, _S_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_JS_E_INVALID_LENGTH,4,2        ; @JS_E_INVALID_LENGTH
	.comm	_S_OK,4,2                       ; @S_OK
l_.str.1:                               ; @.str.1
	.asciz	"unimplemented flags: %x\n"

	.comm	_E_NOTIMPL,4,2                  ; @E_NOTIMPL
	.no_dead_strip	_ArrayConstr_value
.subsections_via_symbols
