	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Array_forEach
_Array_forEach:                         ## @Array_forEach
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movl	%ecx, %r14d
	movq	%rsi, %r12
	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	-80(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_get_length
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_21
## %bb.1:
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.2:
	movl	(%r15), %edi
	callq	_is_object_instance
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	(%r15), %edi
	callq	_get_object
	testl	%eax, %eax
	je	LBB0_4
## %bb.7:
	cmpl	$2, %r14d
	jb	LBB0_10
## %bb.8:
	movl	4(%r15), %edi
	callq	_is_undefined
	testl	%eax, %eax
	je	LBB0_9
LBB0_10:
	cmpl	$0, -64(%rbp)
	je	LBB0_17
## %bb.11:
	xorl	%ebx, %ebx
	leaq	-68(%rbp), %r14
	movq	_DISP_E_UNKNOWNNAME@GOTPCREL(%rip), %r12
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	incl	%ebx
	cmpl	-64(%rbp), %ebx
	jae	LBB0_17
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_jsdisp_get_idx
	cmpl	(%r12), %eax
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r15, %r13
	movq	%r14, %r12
	movl	-68(%rbp), %eax
	movl	%eax, -60(%rbp)
	movl	%ebx, %edi
	callq	_jsval_number
	movl	%eax, -56(%rbp)
	movq	-80(%rbp), %rdi
	callq	_jsval_obj
	movl	%eax, -52(%rbp)
	movl	(%r15), %edi
	callq	_get_object
	movl	%eax, %r14d
	movq	_DISPATCH_METHOD@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	-60(%rbp), %rdi
	callq	_ARRAY_SIZE
	leaq	-72(%rbp), %rcx
	movq	%rcx, (%rsp)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	xorl	%edx, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	leaq	-60(%rbp), %r9
	callq	_disp_call_value
	movl	%eax, %r13d
	movl	-68(%rbp), %edi
	callq	_jsval_release
	movl	%r13d, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	-72(%rbp), %edi
	callq	_jsval_release
	movq	%r12, %r14
	movq	_DISP_E_UNKNOWNNAME@GOTPCREL(%rip), %r12
	jmp	LBB0_16
LBB0_4:
	movl	(%r15), %edi
	jmp	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	callq	_jsval_undefined
	movl	%eax, %edi
LBB0_6:
	callq	_debugstr_jsval
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_FIXME
	movq	_E_INVALIDARG@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %r13d
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	movl	%r13d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.18:
	xorl	%eax, %eax
	callq	_jsval_undefined
	movl	%eax, (%rbx)
LBB0_19:
	movq	_S_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_9:
	movl	4(%r15), %edi
	callq	_debugstr_jsval
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_FIXME
	movq	_E_NOTIMPL@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid arg %s\n"

	.comm	_E_INVALIDARG,4,2               ## @E_INVALIDARG
L_.str.2:                               ## @.str.2
	.asciz	"Unsupported context this %s\n"

	.comm	_E_NOTIMPL,4,2                  ## @E_NOTIMPL
	.comm	_DISP_E_UNKNOWNNAME,4,2         ## @DISP_E_UNKNOWNNAME
	.comm	_DISPATCH_METHOD,4,2            ## @DISPATCH_METHOD
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_Array_forEach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Array_forEach
_Array_forEach:                         ; @Array_forEach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x4
	mov	x22, x3
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x21
	mov	x1, x23
	bl	_get_length
	mov	x23, x0
	bl	_FAILED
	cbnz	x0, LBB0_17
; %bb.1:
	cbz	w22, LBB0_14
; %bb.2:
	ldr	w0, [x20]
	bl	_is_object_instance
	cbz	w0, LBB0_13
; %bb.3:
	ldr	w0, [x20]
	bl	_get_object
	cbz	w0, LBB0_13
; %bb.4:
	cmp	w22, #2
	b.lo	LBB0_6
; %bb.5:
	ldr	w0, [x20, #4]
	bl	_is_undefined
	cbz	w0, LBB0_22
LBB0_6:
	ldr	w8, [sp, #4]
	cbz	w8, LBB0_19
; %bb.7:
	mov	w22, #0
Lloh5:
	adrp	x25, _DISP_E_UNKNOWNNAME@GOTPAGE
Lloh6:
	ldr	x25, [x25, _DISP_E_UNKNOWNNAME@GOTPAGEOFF]
Lloh7:
	adrp	x26, _DISPATCH_METHOD@GOTPAGE
Lloh8:
	ldr	x26, [x26, _DISPATCH_METHOD@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w22, w22, #1
	ldr	w8, [sp, #4]
	cmp	w22, w8
	b.hs	LBB0_19
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #8]
	add	x2, sp, #24
	mov	x1, x22
	bl	_jsdisp_get_idx
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x23, x0
	bl	_FAILED
	cbnz	x0, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [sp, #24]
	str	w8, [sp, #28]
	mov	x0, x22
	bl	_jsval_number
	str	w0, [sp, #32]
	ldr	x0, [sp, #8]
	bl	_jsval_obj
	str	w0, [sp, #36]
	ldr	w0, [x20]
	bl	_get_object
	mov	x23, x0
	ldr	w24, [x26]
	add	x0, sp, #28
	bl	_ARRAY_SIZE
	mov	x4, x0
	add	x5, sp, #28
	add	x6, sp, #20
	mov	x0, x21
	mov	x1, x23
	mov	x2, #0
	mov	x3, x24
	bl	_disp_call_value
	mov	x23, x0
	ldr	w0, [sp, #24]
	bl	_jsval_release
	mov	x0, x23
	bl	_FAILED
	cbnz	x0, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [sp, #20]
	bl	_jsval_release
	b	LBB0_8
LBB0_13:
	ldr	w0, [x20]
	b	LBB0_15
LBB0_14:
	bl	_jsval_undefined
LBB0_15:
	bl	_debugstr_jsval
	mov	x1, x0
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_FIXME
Lloh11:
	adrp	x8, _E_INVALIDARG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _E_INVALIDARG@GOTPAGEOFF]
LBB0_16:
	ldr	w23, [x8]
LBB0_17:
	ldr	x8, [sp, #40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.18:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_19:
	cbz	x19, LBB0_21
; %bb.20:
	bl	_jsval_undefined
	str	w0, [x19]
LBB0_21:
Lloh16:
	adrp	x8, _S_OK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
	b	LBB0_16
LBB0_22:
	ldr	w0, [x20, #4]
	bl	_debugstr_jsval
	mov	x1, x0
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_FIXME
Lloh20:
	adrp	x8, _E_NOTIMPL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _E_NOTIMPL@GOTPAGEOFF]
	b	LBB0_16
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid arg %s\n"

	.comm	_E_INVALIDARG,4,2               ; @E_INVALIDARG
l_.str.2:                               ; @.str.2
	.asciz	"Unsupported context this %s\n"

	.comm	_E_NOTIMPL,4,2                  ; @E_NOTIMPL
	.comm	_DISP_E_UNKNOWNNAME,4,2         ; @DISP_E_UNKNOWNNAME
	.comm	_DISPATCH_METHOD,4,2            ; @DISPATCH_METHOD
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_Array_forEach
.subsections_via_symbols
