	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__ssh_send_banner               ## -- Begin function _ssh_send_banner
	.p2align	4, 0x90
__ssh_send_banner:                      ## @_ssh_send_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
	subq	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_SSH_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rdx
	leaq	-288(%rbp), %r15
	movq	%r15, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_ssh_packet_get_output
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_strlen
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_sshbuf_put
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	leaq	-288(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_chop
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_debug
	movq	%rbx, %rdi
	callq	_strdup
	movq	%rax, %rcx
	movq	%rax, (%r14)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_3
## %bb.2:
	movq	_SSH_ERR_ALLOC_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SSH-2.0-%.100s\r\n"

	.comm	_SSH_VERSION,8,3                ## @SSH_VERSION
L_.str.1:                               ## @.str.1
	.asciz	"Local version string %.100s"

	.comm	_SSH_ERR_ALLOC_FAIL,4,2         ## @SSH_ERR_ALLOC_FAIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__ssh_send_banner               ; -- Begin function _ssh_send_banner
	.p2align	2
__ssh_send_banner:                      ; @_ssh_send_banner
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _SSH_VERSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSH_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	x3, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #256
	bl	_snprintf
	mov	x0, x20
	bl	_ssh_packet_get_output
	mov	x20, x0
	add	x0, sp, #8
	bl	_strlen
	mov	x2, x0
	add	x1, sp, #8
	mov	x0, x20
	bl	_sshbuf_put
	cbnz	w0, LBB0_2
; %bb.1:
	add	x0, sp, #8
	bl	_chop
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #8
	bl	_debug
	add	x0, sp, #8
	bl	_strdup
	str	x0, [x19]
Lloh10:
	adrp	x8, _SSH_ERR_ALLOC_FAIL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SSH_ERR_ALLOC_FAIL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, w8, wzr, eq
LBB0_2:
	ldur	x8, [x29, #-40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SSH-2.0-%.100s\r\n"

	.comm	_SSH_VERSION,8,3                ; @SSH_VERSION
l_.str.1:                               ; @.str.1
	.asciz	"Local version string %.100s"

	.comm	_SSH_ERR_ALLOC_FAIL,4,2         ; @SSH_ERR_ALLOC_FAIL
.subsections_via_symbols
