	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Array_reverse
_Array_reverse:                         ## @Array_reverse
	.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	%r9, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	leaq	-56(%rbp), %rdx
	leaq	-60(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_get_length
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_23
## %bb.1:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movl	-60(%rbp), %r12d
	cmpl	$2, %r12d
	jl	LBB0_20
## %bb.2:
	xorl	%r13d, %r13d
	movl	$-1, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi
	movl	%r13d, %esi
	leaq	-48(%rbp), %rdx
	callq	_jsdisp_get_idx
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_DISP_E_UNKNOWNNAME@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	addl	%r14d, %r12d
	movq	-56(%rbp), %rdi
	movl	%r12d, %esi
	leaq	-44(%rbp), %rdx
	callq	_jsdisp_get_idx
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_FAILED
	movq	_DISP_E_UNKNOWNNAME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rcx, %rbx
	jne	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rdi
	cmpq	%rcx, %r15
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, %esi
	callq	_jsdisp_delete_idx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-48(%rbp), %edx
	movl	%r12d, %esi
	callq	_jsdisp_propput_idx
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rdi
	movq	_DISP_E_UNKNOWNNAME@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%r13d, %esi
	callq	_jsdisp_delete_idx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %edx
	movl	%r13d, %esi
	callq	_jsdisp_propput_idx
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_19
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%r13d
	movl	-60(%rbp), %r12d
	movl	%r12d, %eax
	shrl	$31, %eax
	addl	%r12d, %eax
	sarl	%eax
	decl	%r14d
	cmpl	%eax, %r13d
	jl	LBB0_4
LBB0_20:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.21:
	movq	-56(%rbp), %rdi
	callq	_jsdisp_addref
	movl	%eax, %edi
	callq	_jsval_obj
	movl	%eax, (%rbx)
LBB0_22:
	movq	_S_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_23:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r15, %rbx
	jmp	LBB0_23
LBB0_9:
	movl	-48(%rbp), %edi
	callq	_jsval_release
	jmp	LBB0_23
LBB0_14:
	movl	-48(%rbp), %edi
	callq	_jsval_release
	movl	-44(%rbp), %edi
	callq	_jsval_release
	movq	%r15, %rbx
	jmp	LBB0_23
LBB0_19:
	movl	-44(%rbp), %edi
	callq	_jsval_release
	jmp	LBB0_23
	.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_reverse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Array_reverse
_Array_reverse:                         ; @Array_reverse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x5
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	add	x2, sp, #24
	add	x3, sp, #20
	mov	x0, x21
	mov	x1, x20
	bl	_get_length
	mov	x21, x0
	bl	_FAILED
	cbnz	x0, LBB0_20
; %bb.1:
	ldr	w22, [sp, #20]
	cmp	w22, #2
	b.lt	LBB0_14
; %bb.2:
	mov	w20, #0
	mov	w24, #-1
Lloh2:
	adrp	x25, _DISP_E_UNKNOWNNAME@GOTPAGE
Lloh3:
	ldr	x25, [x25, _DISP_E_UNKNOWNNAME@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #24]
	add	x2, sp, #16
	mov	x1, x20
	bl	_jsdisp_get_idx
	mov	x21, x0
	bl	_FAILED
	ldr	x8, [x25]
	cmp	x0, #0
	ccmp	x21, x8, #4, ne
	b.ne	LBB0_20
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w22, w24
	ldr	x0, [sp, #24]
	add	x2, sp, #12
	mov	x1, x23
	bl	_jsdisp_get_idx
	mov	x22, x0
	bl	_FAILED
	ldr	x8, [x25]
	cmp	x0, #0
	ccmp	x22, x8, #4, ne
	b.ne	LBB0_17
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #24]
	cmp	x21, x8
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x23
	bl	_jsdisp_delete_idx
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [sp, #16]
	mov	x1, x23
	bl	_jsdisp_propput_idx
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
	bl	_FAILED
	cbnz	x0, LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25]
	ldr	x0, [sp, #24]
	cmp	x22, x8
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x20
	bl	_jsdisp_delete_idx
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [sp, #12]
	mov	x1, x20
	bl	_jsdisp_propput_idx
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
	bl	_FAILED
	cbnz	x0, LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	add	w20, w20, #1
	ldr	w22, [sp, #20]
	cmp	w22, #0
	cinc	w8, w22, lt
	sub	w24, w24, #1
	cmp	w20, w8, asr #1
	b.lt	LBB0_3
LBB0_14:
	cbz	x19, LBB0_16
; %bb.15:
	ldr	x0, [sp, #24]
	bl	_jsdisp_addref
	bl	_jsval_obj
	str	w0, [x19]
LBB0_16:
Lloh4:
	adrp	x8, _S_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
Lloh6:
	ldr	x21, [x8]
	b	LBB0_20
LBB0_17:
	ldr	w0, [sp, #16]
	bl	_jsval_release
	mov	x21, x22
	b	LBB0_20
LBB0_18:
	ldr	w0, [sp, #16]
	bl	_jsval_release
LBB0_19:
	ldr	w0, [sp, #12]
	bl	_jsval_release
LBB0_20:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.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_reverse
.subsections_via_symbols
