	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$2, %edi
	jg	LBB0_2
## %bb.1:
	movq	(%rsi), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	$1, %eax
	jmp	LBB0_11
LBB0_2:
	movq	8(%rsi), %rdi
	movq	16(%rsi), %rsi
	leaq	-36(%rbp), %rcx
	xorl	%edx, %edx
	callq	_vc_container_net_open
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_vc_container_net_maximum_datagram_size
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %rbx
	leaq	L_.str.3(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	_stdin@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_vc_container_net_write
	testl	%eax, %eax
	jne	LBB0_7
## %bb.9:
	movq	%r14, %rdi
	callq	_vc_container_net_status
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
LBB0_10:
	movq	%r14, %rdi
	callq	_vc_container_net_close
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_3:
	movl	-36(%rbp), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	$2, %eax
	jmp	LBB0_11
LBB0_5:
	movq	%r14, %rdi
	callq	_vc_container_net_close
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$3, %eax
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Usage:\n%s <address> <port>\n"

L_.str.1:                               ## @.str.1
	.asciz	"vc_container_net_open failed: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"Don't enter more than %d characters in one line!\n"

	.comm	_stdin,4,2                      ## @stdin
L_.str.4:                               ## @.str.4
	.asciz	"vc_container_net_write failed: %d\n"

L_str:                                  ## @str
	.asciz	"Failure allocating buffer"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cmp	w0, #2
	b.gt	LBB0_2
; %bb.1:
	ldr	x8, [x1]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	w0, #1
	b	LBB0_11
LBB0_2:
	ldp	x0, x1, [x1, #8]
	add	x3, sp, #12
	mov	w2, #0
	bl	_vc_container_net_open
	cbz	x0, LBB0_9
; %bb.3:
	mov	x19, x0
	bl	_vc_container_net_maximum_datagram_size
	mov	x20, x0
	bl	_malloc
	cbz	x0, LBB0_10
; %bb.4:
	mov	x21, x0
	str	x20, [sp]
Lloh2:
	adrp	x0, l_.str.3@PAGE
Lloh3:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
Lloh4:
	adrp	x22, _stdin@GOTPAGE
Lloh5:
	ldr	x22, [x22, _stdin@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x22]
	mov	x0, x21
	mov	x1, x20
	bl	_fgets
	cbz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_vc_container_net_write
	cbnz	w0, LBB0_5
; %bb.7:
	mov	x0, x19
	bl	_vc_container_net_status
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh6:
	adrp	x0, l_.str.4@PAGE
Lloh7:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
LBB0_8:
	mov	x0, x19
	bl	_vc_container_net_close
	mov	w0, #0
	b	LBB0_11
LBB0_9:
	ldr	w8, [sp, #12]
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	mov	w0, #2
	b	LBB0_11
LBB0_10:
	mov	x0, x19
	bl	_vc_container_net_close
Lloh10:
	adrp	x0, l_str@PAGE
Lloh11:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w0, #3
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Usage:\n%s <address> <port>\n"

l_.str.1:                               ; @.str.1
	.asciz	"vc_container_net_open failed: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"Don't enter more than %d characters in one line!\n"

	.comm	_stdin,4,2                      ; @stdin
l_.str.4:                               ; @.str.4
	.asciz	"vc_container_net_write failed: %d\n"

l_str:                                  ; @str
	.asciz	"Failure allocating buffer"

.subsections_via_symbols
