	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Array_unshift
_Array_unshift:                         ## @Array_unshift
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -168(%rbp)                 ## 8-byte Spill
	movq	%r8, %r12
	movl	%ecx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	leaq	-128(%rbp), %rdx
	leaq	-116(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_get_length
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_1
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	movq	%r14, %rax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r12, -160(%rbp)                ## 8-byte Spill
	movq	%r15, -144(%rbp)                ## 8-byte Spill
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.2:
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	leaq	-112(%rbp), %rdi
	callq	_ARRAY_SIZE
	cltq
	movl	$0, -116(%rbp,%rax,4)
	movl	-116(%rbp), %r15d
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.3:
	leaq	-120(,%rax,4), %r12
	addq	%rbp, %r12
	decl	%r15d
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	addl	$-1, %r15d
	jae	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_idx_to_str
	movq	-128(%rbp), %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	leaq	-132(%rbp), %rcx
	callq	_jsdisp_get_id
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-128(%rbp), %rdi
	movl	-132(%rbp), %esi
	leaq	-136(%rbp), %rdx
	callq	_jsdisp_propget
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_21
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-128(%rbp), %rdi
	leal	(%rbx,%r15), %esi
	movl	-136(%rbp), %edx
	callq	_jsdisp_propput_idx
	movq	%rax, %r14
	movl	-136(%rbp), %edi
	callq	_jsval_release
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_DISP_E_UNKNOWNNAME@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %edi
	movl	-132(%rbp), %esi
	callq	_IDispatchEx_DeleteMemberByDispID
	movq	%rax, %r14
	jmp	LBB0_9
LBB0_10:
	movq	%r14, %rdi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_21
## %bb.11:
	movl	-144(%rbp), %r15d               ## 4-byte Reload
	xorl	%ebx, %ebx
	movq	-160(%rbp), %r12                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	-128(%rbp), %rdi
	movl	(%r12,%rbx,4), %edx
	movl	%ebx, %esi
	callq	_jsdisp_propput_idx
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_21
## %bb.12:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_13
## %bb.14:
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	addl	-116(%rbp), %esi
	movl	%esi, -116(%rbp)
	movq	-128(%rbp), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_set_length
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_FAILED
	testq	%rax, %rax
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_21
LBB0_15:
	movq	-168(%rbp), %r13                ## 8-byte Reload
	testq	%r13, %r13
	je	LBB0_20
## %bb.16:
	cmpl	$1, (%rbx)
	jg	LBB0_18
## %bb.17:
	xorl	%eax, %eax
	callq	_jsval_undefined
	jmp	LBB0_19
LBB0_18:
	movl	-116(%rbp), %edi
	callq	_jsval_number
LBB0_19:
	movl	%eax, (%r13)
LBB0_20:
	movq	_S_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_21
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_DISP_E_UNKNOWNNAME,8,3         ## @DISP_E_UNKNOWNNAME
	.comm	_S_OK,8,3                       ## @S_OK
	.no_dead_strip	_Array_unshift
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Array_unshift
_Array_unshift:                         ; @Array_unshift
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	mov	x19, x5
	mov	x22, x4
	mov	x21, x3
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #88]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	add	x2, sp, #24
	add	x3, sp, #20
	mov	x0, x20
	mov	x1, x23
	bl	_get_length
	mov	x24, x0
	bl	_FAILED
	cbz	x0, LBB0_3
LBB0_1:
	ldr	x8, [sp, #88]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.2:
	mov	x0, x24
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_3:
	cbz	w21, LBB0_17
; %bb.4:
	add	x25, sp, #32
	add	x0, sp, #32
	bl	_ARRAY_SIZE
	add	x8, x25, w0, sxtw #2
	stur	wzr, [x8, #-4]
	ldr	w9, [sp, #20]
	cbz	w9, LBB0_12
; %bb.5:
	sub	x25, x8, #8
	sub	w26, w9, #1
Lloh8:
	adrp	x27, _DISP_E_UNKNOWNNAME@GOTPAGE
Lloh9:
	ldr	x27, [x27, _DISP_E_UNKNOWNNAME@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	sub	w26, w26, #1
	cmn	w26, #1
	b.eq	LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x26
	mov	x1, x25
	bl	_idx_to_str
	mov	x1, x0
	ldr	x0, [sp, #24]
	add	x3, sp, #12
	mov	w2, #0
	bl	_jsdisp_get_id
	mov	x24, x0
	bl	_SUCCEEDED
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [sp, #24]
	ldr	w1, [sp, #12]
	add	x2, sp, #16
	bl	_jsdisp_propget
	mov	x24, x0
	bl	_FAILED
	cbnz	x0, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [sp, #24]
	add	w1, w21, w26
	ldr	w2, [sp, #16]
	bl	_jsdisp_propput_idx
	mov	x24, x0
	ldr	w0, [sp, #16]
	bl	_jsval_release
	b	LBB0_6
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x27]
	cmp	x24, x8
	b.ne	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x23]
	ldr	w1, [sp, #12]
	bl	_IDispatchEx_DeleteMemberByDispID
	mov	x24, x0
	b	LBB0_6
LBB0_12:
	mov	x0, x24
	bl	_FAILED
	cbnz	x0, LBB0_1
; %bb.13:
	mov	x23, #0
	mov	w25, w21
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #24]
	ldr	w2, [x22, x23, lsl #2]
	mov	x1, x23
	bl	_jsdisp_propput_idx
	mov	x24, x0
	bl	_FAILED
	cbnz	x0, LBB0_1
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x23, x23, #1
	cmp	x25, x23
	b.ne	LBB0_14
; %bb.16:
	ldr	w8, [sp, #20]
	add	w1, w8, w21
	str	w1, [sp, #20]
	ldr	x0, [sp, #24]
	bl	_set_length
	mov	x24, x0
	bl	_FAILED
	cbnz	x0, LBB0_1
LBB0_17:
	cbz	x19, LBB0_22
; %bb.18:
	ldr	w8, [x20]
	cmp	w8, #1
	b.gt	LBB0_20
; %bb.19:
	bl	_jsval_undefined
	b	LBB0_21
LBB0_20:
	ldr	w0, [sp, #20]
	bl	_jsval_number
LBB0_21:
	str	w0, [x19]
LBB0_22:
Lloh10:
	adrp	x8, _S_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
Lloh12:
	ldr	x24, [x8]
	b	LBB0_1
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_DISP_E_UNKNOWNNAME,8,3         ; @DISP_E_UNKNOWNNAME
	.comm	_S_OK,8,3                       ; @S_OK
	.no_dead_strip	_Array_unshift
.subsections_via_symbols
