	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phase2_tcp_client
_phase2_tcp_client:                     ## @phase2_tcp_client
	.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	%rsi, %r14
	movq	%rdi, %rbx
	leaq	8(%rdi), %r15
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %r12d
	movl	36(%rdi), %edi
	callq	_get_server_poll_remaining_time
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_socket_connect
	cmpq	$0, (%r14)
	jne	LBB0_8
## %bb.1:
	leaq	32(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%rbx), %edx
	movl	8(%rbx), %esi
	movl	12(%rbx), %ecx
	movl	36(%rbx), %r8d
	movq	%r14, (%rsp)
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	callq	_establish_http_proxy_passthru
	movl	%eax, %r13d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%rbx), %edx
	movl	8(%rbx), %esi
	movl	12(%rbx), %ecx
	movq	%r14, %r8
	callq	_establish_socks_proxy_passthru
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rbx), %edi
	callq	_openvpn_close_socket
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	callq	_create_socket_tcp
	movl	%eax, 8(%rbx)
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %r12d
	movl	36(%rbx), %edi
	callq	_get_server_poll_remaining_time
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_socket_connect
	cmpq	$0, (%r14)
	je	LBB0_2
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_phase2_tcp_client
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phase2_tcp_client
_phase2_tcp_client:                     ; @phase2_tcp_client
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	add	x21, x0, #8
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w22, [x8]
	ldr	w0, [x0, #36]
	bl	_get_server_poll_remaining_time
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	mov	x3, x19
	bl	_socket_connect
	ldr	x8, [x19]
	cbnz	x8, LBB0_8
; %bb.1:
	mov	w23, #0
	add	x22, x20, #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, #40]
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w3, w2, [x20, #12]
	ldr	w1, [x20, #8]
	ldr	w4, [x20, #36]
	mov	x5, x22
	mov	x6, x19
	bl	_establish_http_proxy_passthru
	mov	x23, x0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, #24]
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w3, w2, [x20, #12]
	ldr	w1, [x20, #8]
	mov	x4, x19
	bl	_establish_socks_proxy_passthru
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	w23, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x20, #8]
	bl	_openvpn_close_socket
	ldr	x8, [x20]
	ldr	x0, [x8]
	bl	_create_socket_tcp
	str	w0, [x20, #8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w24, [x8]
	ldr	w0, [x20, #36]
	bl	_get_server_poll_remaining_time
	mov	x2, x0
	mov	x0, x21
	mov	x1, x24
	mov	x3, x19
	bl	_socket_connect
	ldr	x8, [x19]
	cbz	x8, LBB0_2
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_phase2_tcp_client
.subsections_via_symbols
