	.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	$40, %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	_TCP_FUNCTION_NAME_LEN_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movb	$0, (%rax)
	movq	_SW_TLS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %r12
	leaq	LJTI0_0(%rip), %r14
	movq	_tcpswitch_list_commands@GOTPCREL(%rip), %r13
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, (%r13)
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-83(%rax), %ecx
	cmpl	$32, %ecx
	ja	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r14,%rcx,4), %rax
	addq	%r14, %rax
	jmpq	*%rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strlcpy
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	je	LBB0_11
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_2
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	$1, %al
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_IFNET_TLS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_SW_TLS@GOTPCREL(%rip), %rax
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
LBB0_11:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	setne	%al
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	andb	%r14b, %al
	cmpb	$1, %al
	jne	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	callq	_usage
LBB0_13:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	setne	%al
	orb	%al, %r14b
	testb	$1, %r14b
	je	LBB0_19
## %bb.14:
	cmpl	%ebx, %r12d
	je	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	callq	_usage
LBB0_16:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_tcpswitchall
	testl	%eax, %eax
	je	LBB0_31
LBB0_18:
	xorl	%edi, %edi
	callq	_exit
LBB0_19:
	subl	%r12d, %ebx
	leal	-2(%rbx), %eax
	testl	$-3, %eax
	jne	LBB0_21
## %bb.20:
	cmpl	$0, (%r13)
	je	LBB0_22
LBB0_21:
	xorl	%eax, %eax
	callq	_usage
LBB0_22:
	movq	(%r15,%r12,8), %rdi
	cmpl	$2, %ebx
	jne	LBB0_29
## %bb.23:
	callq	_findport
	movq	%rax, %rbx
	movq	8(%r15,%r12,8), %rdi
	callq	_findport
	movq	%rax, %r13
	testq	%rbx, %rbx
	je	LBB0_27
## %bb.24:
	cmpb	$0, 1(%rbx)
	je	LBB0_27
## %bb.25:
	testq	%r13, %r13
	je	LBB0_27
## %bb.26:
	cmpb	$0, 1(%r13)
	jne	LBB0_28
LBB0_27:
	xorl	%eax, %eax
	callq	_usage
LBB0_28:
	movq	%rbx, %rsi
	incq	%rsi
	movb	$0, (%rbx)
	movq	%r13, %rcx
	incq	%rcx
	movb	$0, (%r13)
	movq	(%r15,%r12,8), %rdi
	movq	8(%r15,%r12,8), %rdx
	jmp	LBB0_30
LBB0_29:
	movq	8(%r15,%r12,8), %rsi
	movq	16(%r15,%r12,8), %rdx
	movq	24(%r15,%r12,8), %rcx
LBB0_30:
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_tcpswitchbyname
	testl	%eax, %eax
	jne	LBB0_18
LBB0_31:
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_1
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_TCP_FUNCTION_NAME_LEN_MAX,4,2  ## @TCP_FUNCTION_NAME_LEN_MAX
	.comm	_SW_TLS,4,2                     ## @SW_TLS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ailS:s"

	.comm	_IFNET_TLS,4,2                  ## @IFNET_TLS
	.comm	_tcpswitch_list_commands,4,2    ## @tcpswitch_list_commands
	.comm	_optarg,4,2                     ## @optarg
	.comm	_optind,8,3                     ## @optind
.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
	sub	sp, sp, #16
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _TCP_FUNCTION_NAME_LEN_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TCP_FUNCTION_NAME_LEN_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	mov	x9, x23
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x8, x8, x9
	mov	sp, x8
	mov	w25, #0
	mov	w27, #0
	stur	x8, [x29, #-88]                 ; 8-byte Folded Spill
	strb	wzr, [x8]
Lloh5:
	adrp	x8, _SW_TLS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SW_TLS@GOTPAGEOFF]
Lloh7:
	adrp	x24, l_.str@PAGE
Lloh8:
	add	x24, x24, l_.str@PAGEOFF
Lloh9:
	adrp	x28, lJTI0_0@PAGE
Lloh10:
	add	x28, x28, lJTI0_0@PAGEOFF
Lloh11:
	ldr	w19, [x8]
Lloh12:
	adrp	x26, _tcpswitch_list_commands@GOTPAGE
Lloh13:
	ldr	x26, [x26, _tcpswitch_list_commands@GOTPAGEOFF]
	mov	w22, #1
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmn	w0, #1
	b.eq	LBB0_10
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_usage
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x24
	bl	_getopt
	sub	w8, w0, #83
	cmp	w8, #32
	b.hi	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	w22, [x26]
	b	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh14:
	adrp	x8, _optarg@GOTPAGE
Lloh15:
	ldr	x8, [x8, _optarg@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldur	x0, [x29, #-88]                 ; 8-byte Folded Reload
	mov	x2, x23
	bl	_strlcpy
	mov	w27, #1
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w25, #1
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh17:
	adrp	x8, _IFNET_TLS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IFNET_TLS@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh20:
	adrp	x8, _SW_TLS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SW_TLS@GOTPAGEOFF]
Lloh22:
	ldr	w19, [x8]
	b	LBB0_3
LBB0_10:
Lloh23:
	adrp	x8, _optind@GOTPAGE
Lloh24:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh25:
	ldr	x23, [x8]
	cmp	w27, #0
	cset	w8, ne
	and	w8, w25, w8
	cmp	w8, #1
	b.ne	LBB0_12
; %bb.11:
	bl	_usage
LBB0_12:
	cmp	w27, #0
	cset	w8, ne
	orr	w8, w25, w8
	tbz	w8, #0, LBB0_17
; %bb.13:
	cmp	w23, w20
	b.eq	LBB0_15
; %bb.14:
	bl	_usage
LBB0_15:
	ldur	x0, [x29, #-88]                 ; 8-byte Folded Reload
	mov	x1, x19
	bl	_tcpswitchall
	cbnz	w0, LBB0_27
LBB0_16:
	mov	w0, #1
	bl	_exit
LBB0_17:
	add	x22, x21, x23, lsl #3
	sub	w20, w20, w23
	cmp	w20, #4
	ccmp	w20, #2, #4, ne
	ldr	w8, [x26]
	ccmp	w8, #0, #0, eq
	b.eq	LBB0_19
; %bb.18:
	bl	_usage
LBB0_19:
	ldr	x0, [x22]
	cmp	w20, #2
	b.ne	LBB0_25
; %bb.20:
	bl	_findport
	mov	x20, x0
	ldr	x0, [x22, #8]
	bl	_findport
	mov	x21, x0
	cbz	x20, LBB0_23
; %bb.21:
	ldrb	w8, [x20, #1]
	cmp	w8, #0
	ccmp	x21, #0, #4, ne
	b.eq	LBB0_23
; %bb.22:
	ldrb	w8, [x21, #1]
	cbnz	w8, LBB0_24
LBB0_23:
	bl	_usage
LBB0_24:
	strb	wzr, [x20], #1
	strb	wzr, [x21], #1
	ldp	x0, x2, [x22]
	mov	x1, x20
	mov	x3, x21
	b	LBB0_26
LBB0_25:
	ldp	x1, x2, [x22, #8]
	ldr	x3, [x22, #24]
LBB0_26:
	mov	x4, x19
	bl	_tcpswitchbyname
	cbz	w0, LBB0_16
LBB0_27:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh11
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-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_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-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_8-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_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_TCP_FUNCTION_NAME_LEN_MAX,4,2  ; @TCP_FUNCTION_NAME_LEN_MAX
	.comm	_SW_TLS,4,2                     ; @SW_TLS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ailS:s"

	.comm	_IFNET_TLS,4,2                  ; @IFNET_TLS
	.comm	_tcpswitch_list_commands,4,2    ; @tcpswitch_list_commands
	.comm	_optarg,4,2                     ; @optarg
	.comm	_optind,8,3                     ; @optind
.subsections_via_symbols
