	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcpswitch
_tcpswitch:                             ## @tcpswitch
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_TCPDROP_FOREIGN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	-32(,%rax,4), %rdi
	addq	%rbp, %rdi
	movl	(%rsi), %edx
	callq	_memcpy
	movq	_TCPDROP_LOCAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	-32(,%rax,4), %rdi
	addq	%rbp, %rdi
	movl	(%rbx), %edx
	movq	%rbx, %rsi
	callq	_memcpy
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_sockinfo
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_sockinfo
	movq	_tcpswitch_list_commands@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_SW_TLS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	je	LBB0_2
## %bb.1:
	cmpl	%r14d, %eax
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	-64(%rbp), %rdx
	movq	-56(%rbp), %rcx
	movq	-48(%rbp), %r8
	movq	-40(%rbp), %r9
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_5
LBB0_2:
	cmpl	%r14d, %eax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rdi
	cmoveq	%rax, %rdi
	xorl	%ebx, %ebx
	leaq	-32(%rbp), %rcx
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$8, %r8d
	callq	_sysctlbyname
	movq	-64(%rbp), %rsi
	movq	-56(%rbp), %rdx
	movq	-48(%rbp), %rcx
	movq	-40(%rbp), %r8
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_5:
	movl	$1, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str.5(%rip), %rdi
	callq	_warn
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_TCPDROP_FOREIGN,8,3            ## @TCPDROP_FOREIGN
	.comm	_TCPDROP_LOCAL,8,3              ## @TCPDROP_LOCAL
	.comm	_tcpswitch_list_commands,8,3    ## @tcpswitch_list_commands
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"switch_tls %s %s %s %s %s\n"

	.comm	_SW_TLS,4,2                     ## @SW_TLS
L_.str.1:                               ## @.str.1
	.asciz	"-s"

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

L_.str.3:                               ## @.str.3
	.asciz	"net.inet.tcp.switch_to_sw_tls"

L_.str.4:                               ## @.str.4
	.asciz	"net.inet.tcp.switch_to_ifnet_tls"

L_.str.5:                               ## @.str.5
	.asciz	"%s %s %s %s"

L_.str.6:                               ## @.str.6
	.asciz	"%s %s %s %s: switched\n"

	.no_dead_strip	_tcpswitch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcpswitch
_tcpswitch:                             ; @tcpswitch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _TCPDROP_FOREIGN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TCPDROP_FOREIGN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x22, sp, #8
	add	x0, x22, x8, lsl #2
	ldr	w2, [x1]
	bl	_memcpy
Lloh3:
	adrp	x8, _TCPDROP_LOCAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCPDROP_LOCAL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x0, x22, x8, lsl #2
	ldr	w2, [x21]
	mov	x1, x21
	bl	_memcpy
	add	x1, sp, #32
	mov	x0, x21
	bl	_sockinfo
	add	x1, sp, #16
	mov	x0, x20
	bl	_sockinfo
Lloh6:
	adrp	x8, _tcpswitch_list_commands@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tcpswitch_list_commands@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x8]
Lloh9:
	adrp	x8, _SW_TLS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SW_TLS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cbz	x9, LBB0_2
; %bb.1:
Lloh12:
	adrp	x9, l_.str.2@PAGE
Lloh13:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh14:
	adrp	x10, l_.str.1@PAGE
Lloh15:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, w19
	csel	x1, x10, x9, eq
	ldp	x2, x3, [sp, #32]
	ldp	x4, x8, [sp, #16]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	str	x8, [sp]
	b	LBB0_4
LBB0_2:
Lloh18:
	adrp	x9, l_.str.4@PAGE
Lloh19:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh20:
	adrp	x10, l_.str.3@PAGE
Lloh21:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	w8, w19
	csel	x0, x10, x9, eq
	add	x3, sp, #8
	mov	x1, #0
	mov	x2, #0
	mov	w4, #8
	bl	_sysctlbyname
	ldp	x1, x2, [sp, #32]
	ldp	x3, x4, [sp, #16]
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.3:
Lloh22:
	adrp	x0, l_.str.6@PAGE
Lloh23:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_4:
	bl	_printf
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
Lloh24:
	adrp	x0, l_.str.5@PAGE
Lloh25:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_warn
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_TCPDROP_FOREIGN,8,3            ; @TCPDROP_FOREIGN
	.comm	_TCPDROP_LOCAL,8,3              ; @TCPDROP_LOCAL
	.comm	_tcpswitch_list_commands,8,3    ; @tcpswitch_list_commands
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"switch_tls %s %s %s %s %s\n"

	.comm	_SW_TLS,4,2                     ; @SW_TLS
l_.str.1:                               ; @.str.1
	.asciz	"-s"

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

l_.str.3:                               ; @.str.3
	.asciz	"net.inet.tcp.switch_to_sw_tls"

l_.str.4:                               ; @.str.4
	.asciz	"net.inet.tcp.switch_to_ifnet_tls"

l_.str.5:                               ; @.str.5
	.asciz	"%s %s %s %s"

l_.str.6:                               ; @.str.6
	.asciz	"%s %s %s %s: switched\n"

	.no_dead_strip	_tcpswitch
.subsections_via_symbols
