	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function client_alive_check
_client_alive_check:                    ## @client_alive_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$528, %rsp                      ## imm = 0x210
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	callq	_packet_inc_alive_timeouts
	movq	_options@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_2
## %bb.1:
	leaq	-544(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$512, %edx                      ## imm = 0x200
	callq	_sshpkt_fmt_connection_id
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_logit
	movl	$255, %edi
	callq	_cleanup_exit
LBB0_2:
	movq	%rbx, %rdi
	callq	_channel_find_open
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$1, %ecx
	callq	_channel_request_start
	jmp	LBB0_5
LBB0_3:
	movq	_SSH2_MSG_GLOBAL_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_packet_start
	leaq	L_.str.1(%rip), %rdi
	callq	_packet_put_cstring
	movl	$1, %edi
	callq	_packet_put_char
LBB0_5:
	xorl	%eax, %eax
	callq	_packet_send
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$528, %rsp                      ## imm = 0x210
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_options,8,3                    ## @options
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Timeout, client not responding from %s"

	.comm	_SSH2_MSG_GLOBAL_REQUEST,4,2    ## @SSH2_MSG_GLOBAL_REQUEST
L_.str.1:                               ## @.str.1
	.asciz	"keepalive@openssh.com"

	.no_dead_strip	_client_alive_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function client_alive_check
_client_alive_check:                    ; @client_alive_check
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	sp, sp, #528
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	bl	_packet_inc_alive_timeouts
Lloh3:
	adrp	x8, _options@GOTPAGE
Lloh4:
	ldr	x8, [x8, _options@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_2
; %bb.1:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #512
	bl	_sshpkt_fmt_connection_id
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #8
	bl	_logit
	mov	w0, #255
	bl	_cleanup_exit
LBB0_2:
	mov	x0, x19
	bl	_channel_find_open
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.3:
	mov	x1, x0
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w3, #1
	bl	_channel_request_start
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _SSH2_MSG_GLOBAL_REQUEST@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SSH2_MSG_GLOBAL_REQUEST@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_packet_start
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_packet_put_cstring
	mov	w0, #1
	bl	_packet_put_char
LBB0_5:
	bl	_packet_send
	ldur	x8, [x29, #-24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	add	sp, sp, #528
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_options,8,3                    ; @options
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Timeout, client not responding from %s"

	.comm	_SSH2_MSG_GLOBAL_REQUEST,4,2    ; @SSH2_MSG_GLOBAL_REQUEST
l_.str.1:                               ; @.str.1
	.asciz	"keepalive@openssh.com"

	.no_dead_strip	_client_alive_check
.subsections_via_symbols
