	.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
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_PORT1@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	movq	_PORT2@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	leaq	L_.str(%rip), %r14
	leaq	-48(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_setup_udp
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_try_0send
	movq	%rbx, %rdi
	callq	_close_both
	movq	(%r15), %rdx
	addq	$10, %rdx
	movq	(%r12), %rcx
	addq	$10, %rcx
	leaq	L_.str.1(%rip), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_setup_udp
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_try_0write
	movq	%rbx, %rdi
	callq	_close_both
	movq	(%r15), %rdx
	leaq	L_.str.2(%rip), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_setup_tcp
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_try_0send
	movq	%rbx, %rdi
	callq	_close_both
	movq	(%r15), %rdx
	addq	$10, %rdx
	leaq	L_.str.3(%rip), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_setup_tcp
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_try_0write
	movq	%rbx, %rdi
	callq	_close_both
	leaq	L_.str.4(%rip), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_setup_udsstream
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_try_0send
	movq	%rbx, %rdi
	callq	_close_both
	leaq	L_.str.5(%rip), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_setup_udsstream
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_try_0write
	movq	%rbx, %rdi
	callq	_close_both
	leaq	L_.str.6(%rip), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_setup_udsdgram
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_try_0send
	movq	%rbx, %rdi
	callq	_close_both
	leaq	L_.str.7(%rip), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_setup_udsdgram
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_try_0write
	movq	%rbx, %rdi
	callq	_close_both
	leaq	L_.str.8(%rip), %rdi
	movq	%rbx, %rsi
	callq	_setup_pipe
	movl	-48(%rbp), %esi
	leaq	L_.str.9(%rip), %rdi
	callq	_try_0write
	movq	%rbx, %rdi
	callq	_close_both
	leaq	L_.str.10(%rip), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_setup_fifo
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_try_0write
	movq	%rbx, %rdi
	callq	_close_both
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"udp_0send"

	.comm	_PORT1,8,3                      ## @PORT1
	.comm	_PORT2,8,3                      ## @PORT2
L_.str.1:                               ## @.str.1
	.asciz	"udp_0write"

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

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

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

L_.str.5:                               ## @.str.5
	.asciz	"udsstream_0write"

L_.str.6:                               ## @.str.6
	.asciz	"udsdgram_0send"

L_.str.7:                               ## @.str.7
	.asciz	"udsdgram_0write"

L_.str.8:                               ## @.str.8
	.asciz	"pipe_0write"

L_.str.9:                               ## @.str.9
	.asciz	"pipd_0write"

L_.str.10:                              ## @.str.10
	.asciz	"fifo_0write"

.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x20, _PORT1@GOTPAGE
Lloh4:
	ldr	x20, [x20, _PORT1@GOTPAGEOFF]
	ldr	x2, [x20]
Lloh5:
	adrp	x21, _PORT2@GOTPAGE
Lloh6:
	ldr	x21, [x21, _PORT2@GOTPAGEOFF]
	ldr	x3, [x21]
Lloh7:
	adrp	x19, l_.str@PAGE
Lloh8:
	add	x19, x19, l_.str@PAGEOFF
	mov	x1, sp
	mov	x0, x19
	bl	_setup_udp
	ldr	w1, [sp]
	mov	x0, x19
	bl	_try_0send
	mov	x0, sp
	bl	_close_both
	ldr	x8, [x20]
	add	x2, x8, #10
	ldr	x8, [x21]
	add	x3, x8, #10
Lloh9:
	adrp	x19, l_.str.1@PAGE
Lloh10:
	add	x19, x19, l_.str.1@PAGEOFF
	mov	x1, sp
	mov	x0, x19
	bl	_setup_udp
	ldr	w1, [sp]
	mov	x0, x19
	bl	_try_0write
	mov	x0, sp
	bl	_close_both
	ldr	x2, [x20]
Lloh11:
	adrp	x19, l_.str.2@PAGE
Lloh12:
	add	x19, x19, l_.str.2@PAGEOFF
	mov	x1, sp
	mov	x0, x19
	bl	_setup_tcp
	ldr	w1, [sp]
	mov	x0, x19
	bl	_try_0send
	mov	x0, sp
	bl	_close_both
	ldr	x8, [x20]
	add	x2, x8, #10
Lloh13:
	adrp	x19, l_.str.3@PAGE
Lloh14:
	add	x19, x19, l_.str.3@PAGEOFF
	mov	x1, sp
	mov	x0, x19
	bl	_setup_tcp
	ldr	w1, [sp]
	mov	x0, x19
	bl	_try_0write
	mov	x0, sp
	bl	_close_both
Lloh15:
	adrp	x19, l_.str.4@PAGE
Lloh16:
	add	x19, x19, l_.str.4@PAGEOFF
	mov	x1, sp
	mov	x0, x19
	bl	_setup_udsstream
	ldr	w1, [sp]
	mov	x0, x19
	bl	_try_0send
	mov	x0, sp
	bl	_close_both
Lloh17:
	adrp	x19, l_.str.5@PAGE
Lloh18:
	add	x19, x19, l_.str.5@PAGEOFF
	mov	x1, sp
	mov	x0, x19
	bl	_setup_udsstream
	ldr	w1, [sp]
	mov	x0, x19
	bl	_try_0write
	mov	x0, sp
	bl	_close_both
Lloh19:
	adrp	x19, l_.str.6@PAGE
Lloh20:
	add	x19, x19, l_.str.6@PAGEOFF
	mov	x1, sp
	mov	x0, x19
	bl	_setup_udsdgram
	ldr	w1, [sp]
	mov	x0, x19
	bl	_try_0send
	mov	x0, sp
	bl	_close_both
Lloh21:
	adrp	x19, l_.str.7@PAGE
Lloh22:
	add	x19, x19, l_.str.7@PAGEOFF
	mov	x1, sp
	mov	x0, x19
	bl	_setup_udsdgram
	ldr	w1, [sp]
	mov	x0, x19
	bl	_try_0write
	mov	x0, sp
	bl	_close_both
Lloh23:
	adrp	x0, l_.str.8@PAGE
Lloh24:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, sp
	bl	_setup_pipe
	ldr	w1, [sp]
Lloh25:
	adrp	x0, l_.str.9@PAGE
Lloh26:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_try_0write
	mov	x0, sp
	bl	_close_both
Lloh27:
	adrp	x19, l_.str.10@PAGE
Lloh28:
	add	x19, x19, l_.str.10@PAGEOFF
	mov	x1, sp
	mov	x0, x19
	bl	_setup_fifo
	ldr	w1, [sp]
	mov	x0, x19
	bl	_try_0write
	mov	x0, sp
	bl	_close_both
	ldr	x8, [sp, #8]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	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
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"udp_0send"

	.comm	_PORT1,8,3                      ; @PORT1
	.comm	_PORT2,8,3                      ; @PORT2
l_.str.1:                               ; @.str.1
	.asciz	"udp_0write"

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

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

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

l_.str.5:                               ; @.str.5
	.asciz	"udsstream_0write"

l_.str.6:                               ; @.str.6
	.asciz	"udsdgram_0send"

l_.str.7:                               ; @.str.7
	.asciz	"udsdgram_0write"

l_.str.8:                               ; @.str.8
	.asciz	"pipe_0write"

l_.str.9:                               ; @.str.9
	.asciz	"pipd_0write"

l_.str.10:                              ; @.str.10
	.asciz	"fifo_0write"

.subsections_via_symbols
