	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_trimmed_line
_get_trimmed_line:                      ## @get_trimmed_line
	.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
	movq	%rdi, %rbx
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_fgets
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	callq	_strlen
	testl	%eax, %eax
	jle	LBB0_8
## %bb.4:
	movl	%eax, %eax
	incq	%rax
	movabsq	$4294977024, %rcx               ## imm = 0x100002600
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rax), %edx
	movzbl	(%rbx,%rdx), %esi
	cmpq	$32, %rsi
	ja	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	btq	%rsi, %rcx
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movb	$0, (%rbx,%rdx)
	decq	%rax
	cmpq	$1, %rax
	ja	LBB0_5
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	$32, %al
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpb	$9, %al
	je	LBB0_10
	jmp	LBB0_2
LBB0_1:
	xorl	%ebx, %ebx
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stdin,4,2                      ## @stdin
	.no_dead_strip	_get_trimmed_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_trimmed_line
_get_trimmed_line:                      ; @get_trimmed_line
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _stdin@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_fgets
	cbz	w0, LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_strlen
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.2:
	mov	w8, w0
	add	x8, x8, #1
	mov	w9, #1
	mov	x10, #9728
	movk	x10, #1, lsl #32
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w11, w8, #2
	ldrb	w12, [x19, x11]
	cmp	w12, #32
	lsl	x12, x9, x12
	and	x12, x12, x10
	ccmp	x12, #0, #4, ls
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	wzr, [x19, x11]
	sub	x8, x8, #1
	cmp	x8, #1
	b.hi	LBB0_3
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x19, x19, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19]
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.eq	LBB0_5
	b	LBB0_8
LBB0_7:
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_stdin,4,2                      ; @stdin
	.no_dead_strip	_get_trimmed_line
.subsections_via_symbols
