	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strip_newlines                 ## -- Begin function strip_newlines
	.p2align	4, 0x90
_strip_newlines:                        ## @strip_newlines
	.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_6
## %bb.1:
	leaq	1(%rdi), %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%rax), %ecx
	incq	%rax
	testb	%cl, %cl
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movb	%cl, (%rdi)
	cmpb	$10, %cl
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$13, %cl
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	jmp	LBB0_5
LBB0_6:
	movb	$0, (%rdi)
	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	_strip_newlines                 ; -- Begin function strip_newlines
	.p2align	2
_strip_newlines:                        ; @strip_newlines
	.cfi_startproc
; %bb.0:
	ldrb	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	add	x9, x0, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	strb	w8, [x0]
	cmp	w8, #13
	cinc	x10, x0, ne
	cmp	w8, #10
	csel	x0, x0, x10, eq
	ldrb	w8, [x9], #1
	cbnz	w8, LBB0_2
LBB0_3:
	strb	wzr, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
