	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gethfield                      ## -- Begin function gethfield
	.p2align	4, 0x90
_gethfield:                             ## @gethfield
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LINESIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movl	$-1, %ebx
	testl	%r12d, %r12d
	jle	LBB0_28
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_LINESIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_readline
	testl	%eax, %eax
	jle	LBB0_28
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r13d
	movzbl	(%r14), %edi
	callq	_isprint
	movq	%r14, %rbx
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %eax
	cmpb	$32, %al
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpb	$58, %al
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movzbl	1(%rbx), %edi
	incq	%rbx
	callq	_isprint
	testq	%rax, %rax
	jne	LBB0_5
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	decl	%r12d
	cmpq	%r14, %rbx
	je	LBB0_1
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$58, (%rbx)
	jne	LBB0_1
## %bb.10:
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movslq	%r13d, %r13
	addq	%r14, %r13
	leaq	-2(%r14), %r12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_22 Depth 2
	leaq	-1(%r13), %rax
	cmpq	%r14, %rax
	jae	LBB0_12
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jg	LBB0_18
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=2
	decq	%rax
	cmpq	%r14, %rax
	jb	LBB0_15
LBB0_12:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rax), %ecx
	cmpb	$32, %cl
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpb	$9, %cl
	je	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rax
	movq	%rax, %r13
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_getc
	movl	%eax, %r14d
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_ungetc
	cmpl	$32, %r14d
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$9, %r14d
	jne	LBB0_26
LBB0_20:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_LINESIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_readline
	testl	%eax, %eax
	js	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_11 Depth=1
	xorl	%esi, %esi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=2
	incq	%rsi
LBB0_22:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r15,%rsi), %ecx
	cmpb	$32, %cl
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	cmpb	$9, %cl
	je	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_11 Depth=1
	decl	-52(%rbp)                       ## 4-byte Folded Spill
	movl	%eax, %edx
	subq	%rsi, %rdx
	movslq	%edx, %rbx
	leaq	(%rbx,%r13), %rax
	movq	_LINESIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	%r12, %rcx
	cmpq	%rcx, %rax
	jae	LBB0_26
## %bb.30:                              ##   in Loop: Header=BB0_11 Depth=1
	addq	%r15, %rsi
	leaq	1(%r13), %rdi
	movb	$32, (%r13)
	callq	_memmove
	addq	%rbx, %r13
	incq	%r13
	jmp	LBB0_11
LBB0_26:
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_27
LBB0_17:
	xorl	%ebx, %ebx
LBB0_27:
	movb	$0, (%r13)
LBB0_28:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_31
## %bb.29:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LINESIZE,4,2                   ## @LINESIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gethfield                      ; -- Begin function gethfield
	.p2align	2
_gethfield:                             ; @gethfield
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x23, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x25, _LINESIZE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _LINESIZE@GOTPAGEOFF]
	ldr	w8, [x25]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	subs	w21, w21, #1
	b.lt	LBB0_24
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w2, [x25]
	mov	x0, x20
	mov	x1, x19
	bl	_readline
	cmp	w0, #1
	b.lt	LBB0_24
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x24, x0
	ldrb	w0, [x19]
	bl	_isprint
	mov	x26, x19
	cbz	x0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x26, x19
LBB0_5:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x26]
	cmp	w8, #32
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	cmp	w8, #58
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	ldrb	w0, [x26, #1]!
	bl	_isprint
	cbnz	x0, LBB0_5
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	cmp	x26, x19
	b.eq	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x26]
	cmp	w8, #58
	b.ne	LBB0_1
; %bb.10:
	str	x26, [x23]
	add	x23, x19, w24, sxtw
	sub	x26, x19, #2
	mov	w27, #32
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
	sub	x8, x23, #1
	cmp	x8, x19
	b.lo	LBB0_15
LBB0_12:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x8]
	cmp	w9, #32
	ccmp	w9, #9, #4, ne
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	sub	x8, x8, #1
	cmp	x8, x19
	b.hs	LBB0_12
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x23, x8, #1
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	subs	w28, w21, #1
	b.lt	LBB0_25
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	bl	_getc
	mov	x24, x0
	mov	x1, x20
	bl	_ungetc
	cmp	w24, #32
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w24, #9
	b.ne	LBB0_27
LBB0_18:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w2, [x25]
	mov	x0, x20
	mov	x1, x22
	bl	_readline
	tbnz	w0, #31, LBB0_27
; %bb.19:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x2, x0
	mov	x1, x22
LBB0_20:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x1]
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.ne	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	add	x1, x1, #1
	sub	w2, w2, #1
	b	LBB0_20
LBB0_22:                                ;   in Loop: Header=BB0_11 Depth=1
	sxtw	x21, w2
	add	x8, x23, x21
	ldrsw	x9, [x25]
	add	x9, x26, x9
	cmp	x8, x9
	b.hs	LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_11 Depth=1
	strb	w27, [x23], #1
	mov	x0, x23
	bl	_memmove
	add	x23, x23, x21
	mov	x21, x28
	b	LBB0_11
LBB0_24:
	mov	w21, #-1
	b	LBB0_28
LBB0_25:
	mov	w21, #0
	b	LBB0_27
LBB0_26:
	mov	x21, x28
LBB0_27:
	strb	wzr, [x23]
LBB0_28:
	ldur	x8, [x29, #-88]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.29:
	mov	x0, x21
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_LINESIZE,4,2                   ; @LINESIZE
.subsections_via_symbols
