	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chomp                          ## -- Begin function chomp
	.p2align	4, 0x90
_chomp:                                 ## @chomp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$9217, %eax                     ## imm = 0x2401
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rdi
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi), %ecx
	cmpq	$13, %rcx
	ja	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	btq	%rcx, %rax
	jae	LBB0_3
## %bb.4:
	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	_chomp                          ; -- Begin function chomp
	.p2align	2
_chomp:                                 ; @chomp
	.cfi_startproc
; %bb.0:
	mov	w8, #1
	mov	w9, #9217
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x0]
	cmp	w10, #13
	lsl	w10, w8, w10
	and	w10, w10, w9
	ccmp	w10, #0, #4, ls
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x0, x0, #1
	b	LBB0_1
LBB0_3:
	strb	wzr, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
