	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-144(%rbp), %rdi
	movl	$16, %esi
	callq	_bzero
	addl	$-5, %ebx
	cmpl	$-3, %ebx
	jbe	LBB0_25
## %bb.1:
	movq	8(%r15), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_strcmp
	movq	%rax, %r13
	xorl	%eax, %eax
	testq	%r13, %r13
	sete	%al
	movq	8(%r15,%rax,8), %r14
	movq	16(%r15,%rax,8), %rdi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movq	_O_NONBLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_open
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	testq	%r13, %r13
	jne	LBB0_4
LBB0_5:
	movq	_PF_INET6@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	testq	%r13, %r13
	je	LBB0_5
LBB0_4:
	movq	_PF_INET@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_8
## %bb.7:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_8:
	movl	$1, -148(%rbp)
	movq	_SOL_SOCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SO_DONTROUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-148(%rbp), %rcx
	movl	%r12d, %edi
	movl	$4, %r8d
	callq	_setsockopt
	cmpl	$-1, %eax
	jne	LBB0_10
## %bb.9:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_10:
	movl	$16, -144(%rbp)
	testq	%r13, %r13
	je	LBB0_11
## %bb.12:
	movq	_AF_INET@GOTPCREL(%rip), %rbx
	jmp	LBB0_13
LBB0_11:
	movq	_AF_INET6@GOTPCREL(%rip), %rbx
LBB0_13:
	movq	(%rbx), %rax
	movq	%rax, -136(%rbp)
	movl	$46120, %edi                    ## imm = 0xB428
	callq	_htons
	movq	%rax, -136(%rbp)
	movq	(%rbx), %rdi
	leaq	-144(%rbp), %rdx
	movq	%r14, %rsi
	callq	_inet_pton
	cmpl	$1, %eax
	je	LBB0_15
## %bb.14:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_err
LBB0_15:
	leaq	L_.str(%rip), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movl	-144(%rbp), %r9d
	leaq	-144(%rbp), %r8
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_sendto
	cmpl	$-1, %eax
	jne	LBB0_17
## %bb.16:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_17:
	leaq	-128(%rbp), %rsi
	movl	$80, %edx
	movl	%r15d, %edi
	callq	_read
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	jns	LBB0_23
## %bb.20:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.21:
	leaq	L_.str.9(%rip), %rsi
	callq	_errx
	jmp	LBB0_23
LBB0_18:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_errx
	jmp	LBB0_23
LBB0_22:
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.24:
	xorl	%eax, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	movl	$2, %edi
	callq	_exit
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Hello, World!"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Usage: %s [-6] ip_address tapdev\n"

L_.str.2:                               ## @.str.2
	.asciz	"-6"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
L_.str.3:                               ## @.str.3
	.asciz	"open"

	.comm	_PF_INET6,4,2                   ## @PF_INET6
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_PF_INET,4,2                    ## @PF_INET
L_.str.4:                               ## @.str.4
	.asciz	"socket"

	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_DONTROUTE,4,2               ## @SO_DONTROUTE
L_.str.5:                               ## @.str.5
	.asciz	"setsockopt(SO_DONTROUTE)"

	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_AF_INET,8,3                    ## @AF_INET
L_.str.6:                               ## @.str.6
	.asciz	"inet_pton returned %d"

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

L_.str.8:                               ## @.str.8
	.asciz	"read returned EOF"

	.comm	_errno,8,3                      ## @errno
	.comm	_EAGAIN,8,3                     ## @EAGAIN
L_.str.9:                               ## @.str.9
	.asciz	"Did not receive any packets"

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

.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, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	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, #-40]
	add	x0, sp, #24
	mov	w1, #16
	bl	_bzero
	sub	w8, w20, #5
	cmn	w8, #3
	b.ls	LBB0_22
; %bb.1:
	ldr	x1, [x19, #8]
Lloh3:
	adrp	x0, l_.str.2@PAGE
Lloh4:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_strcmp
	mov	x22, x0
	mov	w8, #8
	mov	w9, #16
	cmp	x0, #0
	csel	x8, x9, x8, eq
	mov	w10, #24
	csel	x9, x10, x9, eq
	ldr	x0, [x19, x9]
	ldr	x20, [x19, x8]
Lloh5:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _O_NONBLOCK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _O_NONBLOCK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_open
	mov	x19, x0
	tbz	w0, #31, LBB0_3
; %bb.2:
Lloh11:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
LBB0_3:
Lloh16:
	adrp	x8, _PF_INET6@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PF_INET6@GOTPAGEOFF]
Lloh18:
	adrp	x9, _PF_INET@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PF_INET@GOTPAGEOFF]
	cmp	x22, #0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
Lloh20:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	mov	x21, x0
	tbz	w0, #31, LBB0_5
; %bb.4:
Lloh23:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_err
LBB0_5:
	mov	w8, #1
	str	w8, [sp, #20]
Lloh28:
	adrp	x8, _SOL_SOCKET@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SOL_SOCKET@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x8, _SO_DONTROUTE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SO_DONTROUTE@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	add	x3, sp, #20
	mov	x0, x21
	mov	w4, #4
	bl	_setsockopt
	cmn	w0, #1
	b.ne	LBB0_7
; %bb.6:
Lloh34:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
Lloh37:
	adrp	x1, l_.str.5@PAGE
Lloh38:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_err
LBB0_7:
	mov	w8, #16
	str	w8, [sp, #24]
	cbz	x22, LBB0_9
; %bb.8:
Lloh39:
	adrp	x22, _AF_INET@GOTPAGE
Lloh40:
	ldr	x22, [x22, _AF_INET@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh41:
	adrp	x22, _AF_INET6@GOTPAGE
Lloh42:
	ldr	x22, [x22, _AF_INET6@GOTPAGEOFF]
LBB0_10:
	ldr	x8, [x22]
	str	x8, [sp, #32]
	mov	w0, #46120
	bl	_htons
	str	x0, [sp, #32]
	ldr	x0, [x22]
	add	x2, sp, #24
	mov	x1, x20
	bl	_inet_pton
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, #1
	b.eq	LBB0_12
; %bb.11:
Lloh43:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	str	x0, [sp]
Lloh46:
	adrp	x1, l_.str.6@PAGE
Lloh47:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x8
	bl	_err
LBB0_12:
Lloh48:
	adrp	x20, l_.str@PAGE
Lloh49:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	ldr	w5, [sp, #24]
	add	x4, sp, #24
	mov	x0, x21
	mov	x1, x20
	mov	w3, #0
	bl	_sendto
	cmn	w0, #1
	b.ne	LBB0_14
; %bb.13:
Lloh50:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
Lloh53:
	adrp	x1, l_.str.7@PAGE
Lloh54:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_err
LBB0_14:
	add	x1, sp, #40
	mov	x0, x19
	mov	w2, #80
	bl	_read
	cbz	x0, LBB0_18
; %bb.15:
	tbz	x0, #63, LBB0_20
; %bb.16:
Lloh55:
	adrp	x8, _errno@GOTPAGE
Lloh56:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh57:
	adrp	x9, _EAGAIN@GOTPAGE
Lloh58:
	ldr	x9, [x9, _EAGAIN@GOTPAGEOFF]
Lloh59:
	ldr	x8, [x8]
Lloh60:
	ldr	x9, [x9]
Lloh61:
	adrp	x10, _EXIT_FAILURE@GOTPAGE
Lloh62:
	ldr	x10, [x10, _EXIT_FAILURE@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x10]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.17:
Lloh64:
	adrp	x1, l_.str.9@PAGE
Lloh65:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_errx
	b	LBB0_20
LBB0_18:
Lloh66:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh68:
	ldr	w0, [x8]
Lloh69:
	adrp	x1, l_.str.8@PAGE
Lloh70:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_errx
	b	LBB0_20
LBB0_19:
Lloh71:
	adrp	x1, l_.str.10@PAGE
Lloh72:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_err
LBB0_20:
	ldur	x8, [x29, #-40]
Lloh73:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh74:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh75:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.21:
	mov	w0, #0
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_22:
Lloh76:
	adrp	x8, _stderr@GOTPAGE
Lloh77:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh78:
	ldr	w0, [x8]
	ldr	x2, [x19]
Lloh79:
	adrp	x1, l_.str.1@PAGE
Lloh80:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	w0, #2
	bl	_exit
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh59
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Hello, World!"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Usage: %s [-6] ip_address tapdev\n"

l_.str.2:                               ; @.str.2
	.asciz	"-6"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
l_.str.3:                               ; @.str.3
	.asciz	"open"

	.comm	_PF_INET6,4,2                   ; @PF_INET6
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_PF_INET,4,2                    ; @PF_INET
l_.str.4:                               ; @.str.4
	.asciz	"socket"

	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_DONTROUTE,4,2               ; @SO_DONTROUTE
l_.str.5:                               ; @.str.5
	.asciz	"setsockopt(SO_DONTROUTE)"

	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_AF_INET,8,3                    ; @AF_INET
l_.str.6:                               ; @.str.6
	.asciz	"inet_pton returned %d"

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

l_.str.8:                               ; @.str.8
	.asciz	"read returned EOF"

	.comm	_errno,8,3                      ; @errno
	.comm	_EAGAIN,8,3                     ; @EAGAIN
l_.str.9:                               ; @.str.9
	.asciz	"Did not receive any packets"

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

.subsections_via_symbols
