	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Array_join
_Array_join:                            ## @Array_join
	.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	%r8, %r12
	movl	%ecx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	leaq	-64(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_get_length
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.2:
	movl	(%r12), %esi
	leaq	-56(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	movq	%r15, %rdi
	callq	_to_flat_string
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	-64(%rbp), %rbx
	movl	-44(%rbp), %r12d
	movq	-72(%rbp), %r13
	movq	-56(%rbp), %rdi
	callq	_jsstr_length
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	movq	%r13, %rcx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_array_join
	movl	%eax, %ebx
	movq	-56(%rbp), %rdi
	callq	_jsstr_release
	jmp	LBB0_5
LBB0_4:
	movq	-64(%rbp), %r13
	movl	-44(%rbp), %r12d
	movq	_default_separatorW@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_lstrlenW
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	movq	%rbx, %rcx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_array_join
	movl	%eax, %ebx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_default_separatorW,8,3         ## @default_separatorW
	.no_dead_strip	_Array_join
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Array_join
_Array_join:                            ; @Array_join
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x5
	mov	x22, x4
	mov	x23, x3
	mov	x21, x1
	mov	x20, 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, x20
	mov	x1, x21
	bl	_get_length
	mov	x21, x0
	bl	_FAILED
	cbz	x0, LBB0_2
LBB0_1:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	cbz	w23, LBB0_5
; %bb.3:
	ldr	w1, [x22]
	mov	x2, sp
	add	x3, sp, #8
	mov	x0, x20
	bl	_to_flat_string
	mov	x21, x0
	bl	_FAILED
	cbnz	x0, LBB0_1
; %bb.4:
	ldr	x21, [sp, #24]
	ldr	w22, [sp, #20]
	ldp	x0, x23, [sp]
	bl	_jsstr_length
	mov	x4, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x5, x19
	bl	_array_join
	mov	x21, x0
	ldr	x0, [sp]
	bl	_jsstr_release
	b	LBB0_1
LBB0_5:
	ldr	x21, [sp, #24]
	ldr	w22, [sp, #20]
Lloh2:
	adrp	x8, _default_separatorW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _default_separatorW@GOTPAGEOFF]
Lloh4:
	ldr	x23, [x8]
	mov	x0, x23
	bl	_lstrlenW
	mov	x4, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x5, x19
	bl	_array_join
	mov	x21, x0
	b	LBB0_1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_default_separatorW,8,3         ; @default_separatorW
	.no_dead_strip	_Array_join
.subsections_via_symbols
