	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function subst
_subst:                                 ## @subst
	.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	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_strstrword
	testq	%rax, %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_10
## %bb.1:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %ebx
	incl	%ebx
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %r13d
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %r15d
	subl	%r13d, %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movslq	%r13d, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movslq	%r15d, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_memmove
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_strstrword
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %r12
	subq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	cmpl	%r13d, %r15d
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r14,%rax), %rsi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r14,%rax), %rdi
	movl	%ebx, %edx
	subl	%r13d, %edx
	subl	%r12d, %edx
	callq	_memmove
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r13d, %r15d
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	-60(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r12d, %r14
	addq	%rax, %r14
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r13d, %r15d
	jle	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r14,%rax), %rsi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r14,%rax), %rdi
	movl	%ebx, %edx
	subl	%r15d, %edx
	subl	%r12d, %edx
	callq	_memmove
	jmp	LBB0_9
LBB0_10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_subst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function subst
_subst:                                 ; @subst
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_strstrword
	cbz	x0, LBB0_10
; %bb.1:
	mov	x23, x0
	mov	x0, x21
	bl	_strlen
	add	w22, w0, #1
	mov	x0, x20
	bl	_strlen
	mov	x24, x0
	mov	x0, x19
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sub	w25, w0, w24
	sxtw	x26, w24
	sxtw	x24, w0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x19
	mov	x2, x24
	bl	_memmove
	mov	x0, x23
	mov	x1, x20
	bl	_strstrword
	mov	x23, x0
	cbz	x0, LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	x27, x23, x21
	cmp	w24, w26
	b.ge	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, x23, x26
	add	x0, x23, x24
	add	w8, w26, w27
	sub	w2, w22, w8
	bl	_memmove
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w24, w26
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, w25
	mov	x0, x21
	mov	x1, x22
	bl	_realloc
	cbz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x0, w27, sxtw
	mov	x21, x0
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w24, w26
	b.le	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, x23, x26
	add	x0, x23, x24
	add	w8, w24, w27
	sub	w2, w22, w8
	bl	_memmove
	b	LBB0_2
LBB0_10:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_subst
.subsections_via_symbols
