	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evutil_rtrim_lws_              ## -- Begin function evutil_rtrim_lws_
	.p2align	4, 0x90
_evutil_rtrim_lws_:                     ## @evutil_rtrim_lws_
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	callq	_strlen
	movq	%rbx, %rcx
	addq	%rax, %rcx
	je	LBB0_6
## %bb.2:
	cmpq	%rbx, %rcx
	jne	LBB0_3
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	$0, -1(%rbx,%rax)
	decq	%rax
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rbx,%rax), %ecx
	cmpb	$32, %cl
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$9, %cl
	je	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	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	_evutil_rtrim_lws_              ; -- Begin function evutil_rtrim_lws_
	.p2align	2
_evutil_rtrim_lws_:                     ; @evutil_rtrim_lws_
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	bl	_strlen
	adds	x8, x19, x0
	b.eq	LBB0_6
; %bb.2:
	cmp	x8, x19
	b.eq	LBB0_6
; %bb.3:
	sub	x8, x19, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8, x0]
	cmp	w9, #32
	ccmp	w9, #9, #4, ne
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [x8, x0]
	subs	x0, x0, #1
	b.ne	LBB0_4
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
.subsections_via_symbols
