	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sendsome
_sendsome:                              ## @sendsome
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$23, %edx
	callq	_memset
	leaq	_sendsome.msg(%rip), %rsi
	movl	$12, %edx
	movl	%ebx, %edi
	callq	_rump_sys_write
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	$23, %edx
	callq	_rump_sys_read
	cmpq	$12, %rax
	jge	LBB0_1
## %bb.51:
	leaq	L_.str(%rip), %rdi
	leaq	-64(%rbp), %rdx
	movq	%rax, %rsi
	callq	_printf
	movl	$1, %eax
	jmp	LBB0_49
LBB0_1:
	xorl	%eax, %eax
	movb	-64(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.2:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.4:
	movl	$1, %eax
	movb	-63(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.5:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.6:
	movl	$2, %eax
	movb	-62(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.7:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.8:
	movl	$3, %eax
	movb	-61(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.9:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.10:
	movl	$4, %eax
	movb	-60(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.11:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.12:
	movl	$5, %eax
	movb	-59(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.13:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.14:
	movl	$6, %eax
	movb	-58(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.15:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.16:
	movl	$7, %eax
	movb	-57(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.17:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.18:
	movl	$8, %eax
	movb	-56(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.19:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.20:
	movl	$9, %eax
	movb	-55(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.21:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.22:
	movl	$10, %eax
	movb	-54(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.23:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.24:
	movl	$11, %eax
	movb	-53(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.25:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.26:
	movl	$12, %eax
	movb	-52(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.27:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.28:
	movl	$13, %eax
	movb	-51(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.29:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.30:
	movl	$14, %eax
	movb	-50(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.31:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.32:
	movl	$15, %eax
	movb	-49(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.33:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.34:
	movl	$16, %eax
	movb	-48(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.35:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.36:
	movl	$17, %eax
	movb	-47(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.37:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.38:
	movl	$18, %eax
	movb	-46(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.39:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.40:
	movl	$19, %eax
	movb	-45(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.41:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.42:
	movl	$20, %eax
	movb	-44(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.43:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.44:
	movl	$21, %eax
	movb	-43(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.45:
	cmpb	$13, %cl
	je	LBB0_3
## %bb.46:
	movl	$22, %eax
	movb	-42(%rbp), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.47:
	cmpb	$13, %cl
	jne	LBB0_48
LBB0_3:
	movw	$10, -64(%rbp,%rax)
LBB0_48:
	leaq	_sendsome.msg(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
LBB0_49:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_52
## %bb.50:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_52:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_sendsome.msg:                          ## @sendsome.msg
	.asciz	"hello world\n"

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"short message read: %zd chars: \"%s\"\n"

	.no_dead_strip	_sendsome
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sendsome
_sendsome:                              ; @sendsome
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	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]
	str	x8, [sp, #24]
	add	x0, sp, #1
	mov	w1, #0
	mov	w2, #23
	bl	_memset
Lloh3:
	adrp	x1, _sendsome.msg@PAGE
Lloh4:
	add	x1, x1, _sendsome.msg@PAGEOFF
	mov	x0, x20
	mov	w2, #12
	bl	_rump_sys_write
	add	x1, sp, #1
	mov	x0, x19
	mov	w2, #23
	bl	_rump_sys_read
	cmp	x0, #12
	b.ge	LBB0_2
; %bb.1:
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #1
	bl	_printf
	mov	w0, #1
	b	LBB0_6
LBB0_2:
	ldrb	w8, [sp, #1]
	cmp	w8, #10
	ccmp	w8, #13, #4, ne
	b.ne	LBB0_8
; %bb.3:
	mov	x8, #0
LBB0_4:
	add	x9, sp, #1
	mov	w10, #10
	strh	w10, [x9, x8]
LBB0_5:
Lloh7:
	adrp	x1, _sendsome.msg@PAGE
Lloh8:
	add	x1, x1, _sendsome.msg@PAGEOFF
	add	x0, sp, #1
	bl	_strcmp
	cmp	x0, #0
	cset	w0, ne
LBB0_6:
	ldr	x8, [sp, #24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_52
; %bb.7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_8:
	ldrb	w9, [sp, #2]
	mov	w8, #1
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.9:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.10:
	ldrb	w9, [sp, #3]
	mov	w8, #2
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.11:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.12:
	ldrb	w9, [sp, #4]
	mov	w8, #3
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.13:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.14:
	ldrb	w9, [sp, #5]
	mov	w8, #4
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.15:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.16:
	ldrb	w9, [sp, #6]
	mov	w8, #5
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.17:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.18:
	ldrb	w9, [sp, #7]
	mov	w8, #6
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.19:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.20:
	ldrb	w9, [sp, #8]
	mov	w8, #7
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.21:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.22:
	ldrb	w9, [sp, #9]
	mov	w8, #8
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.23:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.24:
	ldrb	w9, [sp, #10]
	mov	w8, #9
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.25:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.26:
	ldrb	w9, [sp, #11]
	mov	w8, #10
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.27:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.28:
	ldrb	w9, [sp, #12]
	mov	w8, #11
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.29:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.30:
	ldrb	w9, [sp, #13]
	mov	w8, #12
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.31:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.32:
	ldrb	w9, [sp, #14]
	mov	w8, #13
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.33:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.34:
	ldrb	w9, [sp, #15]
	mov	w8, #14
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.35:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.36:
	ldrb	w9, [sp, #16]
	mov	w8, #15
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.37:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.38:
	ldrb	w9, [sp, #17]
	mov	w8, #16
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.39:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.40:
	ldrb	w9, [sp, #18]
	mov	w8, #17
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.41:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.42:
	ldrb	w9, [sp, #19]
	mov	w8, #18
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.43:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.44:
	ldrb	w9, [sp, #20]
	mov	w8, #19
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.45:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.46:
	ldrb	w9, [sp, #21]
	mov	w8, #20
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.47:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.48:
	ldrb	w9, [sp, #22]
	mov	w8, #21
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.49:
	cmp	w9, #13
	b.eq	LBB0_4
; %bb.50:
	ldrb	w9, [sp, #23]
	mov	w8, #22
	cmp	w9, #10
	b.eq	LBB0_4
; %bb.51:
	cmp	w9, #13
	b.eq	LBB0_4
	b	LBB0_5
LBB0_52:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_sendsome.msg:                          ; @sendsome.msg
	.asciz	"hello world\n"

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"short message read: %zd chars: \"%s\"\n"

	.no_dead_strip	_sendsome
.subsections_via_symbols
