	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function append_string
_append_string:                         ## @append_string
	.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	%r8d, %r15d
	movl	%ecx, %r13d
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	%ecx, %eax
	cmpl	$-1, %ecx
	jne	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_strlen
LBB0_2:
	subl	%eax, %ebx
	movq	_minus_flag@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	je	LBB0_3
## %bb.6:
	cmpl	$-1, %r13d
	je	LBB0_12
LBB0_7:
	movl	%r13d, %r13d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12,%r15), %eax
	testb	%al, %al
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	%r15d, %r13d
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	*(%r14)
	incq	%r15
	testq	%rax, %rax
	je	LBB0_8
	jmp	LBB0_18
LBB0_3:
	movl	%ebx, %r15d
	sarl	$31, %r15d
	andl	%ebx, %r15d
	decl	%r15d
	incl	%ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	decl	%ebx
	testl	%ebx, %ebx
	jle	LBB0_5
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movl	$32, %esi
	callq	*(%r14)
	testq	%rax, %rax
	je	LBB0_4
	jmp	LBB0_18
LBB0_5:
	movl	%r15d, %ebx
	cmpl	$-1, %r13d
	jne	LBB0_7
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%r12
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	*(%r14)
	testq	%rax, %rax
	jne	LBB0_18
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12), %eax
	testb	%al, %al
	jne	LBB0_13
LBB0_14:
	xorl	%r12d, %r12d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_minus_flag@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_19
## %bb.15:
	incl	%ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	decl	%ebx
	testl	%ebx, %ebx
	jle	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r14, %rdi
	movl	$32, %esi
	callq	*(%r14)
	testq	%rax, %rax
	je	LBB0_16
LBB0_18:
	movl	$1, %r12d
LBB0_19:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_minus_flag,4,2                 ## @minus_flag
	.no_dead_strip	_append_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function append_string
_append_string:                         ; @append_string
	.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	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x3
	cmn	w3, #1
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_strlen
LBB0_2:
	sub	w8, w23, w0
Lloh0:
	adrp	x23, _minus_flag@GOTPAGE
Lloh1:
	ldr	x23, [x23, _minus_flag@GOTPAGEOFF]
	ldr	w9, [x23]
	mov	x24, x8
	tst	w9, w20
	b.eq	LBB0_12
LBB0_3:
	cmn	w22, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	cmp	w8, #0
	ccmp	w22, #0, #4, ne
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w22, w22, #1
	ldr	x9, [x19]
	add	x21, x21, #1
	sxtb	w1, w8
	mov	x0, x19
	blr	x9
	cbz	x0, LBB0_4
	b	LBB0_15
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x19]
	add	x21, x21, #1
	sxtb	w1, w8
	mov	x0, x19
	blr	x9
	cbnz	x0, LBB0_15
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	cbnz	w8, LBB0_6
LBB0_8:
	ldr	w8, [x23]
	tst	w8, w20
	b.eq	LBB0_16
; %bb.9:
	add	w20, w24, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sub	w20, w20, #1
	cmp	w20, #1
	b.lt	LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19]
	mov	x0, x19
	mov	w1, #32
	blr	x8
	cbz	x0, LBB0_10
	b	LBB0_15
LBB0_12:
	cmp	w8, #0
	csel	w9, w8, wzr, lt
	sub	w24, w9, #1
	add	w25, w8, #1
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	sub	w25, w25, #1
	cmp	w25, #1
	b.lt	LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x19]
	mov	x0, x19
	mov	w1, #32
	blr	x8
	cbz	x0, LBB0_13
LBB0_15:
	mov	w0, #1
	b	LBB0_17
LBB0_16:
	mov	w0, #0
LBB0_17:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_minus_flag,4,2                 ; @minus_flag
	.no_dead_strip	_append_string
.subsections_via_symbols
