	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function str_strip
_str_strip:                             ## @str_strip
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.1:
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.2:
	leaq	(%rcx,%rsi), %rdx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$32, (%rcx)
	ja	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	decq	%rsi
	jne	LBB0_3
## %bb.5:
	movq	%rdx, %rcx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %rdx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	-1(%rdx), %rax
	cmpb	$33, -1(%rdx)
	movq	%rax, %rdx
	jb	LBB0_6
## %bb.9:
	incq	%rax
	jmp	LBB0_10
LBB0_11:
	leaq	_str_strip.empty(%rip), %rax
	movq	%rax, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_7:
	movq	%rcx, %rax
LBB0_10:
	movq	%rcx, (%rdi)
	subq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_str_strip.empty:                       ## @str_strip.empty
	.space	1

	.no_dead_strip	_str_strip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function str_strip
_str_strip:                             ; @str_strip
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_9
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.2:
	add	x9, x8, x1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x8]
	cmp	w10, #32
	b.hi	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	subs	x1, x1, #1
	b.ne	LBB0_3
; %bb.5:
	mov	x8, x9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x9, x8
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w10, [x9, #-1]!
	cmp	w10, #33
	b.lo	LBB0_6
; %bb.8:
	add	x9, x9, #1
	b	LBB0_11
LBB0_9:
Lloh0:
	adrp	x9, _str_strip.empty@PAGE
Lloh1:
	add	x9, x9, _str_strip.empty@PAGEOFF
	str	x9, [x0]
	mov	x0, #0
	ret
LBB0_10:
	mov	x9, x8
LBB0_11:
	str	x8, [x0]
	sub	x0, x9, x8
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_str_strip.empty:                       ; @str_strip.empty
	.space	1

	.no_dead_strip	_str_strip
.subsections_via_symbols
