	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function key_state_free
_key_state_free:                        ## @key_state_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_S_UNDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rdi)
	addq	$56, %rdi
	callq	_key_state_ssl_free
	leaq	4(%rbx), %rdi
	callq	_free_key_ctx_bi
	leaq	52(%rbx), %rdi
	callq	_free_buf
	leaq	48(%rbx), %rdi
	callq	_free_buf
	leaq	44(%rbx), %rdi
	callq	_free_buf
	movl	40(%rbx), %edi
	callq	_buffer_list_free
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_reliable_free
	movq	32(%rbx), %rdi
	callq	_free
LBB0_2:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_reliable_free
	movq	24(%rbx), %rdi
	callq	_free
LBB0_4:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_free
LBB0_6:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_free
LBB0_8:
	movq	%rbx, %rdi
	callq	_packet_id_free
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.10:
	movq	%rbx, %rdi
	movl	$64, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_secure_memzero                 ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S_UNDEF,4,2                    ## @S_UNDEF
	.no_dead_strip	_key_state_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function key_state_free
_key_state_free:                        ; @key_state_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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _S_UNDEF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_UNDEF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #60]
	add	x0, x0, #56
	bl	_key_state_ssl_free
	add	x0, x19, #4
	bl	_free_key_ctx_bi
	add	x0, x19, #52
	bl	_free_buf
	add	x0, x19, #48
	bl	_free_buf
	add	x0, x19, #44
	bl	_free_buf
	ldr	w0, [x19, #40]
	bl	_buffer_list_free
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_reliable_free
	ldr	x0, [x19, #32]
	bl	_free
LBB0_2:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_reliable_free
	ldr	x0, [x19, #24]
	bl	_free
LBB0_4:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_free
LBB0_6:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_free
LBB0_8:
	mov	x0, x19
	bl	_packet_id_free
	cbz	w20, LBB0_10
; %bb.9:
	mov	x0, x19
	mov	w1, #64
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_secure_memzero
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_S_UNDEF,4,2                    ; @S_UNDEF
	.no_dead_strip	_key_state_free
.subsections_via_symbols
