	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Array_map
_Array_map:                             ## @Array_map
	.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	$88, %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
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	leaq	-104(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_get_length
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_FIXME
	jmp	LBB0_13
LBB0_2:
	testl	%r12d, %r12d
	je	LBB0_10
## %bb.3:
	movl	(%r15), %edi
	callq	_is_object_instance
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movl	(%r15), %edi
	callq	_get_object
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movl	(%r15), %edi
	callq	_get_object
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	cmpl	$2, %r12d
	jb	LBB0_16
## %bb.6:
	movl	4(%r15), %edi
	callq	_is_object_instance
	testq	%rax, %rax
	je	LBB0_15
## %bb.7:
	movl	4(%r15), %edi
	callq	_get_object
	testq	%rax, %rax
	je	LBB0_15
## %bb.8:
	movl	4(%r15), %edi
	callq	_get_object
	jmp	LBB0_17
LBB0_9:
	movl	(%r15), %edi
	jmp	LBB0_11
LBB0_10:
	xorl	%eax, %eax
	callq	_jsval_undefined
	movl	%eax, %edi
LBB0_11:
	callq	_debugstr_jsval
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_FIXME
	movq	_E_INVALIDARG@GOTPCREL(%rip), %rax
LBB0_12:
	movq	(%rax), %rbx
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.14:
	movq	%rbx, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	4(%r15), %edi
	callq	_is_undefined
	testl	%eax, %eax
	je	LBB0_29
LBB0_16:
	xorl	%eax, %eax
LBB0_17:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rsi
	leaq	-96(%rbp), %rdx
	movq	%r13, %rdi
	callq	_create_array
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_13
## %bb.18:
	cmpq	$0, -80(%rbp)
	jle	LBB0_25
## %bb.19:
	xorl	%r15d, %r15d
	leaq	-60(%rbp), %r12
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_21 Depth=1
	incq	%r15
	cmpq	-80(%rbp), %r15
	jge	LBB0_25
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	-104(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_jsdisp_get_idx
	movq	%rax, %rbx
	movq	_DISP_E_UNKNOWNNAME@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%rbx, %rdi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r15, %rdi
	callq	_jsval_number
	movl	%eax, -56(%rbp)
	movq	-104(%rbp), %rdi
	callq	_jsval_obj
	movl	%eax, -52(%rbp)
	movq	_DISPATCH_METHOD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-84(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r13, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	$3, %r8d
	movq	%r12, %r9
	callq	_disp_call_value
	movq	%rax, %rbx
	movl	-60(%rbp), %edi
	callq	_jsval_release
	movq	%rbx, %rdi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-96(%rbp), %rdi
	movl	-84(%rbp), %edx
	movq	%r15, %rsi
	callq	_jsdisp_propput_idx
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_20
LBB0_25:
	movq	%rbx, %rdi
	callq	_SUCCEEDED
	movq	-96(%rbp), %rdi
	testq	%r14, %r14
	je	LBB0_28
## %bb.26:
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	callq	_jsval_obj
	movl	%eax, (%r14)
	jmp	LBB0_13
LBB0_28:
	callq	_jsdisp_release
	jmp	LBB0_13
LBB0_29:
	movl	4(%r15), %edi
	callq	_debugstr_jsval
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_FIXME
	movq	_E_NOTIMPL@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"Could not get length\n"

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

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

	.comm	_E_NOTIMPL,8,3                  ## @E_NOTIMPL
	.comm	_DISP_E_UNKNOWNNAME,8,3         ## @DISP_E_UNKNOWNNAME
	.comm	_DISPATCH_METHOD,4,2            ## @DISPATCH_METHOD
	.no_dead_strip	_Array_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Array_map
_Array_map:                             ; @Array_map
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x22, x4
	mov	x24, x3
	mov	x21, 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, #56]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	add	x2, sp, #32
	add	x3, sp, #16
	mov	x0, x20
	mov	x1, x21
	bl	_get_length
	mov	x23, x0
	bl	_FAILED
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_FIXME
	b	LBB0_13
LBB0_2:
	cbz	w24, LBB0_10
; %bb.3:
	ldr	w0, [x22]
	bl	_is_object_instance
	cbz	x0, LBB0_9
; %bb.4:
	ldr	w0, [x22]
	bl	_get_object
	cbz	x0, LBB0_9
; %bb.5:
	ldr	w0, [x22]
	bl	_get_object
	mov	x21, x0
	cmp	w24, #2
	b.lo	LBB0_16
; %bb.6:
	ldr	w0, [x22, #4]
	bl	_is_object_instance
	cbz	x0, LBB0_15
; %bb.7:
	ldr	w0, [x22, #4]
	bl	_get_object
	cbz	x0, LBB0_15
; %bb.8:
	ldr	w0, [x22, #4]
	bl	_get_object
	mov	x22, x0
	b	LBB0_17
LBB0_9:
	ldr	w0, [x22]
	b	LBB0_11
LBB0_10:
	bl	_jsval_undefined
LBB0_11:
	bl	_debugstr_jsval
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_FIXME
Lloh9:
	adrp	x8, _E_INVALIDARG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _E_INVALIDARG@GOTPAGEOFF]
LBB0_12:
	ldr	x23, [x8]
LBB0_13:
	ldr	x8, [sp, #56]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.14:
	mov	x0, x23
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_15:
	ldr	w0, [x22, #4]
	bl	_is_undefined
	cbz	w0, LBB0_29
LBB0_16:
	mov	x22, #0
LBB0_17:
	ldr	x1, [sp, #16]
	add	x2, sp, #24
	mov	x0, x20
	bl	_create_array
	mov	x23, x0
	bl	_FAILED
	cbnz	x0, LBB0_13
; %bb.18:
	ldr	x8, [sp, #16]
	cmp	x8, #1
	b.lt	LBB0_25
; %bb.19:
	mov	x24, #0
Lloh14:
	adrp	x25, _DISP_E_UNKNOWNNAME@GOTPAGE
Lloh15:
	ldr	x25, [x25, _DISP_E_UNKNOWNNAME@GOTPAGEOFF]
Lloh16:
	adrp	x26, _DISPATCH_METHOD@GOTPAGE
Lloh17:
	ldr	x26, [x26, _DISPATCH_METHOD@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x24, x24, #1
	ldr	x8, [sp, #16]
	cmp	x24, x8
	b.ge	LBB0_25
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #32]
	add	x2, sp, #44
	mov	x1, x24
	bl	_jsdisp_get_idx
	mov	x23, x0
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x23
	bl	_FAILED
	cbnz	x0, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x24
	bl	_jsval_number
	str	w0, [sp, #48]
	ldr	x0, [sp, #32]
	bl	_jsval_obj
	str	w0, [sp, #52]
	ldr	w3, [x26]
	add	x5, sp, #44
	add	x6, sp, #40
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	w4, #3
	bl	_disp_call_value
	mov	x23, x0
	ldr	w0, [sp, #44]
	bl	_jsval_release
	mov	x0, x23
	bl	_FAILED
	cbnz	x0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x0, [sp, #24]
	ldr	w2, [sp, #40]
	mov	x1, x24
	bl	_jsdisp_propput_idx
	mov	x23, x0
	bl	_FAILED
	cbz	x0, LBB0_20
LBB0_25:
	mov	x0, x23
	bl	_SUCCEEDED
	mov	x8, x0
	ldr	x0, [sp, #24]
	cbz	x19, LBB0_28
; %bb.26:
	cbz	x8, LBB0_28
; %bb.27:
	bl	_jsval_obj
	str	w0, [x19]
	b	LBB0_13
LBB0_28:
	bl	_jsdisp_release
	b	LBB0_13
LBB0_29:
	ldr	w0, [x22, #4]
	bl	_debugstr_jsval
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_FIXME
Lloh20:
	adrp	x8, _E_NOTIMPL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _E_NOTIMPL@GOTPAGEOFF]
	b	LBB0_12
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.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	"Could not get length\n"

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

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

	.comm	_E_NOTIMPL,8,3                  ; @E_NOTIMPL
	.comm	_DISP_E_UNKNOWNNAME,8,3         ; @DISP_E_UNKNOWNNAME
	.comm	_DISPATCH_METHOD,4,2            ; @DISPATCH_METHOD
	.no_dead_strip	_Array_map
.subsections_via_symbols
