	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function strcut
_strcut:                                ## @strcut
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_strlen
	cltq
	movb	(%rbx,%rax), %cl
	testb	%cl, %cl
	je	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rbx), %rdx
	movb	%cl, (%rbx)
	movzbl	1(%rbx,%rax), %ecx
	movq	%rdx, %rbx
	testb	%cl, %cl
	jne	LBB0_3
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdx
LBB0_4:
	movb	$0, (%rdx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_strcut
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function strcut
_strcut:                                ; @strcut
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	bl	_strstr
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x9, w0
	ldrb	w8, [x19, x9]
	cbz	w8, LBB0_4
; %bb.2:
	add	x9, x9, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x10, x19, #1
	strb	w8, [x19]
	ldrb	w8, [x19, x9]
	mov	x19, x10
	cbnz	w8, LBB0_3
	b	LBB0_5
LBB0_4:
	mov	x10, x19
LBB0_5:
	strb	wzr, [x10]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_strcut
.subsections_via_symbols
