	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_name1                          ## -- Begin function name1
	.p2align	4, 0x90
_name1:                                 ## @name1
	.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
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LINESIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_hfield
	testq	%rax, %rax
	jne	LBB0_30
## %bb.1:
	testl	%r13d, %r13d
	je	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	callq	_setinput
	movb	$0, (%r14)
	movl	(%r15), %edx
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_readline
	testq	%rax, %rax
	js	LBB0_29
## %bb.4:
	decl	%r12d
	leaq	-1(%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.3(%rip), %r13
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %r15d
	testb	$-33, %r15b
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	incq	%rbx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	movzbl	1(%rbx), %r15d
	incq	%rbx
LBB0_8:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$32, %r15b
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	cmpb	$9, %r15b
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	callq	_strlen
	movabsq	$4294967809, %r8                ## imm = 0x100000201
	addq	%r14, %rax
	movq	_LINESIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	movq	%rdx, %rcx
	addq	-72(%rbp), %rcx                 ## 8-byte Folded Reload
	xorl	%esi, %esi
	cmpb	$32, %r15b
	ja	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movzbl	%r15b, %edi
	btq	%rdi, %r8
	jb	LBB0_16
LBB0_14:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(%rax,%rsi), %rdi
	cmpq	%rcx, %rdi
	jae	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movb	%r15b, (%rdi)
	movzbl	1(%rbx,%rsi), %r15d
	incq	%rsi
	cmpb	$32, %r15b
	jbe	LBB0_13
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	$0, (%rax,%rsi)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_readline
	testq	%rax, %rax
	js	LBB0_29
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	movl	$70, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_29
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_29
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	$114, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_29
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	$6, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_22
## %bb.28:                              ##   in Loop: Header=BB0_21 Depth=2
	incq	%rbx
	movq	%rbx, %rdi
	movl	$114, %esi
	callq	_strchr
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_21
	jmp	LBB0_29
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	$102, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_29
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_29
## %bb.24:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_29
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rbx
	incq	%rbx
	movq	%r14, %rdi
	testb	$1, -56(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	movl	$33, %esi
	callq	_strrchr
	movq	%rax, %rdi
	incq	%rdi
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, %edx
	subl	%edi, %edx
	addl	%r12d, %edx
	movq	%rbx, %rsi
	callq	_strlcpy
	movq	%r14, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcat
	movb	$1, %al
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
LBB0_29:
	movq	%r14, %rdi
	callq	_savestr
	jmp	LBB0_30
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_hfield
	testq	%rax, %rax
	je	LBB0_3
LBB0_30:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_32
## %bb.31:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LINESIZE,4,2                   ## @LINESIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"from"

L_.str.1:                               ## @.str.1
	.asciz	"sender"

L_.str.2:                               ## @.str.2
	.asciz	"From"

L_.str.3:                               ## @.str.3
	.asciz	"remote"

L_.str.4:                               ## @.str.4
	.asciz	"!"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_name1                          ; -- Begin function name1
	.p2align	2
_name1:                                 ; @name1
	.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, x1
	mov	x21, 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	x27, _LINESIZE@GOTPAGE
Lloh4:
	ldr	x27, [x27, _LINESIZE@GOTPAGEOFF]
	ldr	w22, [x27]
	mov	x9, x22
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x12, x9, #0x1fffffff0
	sub	x19, x8, x12
	mov	sp, x19
	mov	x9, x22
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x20, x8, x12
	mov	sp, x20
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_hfield
	cbnz	x0, LBB0_29
; %bb.1:
	cbz	w23, LBB0_28
LBB0_2:
	mov	x0, x21
	bl	_setinput
	mov	x21, x0
	strb	wzr, [x19]
	ldr	w2, [x27]
	mov	x1, x20
	bl	_readline
	tbnz	x0, #63, LBB0_27
; %bb.3:
	sub	w8, w22, #1
	stp	w8, wzr, [x29, #-96]            ; 8-byte Folded Spill
	sub	x24, x19, #1
Lloh11:
	adrp	x23, l_.str.3@PAGE
Lloh12:
	add	x23, x23, l_.str.3@PAGEOFF
	mov	w25, #1
	mov	x22, #513
	movk	x22, #1, lsl #32
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_19 Depth 2
	mov	x26, x20
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w28, [x26]
	orr	w8, w28, #0x20
	cmp	w8, #32
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x26, x26, #1
	b	LBB0_5
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldrb	w28, [x26, #1]!
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w8, w28, #0xff
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_strlen
	mov	x8, #0
	add	x9, x19, x0
	ldrsw	x2, [x27]
	add	x10, x24, x2
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w11, w28, #0xff
	cmp	w11, #32
	b.hi	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	and	x11, x28, #0xff
	lsl	x11, x25, x11
	tst	x11, x22
	b.ne	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=2
	add	x11, x9, x8
	cmp	x11, x10
	b.hs	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=2
	add	x12, x26, x8
	strb	w28, [x11]
	ldrb	w28, [x12, #1]
	add	x8, x8, #1
	b	LBB0_10
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [x9, x8]
	mov	x0, x21
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_readline
	tbnz	x0, #63, LBB0_27
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	w1, #70
	bl	_strchr
	cbz	x0, LBB0_27
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x0
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #4
	bl	_strncmp
	cbnz	x0, LBB0_27
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	mov	w1, #114
	bl	_strchr
	cbz	x0, LBB0_27
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x0
LBB0_19:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x26
	mov	x1, x23
	mov	w2, #6
	bl	_strncmp
	cbz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	add	x0, x26, #1
	mov	w1, #114
	bl	_strchr
	mov	x26, x0
	cbnz	x0, LBB0_19
	b	LBB0_27
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	mov	w1, #102
	bl	_strchr
	cbz	x0, LBB0_27
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x0
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_strncmp
	cbnz	x0, LBB0_27
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x0
	mov	x0, x19
	ldur	w8, [x29, #-92]                 ; 4-byte Folded Reload
	tbz	w8, #0, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	w1, #33
	bl	_strrchr
	add	x0, x0, #1
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x26, #1
	sub	w8, w19, w0
	ldur	w9, [x29, #-96]                 ; 4-byte Folded Reload
	add	w2, w9, w8
	bl	_strlcpy
	mov	x0, x19
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcat
	mov	w8, #1
	stur	w8, [x29, #-92]                 ; 4-byte Folded Spill
	b	LBB0_4
LBB0_27:
	mov	x0, x19
	bl	_savestr
	b	LBB0_29
LBB0_28:
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_hfield
	cbz	x0, LBB0_2
LBB0_29:
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	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_31:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_LINESIZE,4,2                   ; @LINESIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"from"

l_.str.1:                               ; @.str.1
	.asciz	"sender"

l_.str.2:                               ; @.str.2
	.asciz	"From"

l_.str.3:                               ; @.str.3
	.asciz	"remote"

l_.str.4:                               ; @.str.4
	.asciz	"!"

.subsections_via_symbols
