	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jv_string_implode              ## -- Begin function jv_string_implode
	.p2align	4, 0x90
_jv_string_implode:                     ## @jv_string_implode
	.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
	movl	%edi, %r14d
	movq	_JV_KIND_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_JVP_HAS_KIND
	movl	%eax, %edi
	callq	_assert
	movl	%r14d, %edi
	callq	_jv_copy
	movl	%eax, %edi
	callq	_jv_array_length
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_jv_string_empty
	movl	%eax, %r12d
	movl	%r15d, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	testl	%r15d, %r15d
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_jv_copy
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_jv_array_get
	movl	%eax, %r13d
	movq	_JV_KIND_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_JVP_HAS_KIND
	movl	%eax, %edi
	callq	_assert
	movl	%r13d, %edi
	callq	_jv_number_value
	movl	%r14d, %r15d
	movl	%eax, %r14d
	movl	%r13d, %edi
	callq	_jv_free
	cmpl	$1114112, %r14d                 ## imm = 0x110000
	movl	$65533, %eax                    ## imm = 0xFFFD
	cmovgel	%eax, %r14d
	movl	%r12d, %edi
	movl	%r14d, %esi
	movl	%r15d, %r14d
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	callq	_jv_string_append_codepoint
	movl	%eax, %r12d
	incl	%ebx
	cmpl	%ebx, %r15d
	jne	LBB0_2
LBB0_3:
	movl	%r14d, %edi
	callq	_jv_free
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JV_KIND_ARRAY,4,2              ## @JV_KIND_ARRAY
	.comm	_JV_KIND_NUMBER,4,2             ## @JV_KIND_NUMBER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jv_string_implode              ; -- Begin function jv_string_implode
	.p2align	2
_jv_string_implode:                     ; @jv_string_implode
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, _JV_KIND_ARRAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JV_KIND_ARRAY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_JVP_HAS_KIND
	bl	_assert
	mov	x0, x19
	bl	_jv_copy
	bl	_jv_array_length
	mov	x21, x0
	bl	_jv_string_empty
	mov	x20, x0
	mvn	w8, w21
	lsr	w0, w8, #31
	bl	_assert
	cmp	w21, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w22, #0
Lloh3:
	adrp	x25, _JV_KIND_NUMBER@GOTPAGE
Lloh4:
	ldr	x25, [x25, _JV_KIND_NUMBER@GOTPAGEOFF]
	mov	w26, #65533
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_jv_copy
	mov	x1, x22
	bl	_jv_array_get
	mov	x23, x0
	ldr	w1, [x25]
	bl	_JVP_HAS_KIND
	bl	_assert
	mov	x0, x23
	bl	_jv_number_value
	mov	x24, x0
	mov	x0, x23
	bl	_jv_free
	cmp	w24, #272, lsl #12              ; =1114112
	csel	w1, w26, w24, ge
	mov	x0, x20
	bl	_jv_string_append_codepoint
	mov	x20, x0
	add	w22, w22, #1
	cmp	w21, w22
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x19
	bl	_jv_free
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_JV_KIND_ARRAY,4,2              ; @JV_KIND_ARRAY
	.comm	_JV_KIND_NUMBER,4,2             ; @JV_KIND_NUMBER
.subsections_via_symbols
