	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trim_trailing_spaces
_trim_trailing_spaces:                  ## @trim_trailing_spaces
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	(%rdi), %cl
	testb	%cl, %cl
	je	LBB0_11
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, 1(%rdi)
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	1(%rdi), %ecx
	incq	%rdi
	testb	%cl, %cl
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%cl, %ecx
	cmpl	$92, %ecx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$32, %ecx
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	cmoveq	%rdi, %rax
	jmp	LBB0_8
LBB0_9:
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movb	$0, (%rax)
LBB0_11:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_trim_trailing_spaces
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trim_trailing_spaces
_trim_trailing_spaces:                  ; @trim_trailing_spaces
	.cfi_startproc
; %bb.0:
	ldrb	w9, [x0]
	cbz	w9, LBB0_8
; %bb.1:
	mov	x8, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sxtb	w9, w9
	cmp	x8, #0
	csel	x8, x0, x8, eq
	cmp	w9, #32
	csel	x8, xzr, x8, ne
	ldrb	w9, [x0, #1]!
	cbz	w9, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	and	w10, w9, #0xff
	cmp	w10, #92
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x0, #1]!
	cbz	w8, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	ldrb	w9, [x0, #1]!
	cbnz	w9, LBB0_3
LBB0_6:
	cbz	x8, LBB0_8
; %bb.7:
	strb	wzr, [x8]
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_trim_trailing_spaces
.subsections_via_symbols
