	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_a2tun                          ## -- Begin function a2tun
	.p2align	4, 0x90
_a2tun:                                 ## @a2tun
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	$0, -56(%rbp)
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.1:
	movq	%rsi, %r15
	movq	_SSH_TUNID_ANY@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movl	%eax, (%rsi)
	movq	%r12, %rdi
	callq	_xstrdup
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	movq	%rax, %rbx
	movb	$0, (%rax)
	incq	%rbx
	movq	$0, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	_SSH_TUNID_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_strtonum
	cmpq	$0, -48(%rbp)
	je	LBB0_9
## %bb.8:
	movq	_SSH_TUNID_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_14:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movq	_SSH_TUNID_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rcx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_strtonum
	movl	%eax, %ebx
	cmpq	$0, -56(%rbp)
	jne	LBB0_17
	jmp	LBB0_19
LBB0_2:
	movq	%r14, %rdi
	callq	_free
	movq	$0, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_SSH_TUNID_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_strtonum
	movl	%eax, %ebx
	cmpq	$0, -48(%rbp)
	je	LBB0_19
LBB0_17:
	movq	_SSH_TUNID_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_6:
	movl	(%r13), %eax
LBB0_9:
	movl	%eax, (%r15)
	movq	$0, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	_SSH_TUNID_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_strtonum
	movl	%eax, %ebx
	cmpq	$0, -48(%rbp)
	je	LBB0_13
## %bb.12:
	movq	_SSH_TUNID_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_13
LBB0_10:
	movl	(%r13), %ebx
LBB0_13:
	movq	%r14, %rdi
	callq	_free
	movl	(%r15), %eax
	movq	_SSH_TUNID_ERR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	cmovel	%eax, %ebx
	jmp	LBB0_19
LBB0_15:
	movq	_SSH_TUNID_ANY@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %ebx
	jmp	LBB0_19
LBB0_3:
	movl	(%r13), %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSH_TUNID_ANY,4,2              ## @SSH_TUNID_ANY
	.comm	_SSH_TUNID_ERR,4,2              ## @SSH_TUNID_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"any"

	.comm	_SSH_TUNID_MAX,4,2              ## @SSH_TUNID_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_a2tun                          ; -- Begin function a2tun
	.p2align	2
_a2tun:                                 ; @a2tun
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x0
	str	xzr, [sp]
	cbz	x1, LBB0_4
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x23, _SSH_TUNID_ANY@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SSH_TUNID_ANY@GOTPAGEOFF]
	ldr	w8, [x23]
	str	w8, [x1]
	mov	x0, x21
	bl	_xstrdup
	mov	x20, x0
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_6
; %bb.2:
	mov	x22, x0
	strb	wzr, [x22], #1
	str	xzr, [sp, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strcasecmp
Lloh4:
	adrp	x24, _SSH_TUNID_MAX@GOTPAGE
Lloh5:
	ldr	x24, [x24, _SSH_TUNID_MAX@GOTPAGEOFF]
Lloh6:
	adrp	x21, _SSH_TUNID_ERR@GOTPAGE
Lloh7:
	ldr	x21, [x21, _SSH_TUNID_ERR@GOTPAGEOFF]
	cbz	x0, LBB0_9
; %bb.3:
	ldr	w2, [x24]
	add	x3, sp, #8
	mov	x0, x22
	mov	w1, #0
	bl	_strtonum
	ldr	x8, [sp, #8]
	ldr	w9, [x21]
	cmp	x8, #0
	csel	w8, w0, w9, eq
	b	LBB0_10
LBB0_4:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	x0, LBB0_14
; %bb.5:
Lloh10:
	adrp	x8, _SSH_TUNID_MAX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SSH_TUNID_MAX@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x3, sp
	mov	x0, x21
	mov	w1, #0
	bl	_strtonum
	ldr	x8, [sp]
	b	LBB0_8
LBB0_6:
	mov	x0, x20
	bl	_free
	str	xzr, [sp, #8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcasecmp
	cbz	x0, LBB0_15
; %bb.7:
Lloh15:
	adrp	x8, _SSH_TUNID_MAX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SSH_TUNID_MAX@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x21
	mov	w1, #0
	bl	_strtonum
	ldr	x8, [sp, #8]
LBB0_8:
Lloh18:
	adrp	x9, _SSH_TUNID_ERR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SSH_TUNID_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w0, w0, w9, eq
	b	LBB0_16
LBB0_9:
	ldr	w8, [x23]
LBB0_10:
	str	w8, [x19]
	str	xzr, [sp, #8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w2, [x24]
	add	x3, sp, #8
	mov	x0, x20
	mov	w1, #0
	bl	_strtonum
	ldr	x8, [sp, #8]
	ldr	w9, [x21]
	cmp	x8, #0
	csel	w22, w0, w9, eq
	b	LBB0_13
LBB0_12:
	ldr	w22, [x23]
LBB0_13:
	mov	x0, x20
	bl	_free
	ldr	w8, [x19]
	ldr	w9, [x21]
	cmp	w8, w9
	csel	w0, w8, w22, eq
	b	LBB0_16
LBB0_14:
Lloh23:
	adrp	x8, _SSH_TUNID_ANY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SSH_TUNID_ANY@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	b	LBB0_16
LBB0_15:
	ldr	w0, [x23]
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_SSH_TUNID_ANY,4,2              ; @SSH_TUNID_ANY
	.comm	_SSH_TUNID_ERR,4,2              ; @SSH_TUNID_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"any"

	.comm	_SSH_TUNID_MAX,4,2              ; @SSH_TUNID_MAX
.subsections_via_symbols
