	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Object_toString
_Object_toString:                       ## @Object_toString
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%rsi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movq	%rbx, %rdi
	callq	_get_jsdisp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	cmpq	$7, %rax
	jne	LBB0_4
LBB0_11:
	movq	_JSCLASS_NONE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_assert
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_FIXME
	movq	_E_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_1:
	leaq	_Object_toString.objectW(%rip), %r15
	testq	%r14, %r14
	jne	LBB0_6
	jmp	LBB0_9
LBB0_4:
	leaq	_Object_toString.names(%rip), %rcx
	movq	(%rcx,%rax,8), %r15
	testq	%r14, %r14
	je	LBB0_9
LBB0_6:
	movq	%r15, %rdi
	callq	_lstrlenW
	leaq	9(%rax), %rdi
	leaq	-32(%rbp), %rsi
	callq	_jsstr_alloc_buf
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %rbx
	movq	-32(%rbp), %rdi
	leaq	_Object_toString.formatW(%rip), %rsi
	movq	%r15, %rdx
	callq	_swprintf
	movq	%rbx, %rdi
	callq	_jsval_string
	movl	%eax, (%r14)
LBB0_9:
	movq	_S_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_7:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_Object_toString.formatW:               ## @Object_toString.formatW
	.asciz	"[object %s]"

_Object_toString.arrayW:                ## @Object_toString.arrayW
	.asciz	"Array"

_Object_toString.booleanW:              ## @Object_toString.booleanW
	.asciz	"Boolean"

_Object_toString.dateW:                 ## @Object_toString.dateW
	.asciz	"Date"

_Object_toString.errorW:                ## @Object_toString.errorW
	.asciz	"Error"

_Object_toString.functionW:             ## @Object_toString.functionW
	.asciz	"Function"

_Object_toString.mathW:                 ## @Object_toString.mathW
	.asciz	"Math"

_Object_toString.numberW:               ## @Object_toString.numberW
	.asciz	"Number"

_Object_toString.objectW:               ## @Object_toString.objectW
	.asciz	"Object"

_Object_toString.regexpW:               ## @Object_toString.regexpW
	.asciz	"RegExp"

_Object_toString.stringW:               ## @Object_toString.stringW
	.asciz	"String"

	.section	__DATA,__const
	.p2align	4                               ## @Object_toString.names
_Object_toString.names:
	.quad	0
	.quad	_Object_toString.arrayW
	.quad	_Object_toString.booleanW
	.quad	_Object_toString.dateW
	.quad	_Object_toString.objectW
	.quad	_Object_toString.errorW
	.quad	_Object_toString.functionW
	.quad	0
	.quad	_Object_toString.mathW
	.quad	_Object_toString.numberW
	.quad	_Object_toString.objectW
	.quad	_Object_toString.regexpW
	.quad	_Object_toString.stringW
	.quad	_Object_toString.objectW
	.quad	_Object_toString.objectW
	.quad	_Object_toString.objectW

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_JSCLASS_NONE,8,3               ## @JSCLASS_NONE
L_.str.1:                               ## @.str.1
	.asciz	"jdisp->builtin_info->class = %d\n"

	.comm	_E_FAIL,4,2                     ## @E_FAIL
	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_Object_toString
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Object_toString
_Object_toString:                       ; @Object_toString
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x5
	mov	x20, x1
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	mov	x0, x20
	bl	_get_jsdisp
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	x8, #7, #4, ne
	b.ne	LBB0_4
; %bb.2:
Lloh2:
	adrp	x9, _JSCLASS_NONE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _JSCLASS_NONE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_assert
	ldr	x8, [x20]
	ldr	x1, [x8]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_FIXME
Lloh7:
	adrp	x8, _E_FAIL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _E_FAIL@GOTPAGEOFF]
	b	LBB0_9
LBB0_3:
Lloh9:
	adrp	x20, _Object_toString.objectW@PAGE
Lloh10:
	add	x20, x20, _Object_toString.objectW@PAGEOFF
	cbnz	x19, LBB0_5
	b	LBB0_7
LBB0_4:
Lloh11:
	adrp	x9, _Object_toString.names@PAGE
Lloh12:
	add	x9, x9, _Object_toString.names@PAGEOFF
	ldr	x20, [x9, x8, lsl #3]
	cbz	x19, LBB0_7
LBB0_5:
	mov	x0, x20
	bl	_lstrlenW
	add	x0, x0, #9
	add	x1, sp, #8
	bl	_jsstr_alloc_buf
	cbz	x0, LBB0_8
; %bb.6:
	mov	x21, x0
	ldr	x0, [sp, #8]
Lloh13:
	adrp	x1, _Object_toString.formatW@PAGE
Lloh14:
	add	x1, x1, _Object_toString.formatW@PAGEOFF
	mov	x2, x20
	bl	_swprintf
	mov	x0, x21
	bl	_jsval_string
	str	w0, [x19]
LBB0_7:
Lloh15:
	adrp	x8, _S_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh17:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_Object_toString.formatW:               ; @Object_toString.formatW
	.asciz	"[object %s]"

_Object_toString.arrayW:                ; @Object_toString.arrayW
	.asciz	"Array"

_Object_toString.booleanW:              ; @Object_toString.booleanW
	.asciz	"Boolean"

_Object_toString.dateW:                 ; @Object_toString.dateW
	.asciz	"Date"

_Object_toString.errorW:                ; @Object_toString.errorW
	.asciz	"Error"

_Object_toString.functionW:             ; @Object_toString.functionW
	.asciz	"Function"

_Object_toString.mathW:                 ; @Object_toString.mathW
	.asciz	"Math"

_Object_toString.numberW:               ; @Object_toString.numberW
	.asciz	"Number"

_Object_toString.objectW:               ; @Object_toString.objectW
	.asciz	"Object"

_Object_toString.regexpW:               ; @Object_toString.regexpW
	.asciz	"RegExp"

_Object_toString.stringW:               ; @Object_toString.stringW
	.asciz	"String"

	.section	__DATA,__const
	.p2align	3                               ; @Object_toString.names
_Object_toString.names:
	.quad	0
	.quad	_Object_toString.arrayW
	.quad	_Object_toString.booleanW
	.quad	_Object_toString.dateW
	.quad	_Object_toString.objectW
	.quad	_Object_toString.errorW
	.quad	_Object_toString.functionW
	.quad	0
	.quad	_Object_toString.mathW
	.quad	_Object_toString.numberW
	.quad	_Object_toString.objectW
	.quad	_Object_toString.regexpW
	.quad	_Object_toString.stringW
	.quad	_Object_toString.objectW
	.quad	_Object_toString.objectW
	.quad	_Object_toString.objectW

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_JSCLASS_NONE,8,3               ; @JSCLASS_NONE
l_.str.1:                               ; @.str.1
	.asciz	"jdisp->builtin_info->class = %d\n"

	.comm	_E_FAIL,4,2                     ; @E_FAIL
	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_Object_toString
.subsections_via_symbols
