	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtrim                          ## -- Begin function rtrim
	.p2align	4, 0x90
_rtrim:                                 ## @rtrim
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	(%rsi,%rdi), %rax
	decq	%rax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	$0, (%rax)
	decq	%rax
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %ecx
	cmpb	$32, %cl
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%cl, %cl
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	decq	%rax
	jmp	LBB0_1
LBB0_5:
	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	_rtrim                          ; -- Begin function rtrim
	.p2align	2
_rtrim:                                 ; @rtrim
	.cfi_startproc
; %bb.0:
	add	x8, x1, x0
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	strb	wzr, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8, #-1]!
	cmp	w9, #32
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w9, LBB0_2
; %bb.4:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
