	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function String_concat
_String_concat:                         ## @String_concat
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movl	%ecx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	leaq	-72(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_get_string_val
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_26
## %bb.1:
	movq	%r15, %rbx
	cmpl	$1, %r12d
	je	LBB0_6
## %bb.2:
	testl	%r12d, %r12d
	jne	LBB0_8
## %bb.3:
	movq	-72(%rbp), %r13
LBB0_4:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%r13, %rdi
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.5:
	callq	_jsval_string
	movl	%eax, (%rbx)
	jmp	LBB0_20
LBB0_6:
	movl	(%rbx), %esi
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	callq	_to_string
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	movq	-72(%rbp), %rdi
	testq	%rax, %rax
	je	LBB0_21
## %bb.7:
	callq	_jsstr_release
	jmp	LBB0_26
LBB0_8:
	leal	8(,%r12,8), %edi
	callq	_heap_alloc_zero
	movq	-72(%rbp), %rdi
	testq	%rax, %rax
	je	LBB0_23
## %bb.9:
	movl	%r12d, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	incl	%r12d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, (%rax)
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %r15
	addq	$8, %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r12,4), %esi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_to_string
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%r12
	addq	$8, %r15
	cmpq	%r12, -80(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_10
## %bb.12:
	movq	-80(%rbp), %r12                 ## 8-byte Reload
                                        ## kill: def $r12d killed $r12d killed $r12 def $r12
LBB0_13:
	movl	%r14d, %edi
	callq	_SUCCEEDED
	xorl	%r13d, %r13d
	testl	%eax, %eax
	je	LBB0_37
## %bb.14:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_27
## %bb.15:
	movl	%eax, %ebx
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %rdi
	callq	_jsstr_length
	movl	%eax, %r13d
	addl	%r15d, %r13d
	movq	_JSSTR_MAX_LENGTH@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	ja	LBB0_28
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	incq	%r12
	cmpq	%r12, %rbx
	jne	LBB0_16
## %bb.18:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
                                        ## kill: def $r12d killed $r12d killed $r12 def $r12
	jmp	LBB0_29
LBB0_19:
	callq	_jsstr_release
LBB0_20:
	movq	_S_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_21:
	movq	-56(%rbp), %rsi
	callq	_jsstr_concat
	movq	%rax, %r13
	movq	-72(%rbp), %rdi
	callq	_jsstr_release
	testq	%r13, %r13
	jne	LBB0_4
	jmp	LBB0_24
LBB0_23:
	callq	_jsstr_release
LBB0_24:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %r14d
LBB0_26:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	xorl	%r12d, %r12d
	jmp	LBB0_29
LBB0_28:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_29:
	movl	%r14d, %edi
	callq	_SUCCEEDED
	testl	%eax, %eax
	je	LBB0_36
## %bb.30:
	leaq	-56(%rbp), %rsi
	movl	%r13d, %edi
	callq	_jsstr_alloc_buf
	testq	%rax, %rax
	je	LBB0_35
## %bb.31:
	movq	%rax, %r13
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_41
## %bb.32:
	movl	%eax, %r15d
	movq	-56(%rbp), %rsi
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rdi
	callq	_jsstr_flush
	movslq	%eax, %rsi
	shlq	$2, %rsi
	addq	-56(%rbp), %rsi
	movq	%rsi, -56(%rbp)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_33
## %bb.34:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
                                        ## kill: def $r12d killed $r12d killed $r12 def $r12
	jmp	LBB0_37
LBB0_35:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_36:
	xorl	%r13d, %r13d
LBB0_37:
	testl	%r12d, %r12d
	je	LBB0_41
## %bb.38:
	movl	%r12d, %ebx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	movq	-8(%r12,%rbx,8), %rdi
	callq	_jsstr_release
	decq	%rbx
	jne	LBB0_39
	jmp	LBB0_42
LBB0_41:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_42:
	movq	%r12, %rdi
	callq	_heap_free
	movl	%r14d, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_26
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.comm	_JSSTR_MAX_LENGTH,4,2           ## @JSSTR_MAX_LENGTH
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_String_concat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function String_concat
_String_concat:                         ; @String_concat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x5
	mov	x23, x4
	mov	x24, x3
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x20
	bl	_get_string_val
	mov	x20, x0
	bl	_FAILED
	cbnz	x0, LBB0_25
; %bb.1:
	cmp	w24, #1
	b.eq	LBB0_6
; %bb.2:
	cbnz	w24, LBB0_8
; %bb.3:
	ldr	x22, [sp, #8]
LBB0_4:
	mov	x0, x22
	cbz	x19, LBB0_19
; %bb.5:
	bl	_jsval_string
	str	w0, [x19]
	b	LBB0_20
LBB0_6:
	ldr	w1, [x23]
	mov	x2, sp
	mov	x0, x22
	bl	_to_string
	mov	x20, x0
	bl	_FAILED
	mov	x8, x0
	ldr	x0, [sp, #8]
	cbz	x8, LBB0_21
; %bb.7:
	bl	_jsstr_release
	b	LBB0_25
LBB0_8:
	add	w25, w24, #1
	lsl	w0, w25, #3
	bl	_heap_alloc_zero
	mov	x21, x0
	ldr	x0, [sp, #8]
	cbz	x21, LBB0_22
; %bb.9:
	mov	x26, #0
	mov	w27, w24
	mov	x24, x21
	str	x0, [x24], #8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23, x26, lsl #2]
	mov	x0, x22
	mov	x2, x24
	bl	_to_string
	mov	x20, x0
	bl	_FAILED
	cbnz	x0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x26, x26, #1
	add	x24, x24, #8
	cmp	x27, x26
	b.ne	LBB0_10
; %bb.12:
	mov	x26, x27
LBB0_13:
	mov	x0, x20
	bl	_SUCCEEDED
	cbz	w0, LBB0_34
; %bb.14:
	cbz	w25, LBB0_26
; %bb.15:
	mov	x26, #0
	mov	w22, #0
Lloh2:
	adrp	x23, _JSSTR_MAX_LENGTH@GOTPAGE
Lloh3:
	ldr	x23, [x23, _JSSTR_MAX_LENGTH@GOTPAGEOFF]
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21, x26, lsl #3]
	bl	_jsstr_length
	ldr	w8, [x23]
	add	w22, w0, w22
	cmp	w22, w8
	b.hi	LBB0_27
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x26, x26, #1
	cmp	x25, x26
	b.ne	LBB0_16
; %bb.18:
	mov	x26, x25
	b	LBB0_28
LBB0_19:
	bl	_jsstr_release
LBB0_20:
Lloh4:
	adrp	x8, _S_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
	b	LBB0_24
LBB0_21:
	ldr	x1, [sp]
	bl	_jsstr_concat
	mov	x22, x0
	ldr	x0, [sp, #8]
	bl	_jsstr_release
	cbnz	x22, LBB0_4
	b	LBB0_23
LBB0_22:
	bl	_jsstr_release
LBB0_23:
Lloh6:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
LBB0_24:
	ldr	w20, [x8]
LBB0_25:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_26:
	mov	w26, #0
	mov	w22, #0
	b	LBB0_28
LBB0_27:
Lloh8:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
LBB0_28:
	mov	x0, x20
	bl	_SUCCEEDED
	cbz	w0, LBB0_34
; %bb.29:
	mov	x1, sp
	mov	x0, x22
	bl	_jsstr_alloc_buf
	mov	x22, x0
	cbz	x0, LBB0_38
; %bb.30:
	cbz	w25, LBB0_37
; %bb.31:
	ldr	x1, [sp]
	mov	x23, x25
	mov	x24, x21
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24], #8
	bl	_jsstr_flush
	ldr	x8, [sp]
	add	x1, x8, w0, sxtw #2
	str	x1, [sp]
	subs	x23, x23, #1
	b.ne	LBB0_32
; %bb.33:
	mov	x26, x25
	cbnz	w26, LBB0_35
	b	LBB0_37
LBB0_34:
	mov	x22, #0
	cbz	w26, LBB0_37
LBB0_35:
	mov	w8, w26
	lsl	x23, x8, #3
	sub	x24, x21, #8
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24, x23]
	bl	_jsstr_release
	subs	x23, x23, #8
	b.ne	LBB0_36
LBB0_37:
	mov	x0, x21
	bl	_heap_free
	mov	x0, x20
	bl	_FAILED
	cbnz	x0, LBB0_25
	b	LBB0_4
LBB0_38:
Lloh11:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
	cbnz	w26, LBB0_35
	b	LBB0_37
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.comm	_JSSTR_MAX_LENGTH,4,2           ; @JSSTR_MAX_LENGTH
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_String_concat
.subsections_via_symbols
