	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sshbuf_free                    ## -- Begin function sshbuf_free
	.p2align	4, 0x90
_sshbuf_free:                           ## @sshbuf_free
	.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
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	callq	_sshbuf_check_sanity
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	32(%rbx), %rdi
	callq	_sshbuf_free
	movq	$0, 32(%rbx)
	movq	(%rbx), %rax
	leaq	-1(%rax), %rcx
	movq	%rcx, (%rbx)
	cmpq	$1, %rax
	jle	LBB0_3
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	cmpl	$0, 24(%rbx)
	jne	LBB0_5
## %bb.4:
	movq	16(%rbx), %rdi
	movl	8(%rbx), %esi
	callq	_explicit_bzero
	movq	16(%rbx), %rdi
	callq	_free
LBB0_5:
	movq	%rbx, %rdi
	movl	$40, %esi
	callq	_explicit_bzero
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sshbuf_free                    ; -- Begin function sshbuf_free
	.p2align	2
_sshbuf_free:                           ; @sshbuf_free
	.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
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_sshbuf_check_sanity
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x19, #32]
	bl	_sshbuf_free
	str	xzr, [x19, #32]
	ldr	x8, [x19]
	subs	x8, x8, #1
	str	x8, [x19]
	b.le	LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w8, [x19, #24]
	cbnz	w8, LBB0_6
; %bb.5:
	ldr	x0, [x19, #16]
	ldr	w1, [x19, #8]
	bl	_explicit_bzero
	ldr	x0, [x19, #16]
	bl	_free
LBB0_6:
	mov	x0, x19
	mov	w1, #40
	bl	_explicit_bzero
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
