	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stresep                        ## -- Begin function stresep
	.p2align	4, 0x90
_stresep:                               ## @stresep
	.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
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.2:
	movq	%rdi, %r14
	movq	(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_3
## %bb.4:
	movl	%edx, %r13d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_strlen
	incl	%eax
	movslq	%eax, %r12
	movq	%r15, %rsi
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	leaq	1(%rsi), %rbx
	decq	%r12
	movb	(%rsi), %cl
	testl	%r13d, %r13d
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movsbl	%cl, %eax
	cmpl	%r13d, %eax
	jne	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	-1(%rbx), %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_memmove
	decq	%r12
	movsbl	(%rbx), %ecx
	incq	%rbx
	cmpl	%r13d, %ecx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	-1(%rbx), %rsi
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rdx), %eax
	cmpb	%cl, %al
	je	LBB0_11
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=2
	incq	%rdx
	testb	%al, %al
	jne	LBB0_10
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rsi
	jmp	LBB0_5
LBB0_11:
	testb	%cl, %cl
	je	LBB0_12
## %bb.13:
	movb	$0, (%rsi)
	jmp	LBB0_14
LBB0_3:
	xorl	%r15d, %r15d
	jmp	LBB0_15
LBB0_12:
	xorl	%ebx, %ebx
LBB0_14:
	movq	%rbx, (%r14)
LBB0_15:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stresep                        ; -- Begin function stresep
	.p2align	2
_stresep:                               ; @stresep
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, #0
	cbz	x0, LBB0_16
; %bb.1:
	mov	x22, x1
	cbz	x1, LBB0_16
; %bb.2:
	mov	x20, x0
	ldr	x19, [x0]
	cbz	x19, LBB0_16
; %bb.3:
	mov	x21, x2
	mov	x0, x19
	bl	_strlen
	add	w8, w0, #1
	sxtw	x24, w8
	mov	x8, x19
	mov	x23, x19
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	ldrsb	w10, [x23], #1
	sub	x24, x24, #1
	and	w9, w10, #0xff
	cbz	w21, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w10, w21
	b.ne	LBB0_8
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x0, x23, #1
	mov	x1, x23
	mov	x2, x24
	bl	_memmove
	ldrsb	w8, [x23], #1
	sub	x24, x24, #1
	cmp	w8, w21
	b.eq	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w9, w8, #0xff
	sub	x8, x23, #1
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x10, x22
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w11, [x10]
	cmp	w11, w9
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x10, x10, #1
	cbnz	w11, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x23
	b	LBB0_4
LBB0_12:
	cbz	w9, LBB0_14
; %bb.13:
	strb	wzr, [x8]
	b	LBB0_15
LBB0_14:
	mov	x23, #0
LBB0_15:
	str	x23, [x20]
LBB0_16:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
