	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function NativeFunction_toString
_NativeFunction_toString:               ## @NativeFunction_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	callq	_lstrlenW
	movl	%eax, %r12d
	jmp	LBB0_3
LBB0_1:
	xorl	%r12d, %r12d
LBB0_3:
	leaq	_NativeFunction_toString.native_prefixW(%rip), %rdi
	callq	_ARRAY_SIZE
	movq	%rax, %rbx
	leaq	_NativeFunction_toString.native_suffixW(%rip), %rdi
	callq	_ARRAY_SIZE
	movslq	%r12d, %r13
	addq	%r13, %rbx
	addq	%rax, %rbx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_jsstr_alloc_buf
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	-48(%rbp), %rdi
	leaq	_NativeFunction_toString.native_prefixW(%rip), %rbx
	movq	%rbx, %rsi
	movl	$10, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	addq	-48(%rbp), %rax
	movq	%rax, -48(%rbp)
	movq	(%r15), %rsi
	movq	%rax, %rdi
	movl	%r13d, %edx
	callq	_memcpy
	addq	-48(%rbp), %r13
	movq	%r13, -48(%rbp)
	leaq	_NativeFunction_toString.native_suffixW(%rip), %rsi
	movq	%r13, %rdi
	movl	$25, %edx
	callq	_memcpy
	movq	%r12, (%r14)
	movq	_S_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_NativeFunction_toString.native_prefixW: ## @NativeFunction_toString.native_prefixW
	.ascii	"\nfunction "

	.p2align	4                               ## @NativeFunction_toString.native_suffixW
_NativeFunction_toString.native_suffixW:
	.ascii	"() {\n    [native code]\n}\n"

	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_NativeFunction_toString
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function NativeFunction_toString
_NativeFunction_toString:               ; @NativeFunction_toString
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_lstrlenW
	mov	x21, x0
	b	LBB0_3
LBB0_2:
	mov	w21, #0
LBB0_3:
Lloh0:
	adrp	x0, _NativeFunction_toString.native_prefixW@PAGE
Lloh1:
	add	x0, x0, _NativeFunction_toString.native_prefixW@PAGEOFF
	bl	_ARRAY_SIZE
	mov	x23, x0
Lloh2:
	adrp	x0, _NativeFunction_toString.native_suffixW@PAGE
Lloh3:
	add	x0, x0, _NativeFunction_toString.native_suffixW@PAGEOFF
	bl	_ARRAY_SIZE
	sxtw	x22, w21
	add	x8, x23, x22
	add	x0, x8, x0
	add	x1, sp, #8
	bl	_jsstr_alloc_buf
	cbz	x0, LBB0_5
; %bb.4:
	mov	x21, x0
	ldr	x0, [sp, #8]
Lloh4:
	adrp	x23, _NativeFunction_toString.native_prefixW@PAGE
Lloh5:
	add	x23, x23, _NativeFunction_toString.native_prefixW@PAGEOFF
	mov	x1, x23
	mov	w2, #10
	bl	_memcpy
	mov	x0, x23
	bl	_ARRAY_SIZE
	ldr	x8, [sp, #8]
	add	x0, x8, x0
	str	x0, [sp, #8]
	ldr	x1, [x20]
	mov	x2, x22
	bl	_memcpy
	ldr	x8, [sp, #8]
	add	x0, x8, x22
	str	x0, [sp, #8]
Lloh6:
	adrp	x1, _NativeFunction_toString.native_suffixW@PAGE
Lloh7:
	add	x1, x1, _NativeFunction_toString.native_suffixW@PAGEOFF
	mov	w2, #25
	bl	_memcpy
	str	x21, [x19]
Lloh8:
	adrp	x8, _S_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_NativeFunction_toString.native_prefixW: ; @NativeFunction_toString.native_prefixW
	.ascii	"\nfunction "

_NativeFunction_toString.native_suffixW: ; @NativeFunction_toString.native_suffixW
	.ascii	"() {\n    [native code]\n}\n"

	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_NativeFunction_toString
.subsections_via_symbols
