	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sshbuf_avail                   ## -- Begin function sshbuf_avail
	.p2align	4, 0x90
_sshbuf_avail:                          ## @sshbuf_avail
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_sshbuf_check_sanity
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	cmpq	$0, 32(%rbx)
	jne	LBB0_1
## %bb.4:
	cmpl	$1, (%rbx)
	jle	LBB0_6
LBB0_1:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	movq	8(%rbx), %rax
	subq	16(%rbx), %rax
	addq	24(%rbx), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sshbuf_avail                   ; -- Begin function sshbuf_avail
	.p2align	2
_sshbuf_avail:                          ; @sshbuf_avail
	.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
	mov	x19, x0
	bl	_sshbuf_check_sanity
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #1
	b.le	LBB0_5
LBB0_3:
	mov	x0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldp	x8, x9, [x19, #8]
	ldr	x10, [x19, #24]
	sub	x8, x8, x9
	add	x0, x8, x10
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
