	.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
	pushq	%rax
	movl	$8264, %eax                     ## imm = 0x2048
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	%edi, %ebx
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r15
	leaq	LJTI0_0(%rip), %r12
	movq	_optarg@GOTPCREL(%rip), %r14
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rax
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$-1, %eax
	je	LBB0_4
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-100(%rax), %ecx
	cmpl	$16, %ecx
	ja	LBB0_3
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=2
	movslq	(%r12,%rcx,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	(%r14), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_4:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	subl	%r15d, %ebx
	leal	-3(%rbx), %eax
	cmpl	$-2, %eax
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jb	LBB0_8
## %bb.5:
	testq	%r12, %r12
	je	LBB0_8
## %bb.6:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_8
## %bb.7:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_9
LBB0_8:
	xorl	%eax, %eax
	callq	_usage
LBB0_9:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.16:
	callq	_atoi
	movl	%eax, %r14d
	jmp	LBB0_17
LBB0_10:
	movl	$94, %r14d
LBB0_17:
	leaq	(,%r15,8), %rax
	addq	%r13, %rax
	cmpl	$1, %ebx
	jne	LBB0_19
## %bb.18:
	xorl	%r15d, %r15d
	jmp	LBB0_20
LBB0_19:
	movq	(%rax), %r15
	addq	$8, %rax
LBB0_20:
	movq	(%rax), %rbx
	movq	_LOG_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LOG_DAEMON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rdi
	callq	_openlog
	leaq	-80(%rbp), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_Set_address
	testq	%rax, %rax
	jne	LBB0_45
## %bb.21:
	leaq	-80(%rbp), %rsi
	movq	%r12, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_tun_open
	testq	%rax, %rax
	jne	LBB0_46
## %bb.22:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_Set_address
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movl	$4, %edi
	callq	_Finish
LBB0_24:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	callq	_socket
	movq	_net@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	testl	%eax, %eax
	jns	LBB0_26
## %bb.25:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_syslog
	movl	$5, %edi
	callq	_Finish
LBB0_26:
	testq	%r15, %r15
	je	LBB0_31
## %bb.27:
	leaq	-72(%rbp), %rsi
	movq	%r15, %rdi
	callq	_Set_address
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movl	$9, %edi
	callq	_Finish
LBB0_29:
	movl	(%r12), %edi
	leaq	-72(%rbp), %rsi
	movl	$4, %edx
	callq	_bind
	testq	%rax, %rax
	jns	LBB0_31
## %bb.30:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_syslog
	movl	$10, %edi
	callq	_Finish
LBB0_31:
	movl	(%r12), %edi
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	callq	_connect
	testq	%rax, %rax
	jns	LBB0_33
## %bb.32:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_syslog
	movl	(%r12), %edi
	callq	_close
	movl	$6, %edi
	callq	_Finish
LBB0_33:
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_daemon
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_Finish@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	callq	_signal
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_signal
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_signal
	movq	_tun@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movl	(%r12), %r14d
	cmpl	%r14d, %eax
	cmovgl	%eax, %r14d
	incl	%r14d
	leaq	-100(%rbp), %r13
	leaq	-8304(%rbp), %rbx
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_FD_ZERO
	movl	(%r15), %edi
	movq	%r13, %rsi
	callq	_FD_SET
	movl	(%r12), %edi
	movq	%r13, %rsi
	callq	_FD_SET
	movl	%r14d, %edi
	movq	%r13, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_select
	testl	%eax, %eax
	js	LBB0_35
## %bb.36:                              ##   in Loop: Header=BB0_34 Depth=1
	jne	LBB0_39
## %bb.37:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	$8, %ebx
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_34 Depth=1
	movl	$7, %ebx
	leaq	L_.str.5(%rip), %rsi
LBB0_38:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_syslog
	movl	(%r12), %edi
	callq	_close
	movl	%ebx, %edi
	callq	_Finish
	leaq	-8304(%rbp), %rbx
LBB0_39:                                ##   in Loop: Header=BB0_34 Depth=1
	movl	(%r12), %edi
	movq	%r13, %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_42
## %bb.40:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	(%r12), %edi
	movq	%rbx, %rsi
	movl	$8192, %edx                     ## imm = 0x2000
	callq	_read
	movq	-8296(%rbp), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	-8304(%rbp), %ecx
	shll	$2, %ecx
	movl	(%r15), %edi
	movslq	%ecx, %rcx
	leaq	(%rcx,%rbp), %rsi
	addq	$-8304, %rsi                    ## imm = 0xDF90
	subl	%ecx, %eax
	movl	%eax, %edx
	callq	_write
LBB0_42:                                ##   in Loop: Header=BB0_34 Depth=1
	movl	(%r15), %edi
	movq	%r13, %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_34
## %bb.43:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	(%r15), %edi
	movq	%rbx, %rsi
	movl	$8192, %edx                     ## imm = 0x2000
	callq	_read
	movl	(%r12), %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_send
	testq	%rax, %rax
	jg	LBB0_34
## %bb.44:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_syslog
	jmp	LBB0_34
LBB0_45:
	xorl	%eax, %eax
	callq	_closelog
	movl	$2, %edi
	callq	_exit
LBB0_46:
	xorl	%eax, %eax
	callq	_closelog
	movl	$3, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_15
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_13
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"d:s:t:p:"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_optind,8,3                     ## @optind
L_.str.1:                               ## @.str.1
	.asciz	"nos-tun"

	.comm	_LOG_PID,4,2                    ## @LOG_PID
	.comm	_LOG_DAEMON,4,2                 ## @LOG_DAEMON
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_SOCK_RAW,4,2                   ## @SOCK_RAW
	.comm	_net,4,2                        ## @net
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.2:                               ## @.str.2
	.asciz	"can't open socket - %m"

L_.str.3:                               ## @.str.3
	.asciz	"can't bind source address - %m"

L_.str.4:                               ## @.str.4
	.asciz	"can't connect to target - %m"

	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_tun,4,2                        ## @tun
L_.str.5:                               ## @.str.5
	.asciz	"interrupted select"

L_.str.6:                               ## @.str.6
	.asciz	"timeout in select"

L_.str.7:                               ## @.str.7
	.asciz	"can't send - %m"

.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:
	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
	mov	w9, #8224
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #2, lsl #12             ; =8192
	sub	sp, sp, #32
	mov	x23, x1
	mov	x24, x0
	mov	x19, #0
	mov	x21, #0
	mov	x20, #0
	mov	x22, #0
Lloh2:
	adrp	x25, l_.str@PAGE
Lloh3:
	add	x25, x25, l_.str@PAGEOFF
Lloh4:
	adrp	x26, _optarg@GOTPAGE
Lloh5:
	ldr	x26, [x26, _optarg@GOTPAGEOFF]
Lloh6:
	adrp	x27, lJTI0_0@PAGE
Lloh7:
	add	x27, x27, lJTI0_0@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x23
	mov	x2, x25
	bl	_getopt
	sub	w8, w0, #100
	cmp	w8, #16
	b.hi	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x20, [x26]
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x22, [x26]
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x21, [x26]
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x19, [x26]
	b	LBB0_2
LBB0_8:
Lloh8:
	adrp	x8, _optind@GOTPAGE
Lloh9:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh10:
	ldr	x26, [x8]
	sub	w25, w24, w26
	sub	w8, w25, #3
	cmn	w8, #2
	ccmp	x19, #0, #4, hs
	ccmp	x21, #0, #4, ne
	ccmp	x20, #0, #4, ne
	b.ne	LBB0_10
; %bb.9:
	bl	_usage
LBB0_10:
	add	x24, x23, x26, lsl #3
	cbz	x22, LBB0_13
; %bb.11:
	mov	x0, x22
	bl	_atoi
	mov	x23, x0
	cmp	w25, #1
	b.ne	LBB0_14
LBB0_12:
	mov	x22, #0
	b	LBB0_15
LBB0_13:
	mov	w23, #94
	cmp	w25, #1
	b.eq	LBB0_12
LBB0_14:
	ldr	x22, [x24], #8
LBB0_15:
	ldr	x24, [x24]
Lloh11:
	adrp	x8, _LOG_PID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LOG_PID@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _LOG_DAEMON@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LOG_DAEMON@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_openlog
	sub	x1, x29, #88
	mov	x0, x21
	bl	_Set_address
	cbnz	x0, LBB0_40
; %bb.16:
	sub	x1, x29, #88
	mov	x0, x19
	mov	x2, x20
	bl	_tun_open
	cbnz	x0, LBB0_41
; %bb.17:
	sub	x1, x29, #96
	mov	x0, x24
	bl	_Set_address
	cbz	x0, LBB0_19
; %bb.18:
	mov	w0, #4
	bl	_Finish
LBB0_19:
Lloh19:
	adrp	x8, _AF_INET@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, _SOCK_RAW@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SOCK_RAW@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x2, x23
	bl	_socket
Lloh25:
	adrp	x23, _net@GOTPAGE
Lloh26:
	ldr	x23, [x23, _net@GOTPAGEOFF]
	str	w0, [x23]
Lloh27:
	adrp	x24, _LOG_ERR@GOTPAGE
Lloh28:
	ldr	x24, [x24, _LOG_ERR@GOTPAGEOFF]
	tbz	w0, #31, LBB0_21
; %bb.20:
	ldr	w0, [x24]
Lloh29:
	adrp	x1, l_.str.2@PAGE
Lloh30:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_syslog
	mov	w0, #5
	bl	_Finish
LBB0_21:
	cbz	x22, LBB0_26
; %bb.22:
	sub	x1, x29, #104
	mov	x0, x22
	bl	_Set_address
	cbz	x0, LBB0_24
; %bb.23:
	mov	w0, #9
	bl	_Finish
LBB0_24:
	ldr	w0, [x23]
	sub	x1, x29, #104
	mov	w2, #4
	bl	_bind
	tbz	x0, #63, LBB0_26
; %bb.25:
	ldr	w0, [x24]
Lloh31:
	adrp	x1, l_.str.3@PAGE
Lloh32:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_syslog
	mov	w0, #10
	bl	_Finish
LBB0_26:
	ldr	w0, [x23]
	sub	x1, x29, #96
	mov	w2, #8
	bl	_connect
	tbz	x0, #63, LBB0_28
; %bb.27:
	ldr	w0, [x24]
Lloh33:
	adrp	x1, l_.str.4@PAGE
Lloh34:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_syslog
	ldr	w0, [x23]
	bl	_close
	mov	w0, #6
	bl	_Finish
LBB0_28:
	mov	w0, #0
	mov	w1, #0
	bl	_daemon
Lloh35:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x19, _Finish@GOTPAGE
Lloh39:
	ldr	x19, [x19, _Finish@GOTPAGEOFF]
	mov	x1, x19
	bl	_signal
Lloh40:
	adrp	x8, _SIGINT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_signal
Lloh43:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_signal
Lloh46:
	adrp	x22, _tun@GOTPAGE
Lloh47:
	ldr	x22, [x22, _tun@GOTPAGEOFF]
	ldr	w8, [x22]
	ldr	w9, [x23]
	cmp	w8, w9
	csel	w8, w8, w9, gt
Lloh48:
	adrp	x25, l_.str.5@PAGE
Lloh49:
	add	x25, x25, l_.str.5@PAGEOFF
	add	w19, w8, #1
	add	x26, sp, #8
Lloh50:
	adrp	x20, l_.str.7@PAGE
Lloh51:
	add	x20, x20, l_.str.7@PAGEOFF
Lloh52:
	adrp	x27, l_.str.6@PAGE
Lloh53:
	add	x27, x27, l_.str.6@PAGEOFF
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #4
	bl	_FD_ZERO
	ldr	w0, [x22]
	add	x1, sp, #4
	bl	_FD_SET
	ldr	w0, [x23]
	add	x1, sp, #4
	bl	_FD_SET
	add	x1, sp, #4
	mov	x0, x19
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_select
	tbnz	w0, #31, LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	cbnz	w0, LBB0_34
; %bb.31:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	w21, #8
	mov	x1, x27
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_29 Depth=1
	mov	w21, #7
	mov	x1, x25
LBB0_33:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	w0, [x24]
	bl	_syslog
	ldr	w0, [x23]
	bl	_close
	mov	x0, x21
	bl	_Finish
LBB0_34:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	w0, [x23]
	add	x1, sp, #4
	bl	_FD_ISSET
	cbz	x0, LBB0_37
; %bb.35:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	w0, [x23]
	add	x1, sp, #8
	mov	w2, #8192
	bl	_read
	ldr	x8, [sp, #16]
	ldur	x9, [x29, #-96]
	cmp	x8, x9
	b.ne	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	w8, [sp, #8]
	lsl	w9, w8, #2
	ldr	w8, [x22]
	add	x1, x26, w9, sxtw
	sub	w2, w0, w9
	mov	x0, x8
	bl	_write
LBB0_37:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	w0, [x22]
	add	x1, sp, #4
	bl	_FD_ISSET
	cbz	x0, LBB0_29
; %bb.38:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	w0, [x22]
	add	x1, sp, #8
	mov	w2, #8192
	bl	_read
	mov	x2, x0
	ldr	w0, [x23]
	add	x1, sp, #8
	mov	w3, #0
	bl	_send
	cmp	x0, #0
	b.gt	LBB0_29
; %bb.39:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	w0, [x24]
	mov	x1, x20
	bl	_syslog
	b	LBB0_29
LBB0_40:
	bl	_closelog
	mov	w0, #2
	bl	_exit
LBB0_41:
	bl	_closelog
	mov	w0, #3
	bl	_exit
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"d:s:t:p:"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_optind,8,3                     ; @optind
l_.str.1:                               ; @.str.1
	.asciz	"nos-tun"

	.comm	_LOG_PID,4,2                    ; @LOG_PID
	.comm	_LOG_DAEMON,4,2                 ; @LOG_DAEMON
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_SOCK_RAW,4,2                   ; @SOCK_RAW
	.comm	_net,4,2                        ; @net
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.2:                               ; @.str.2
	.asciz	"can't open socket - %m"

l_.str.3:                               ; @.str.3
	.asciz	"can't bind source address - %m"

l_.str.4:                               ; @.str.4
	.asciz	"can't connect to target - %m"

	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_tun,4,2                        ; @tun
l_.str.5:                               ; @.str.5
	.asciz	"interrupted select"

l_.str.6:                               ; @.str.6
	.asciz	"timeout in select"

l_.str.7:                               ; @.str.7
	.asciz	"can't send - %m"

.subsections_via_symbols
