	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chomp
_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
	pushq	%rbx
	.cfi_offset %rbx, -24
	movb	(%rdi), %cl
	testb	%cl, %cl
	je	LBB0_29
## %bb.1:
	movl	$129, %r11d
	movl	$1, %eax
	movq	_TRUE@GOTPCREL(%rip), %r9
	movq	_FALSE@GOTPCREL(%rip), %r8
	movq	%rdi, %rdx
	jmp	LBB0_4
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$128, %r11d
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movzbl	1(%rdx), %ecx
	incq	%rdx
	testb	%cl, %cl
	je	LBB0_30
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r9), %r10d
	cmpl	$130, %r11d
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$129, %r11d
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$128, %r11d
	jne	LBB0_26
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movsbl	%cl, %ecx
	cmpl	$32, %ecx
	je	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%eax
	cmpl	$34, %ecx
	je	LBB0_9
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	cmpb	$34, %cl
	sete	%cl
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r8), %r10d
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movb	%cl, %bl
	movl	$130, %r11d
	subl	%ebx, %r11d
	testl	%r10d, %r10d
	je	LBB0_27
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movsbl	%cl, %ecx
	cmpl	$34, %ecx
	je	LBB0_9
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$32, %ecx
	jne	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movb	$0, (%rsi)
	incq	%rsi
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$128, %r11d
	testl	%r10d, %r10d
	je	LBB0_27
	jmp	LBB0_3
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$130, %r11d
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%r10d, %r10d
	jne	LBB0_3
LBB0_27:                                ##   in Loop: Header=BB0_4 Depth=1
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.28:                              ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%rdx), %ecx
	movb	%cl, (%rsi)
	incq	%rsi
	jmp	LBB0_3
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rdi, %rdx
	jbe	LBB0_25
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$34, -1(%rdx)
	jne	LBB0_25
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_4 Depth=1
	movb	$0, (%rsi)
	incq	%rsi
	jmp	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%esi, %esi
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%eax
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r8), %r10d
	movl	$129, %r11d
	testl	%r10d, %r10d
	je	LBB0_27
	jmp	LBB0_3
LBB0_29:
	movl	$1, %eax
LBB0_30:
	testq	%rsi, %rsi
	je	LBB0_32
## %bb.31:
	movb	$0, (%rsi)
LBB0_32:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_chomp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chomp
_chomp:                                 ; @chomp
	.cfi_startproc
; %bb.0:
	ldrb	w15, [x0]
	cbz	w15, LBB0_24
; %bb.1:
	mov	x8, x0
	mov	w9, #129
	mov	w0, #1
Lloh0:
	adrp	x10, _TRUE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _TRUE@GOTPAGEOFF]
Lloh2:
	adrp	x11, _FALSE@GOTPAGE
Lloh3:
	ldr	x11, [x11, _FALSE@GOTPAGEOFF]
	mov	x12, x8
	mov	w13, #129
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w13, #128
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w15, [x12, #1]!
	cbz	w15, LBB0_25
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x10]
	cmp	w13, #130
	b.eq	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w13, #129
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w13, #128
	b.ne	LBB0_22
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w13, w15, #0xff
	cmp	w13, #32
	b.eq	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w13, w15
	add	w0, w0, #1
	cmp	w13, #34
	b.eq	LBB0_15
	b	LBB0_21
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	and	w13, w15, #0xff
	ldr	w15, [x11]
	cmp	w13, #34
	csel	w14, w14, w15, eq
	cinc	w13, w9, ne
	b	LBB0_22
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w13, w15, #0xff
	cmp	w13, #34
	b.eq	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w13, w15
	cmp	w13, #32
	b.ne	LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	cbz	x1, LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [x1], #1
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w13, #128
	b	LBB0_22
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w13, #130
	b	LBB0_22
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x12, x8
	b.ls	LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldurb	w13, [x12, #-1]
	cmp	w13, #34
	b.ne	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	cbz	x1, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [x1], #1
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w0, w0, #1
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w14, [x11]
	mov	w13, #129
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w14, #0
	ccmp	x1, #0, #4, eq
	b.eq	LBB0_3
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w14, [x12]
	strb	w14, [x1], #1
	b	LBB0_3
LBB0_24:
	mov	w0, #1
LBB0_25:
	cbz	x1, LBB0_27
; %bb.26:
	strb	wzr, [x1]
LBB0_27:
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_chomp
.subsections_via_symbols
