	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssh_connect                    ## -- Begin function ssh_connect
	.p2align	4, 0x90
_ssh_connect:                           ## @ssh_connect
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_options@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	cmpq	$0, 8(%r12)
	movq	(%r12), %rcx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	je	LBB0_7
## %bb.6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ssh_proxy_fdpass_connect       ## TAILCALL
LBB0_1:
	movl	32(%rbp), %eax
	movl	16(%rbp), %r10d
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %r8d
	pushq	%rax
	pushq	24(%rbp)
	pushq	%r10
	callq	_ssh_connect_direct
	addq	$32, %rsp
	jmp	LBB0_4
LBB0_3:
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ssh_packet_set_connection
	xorl	%ecx, %ecx
	cmpq	$1, %rax
	sbbl	%ecx, %ecx
	movl	%ecx, %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ssh_proxy_connect              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_options,16,3                   ## @options
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssh_connect                    ; -- Begin function ssh_connect
	.p2align	2
_ssh_connect:                           ; @ssh_connect
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x4
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _options@GOTPAGE
Lloh1:
	ldr	x22, [x22, _options@GOTPAGEOFF]
	ldr	x0, [x22]
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.2:
	ldp	x3, x8, [x22]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	cbz	x8, LBB0_6
; %bb.3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ssh_proxy_fdpass_connect
LBB0_4:
	ldr	w8, [x29, #16]
	str	w8, [x29, #16]
	mov	x0, x20
	mov	x1, x21
	mov	x4, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ssh_connect_direct
LBB0_5:
Lloh4:
	adrp	x8, _STDIN_FILENO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _STDIN_FILENO@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_ssh_packet_set_connection
	cmp	x0, #0
	csetm	w0, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ssh_proxy_connect
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_options,16,3                   ; @options
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
.subsections_via_symbols
