	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__ssh_exchange_banner           ## -- Begin function _ssh_exchange_banner
	.p2align	4, 0x90
__ssh_exchange_banner:                  ## @_ssh_exchange_banner
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	leaq	8(%rbx), %r15
	cmpq	$0, 16(%rbx)
	movq	8(%rbx), %rax
	je	LBB0_6
## %bb.1:
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	cmpq	$0, (%rbx)
	jne	LBB0_13
## %bb.5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	__ssh_read_banner
	testl	%eax, %eax
	jne	LBB0_17
	jmp	LBB0_12
LBB0_6:
	testq	%rax, %rax
	je	LBB0_7
LBB0_9:
	cmpq	$0, (%rbx)
	jne	LBB0_13
## %bb.10:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	__ssh_send_banner
	testl	%eax, %eax
	jne	LBB0_17
LBB0_12:
	cmpq	$0, (%r15)
	je	LBB0_16
LBB0_13:
	cmpq	$0, (%rbx)
	je	LBB0_16
## %bb.14:
	movq	%r14, %rdi
	callq	__ssh_order_hostkeyalgs
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:
	movq	%r14, %rdi
	callq	_kex_send_kexinit
	testl	%eax, %eax
	jne	LBB0_17
	jmp	LBB0_16
LBB0_2:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	__ssh_send_banner
	testl	%eax, %eax
	jne	LBB0_17
## %bb.3:
	cmpq	$0, (%r15)
	jne	LBB0_4
	jmp	LBB0_16
LBB0_7:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	__ssh_read_banner
	testl	%eax, %eax
	jne	LBB0_17
## %bb.8:
	cmpq	$0, (%r15)
	jne	LBB0_9
LBB0_16:
	xorl	%eax, %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__ssh_exchange_banner           ; -- Begin function _ssh_exchange_banner
	.p2align	2
__ssh_exchange_banner:                  ; @_ssh_exchange_banner
	.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, x0
	ldr	x20, [x0]
	ldr	x9, [x20, #16]
	mov	x21, x20
	ldr	x8, [x21, #8]!
	cbz	x9, LBB0_4
; %bb.1:
	cbz	x8, LBB0_11
LBB0_2:
	ldr	x8, [x20]
	cbnz	x8, LBB0_8
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	__ssh_read_banner
	cbnz	w0, LBB0_16
	b	LBB0_7
LBB0_4:
	cbz	x8, LBB0_13
LBB0_5:
	ldr	x8, [x20]
	cbnz	x8, LBB0_8
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	__ssh_send_banner
	cbnz	w0, LBB0_16
LBB0_7:
	ldr	x8, [x21]
	cbz	x8, LBB0_15
LBB0_8:
	ldr	x8, [x20]
	cbz	x8, LBB0_15
; %bb.9:
	mov	x0, x19
	bl	__ssh_order_hostkeyalgs
	cbnz	w0, LBB0_16
; %bb.10:
	mov	x0, x19
	bl	_kex_send_kexinit
	cbnz	w0, LBB0_16
	b	LBB0_15
LBB0_11:
	mov	x0, x19
	mov	x1, x21
	bl	__ssh_send_banner
	cbnz	w0, LBB0_16
; %bb.12:
	ldr	x8, [x21]
	cbnz	x8, LBB0_2
	b	LBB0_15
LBB0_13:
	mov	x0, x19
	mov	x1, x21
	bl	__ssh_read_banner
	cbnz	w0, LBB0_16
; %bb.14:
	ldr	x8, [x21]
	cbnz	x8, LBB0_5
LBB0_15:
	mov	w0, #0
LBB0_16:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
