	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trim_trailing
_trim_trailing:                         ## @trim_trailing
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_outbuf@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rax), %rdx
	decl	%ecx
	cmpb	$32, (%rdx,%rcx)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, (%rax)
	movb	$0, (%rdx,%rcx)
	jmp	LBB0_1
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_outbuf,16,3                    ## @outbuf
	.no_dead_strip	_trim_trailing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trim_trailing
_trim_trailing:                         ; @trim_trailing
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _outbuf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _outbuf@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8, #8]
	sub	w9, w9, #1
	ldrb	w11, [x10, x9]
	cmp	w11, #32
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	str	w9, [x8]
	strb	wzr, [x10, x9]
	ldr	w9, [x8]
	cmp	w9, #0
	b.gt	LBB0_1
LBB0_3:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_outbuf,16,3                    ; @outbuf
	.no_dead_strip	_trim_trailing
.subsections_via_symbols
