	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function key_cleansav
_key_cleansav:                          ## @key_cleansav
	.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
	movq	%rdi, %rbx
	movq	56(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_M_IPSEC_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	movq	$0, 56(%rbx)
LBB0_2:
	movq	_SADB_X_EXT_F_CLONED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_25
## %bb.3:
	movq	48(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	$0, 48(%rbx)
	jmp	LBB0_9
LBB0_5:
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	movq	8(%rdi), %r14
	callq	__KEYLEN
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_bzero
LBB0_7:
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	movq	8(%rdi), %r14
	callq	__KEYLEN
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_bzero
LBB0_9:
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.10:
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_M_IPSEC_MISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_free
	movq	40(%rbx), %rdi
LBB0_12:
	movq	_M_IPSEC_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	movq	$0, 40(%rbx)
LBB0_13:
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.14:
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	_M_IPSEC_MISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_free
	movq	32(%rbx), %rdi
LBB0_16:
	movq	_M_IPSEC_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	movq	$0, 32(%rbx)
LBB0_17:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.18:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	_M_IPSEC_MISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_free
	movq	24(%rbx), %rdi
LBB0_20:
	movq	_M_IPSEC_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	movq	$0, 24(%rbx)
LBB0_21:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.22:
	movq	_M_IPSEC_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	movq	$0, 16(%rbx)
LBB0_23:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.24:
	movq	_M_IPSEC_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	movq	$0, 8(%rbx)
LBB0_25:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_IPSEC_MISC,4,2               ## @M_IPSEC_MISC
	.comm	_SADB_X_EXT_F_CLONED,4,2        ## @SADB_X_EXT_F_CLONED
	.no_dead_strip	_key_cleansav
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function key_cleansav
_key_cleansav:                          ; @key_cleansav
	.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
	ldr	x0, [x0, #56]
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _M_IPSEC_MISC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_IPSEC_MISC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_free
	str	xzr, [x19, #56]
LBB0_2:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _SADB_X_EXT_F_CLONED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SADB_X_EXT_F_CLONED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_25
; %bb.3:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	str	xzr, [x19, #48]
	b	LBB0_9
LBB0_5:
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x20, [x0, #8]
	bl	__KEYLEN
	mov	x1, x0
	mov	x0, x20
	bl	_bzero
LBB0_7:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x20, [x0, #8]
	bl	__KEYLEN
	mov	x1, x0
	mov	x0, x20
	bl	_bzero
LBB0_9:
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_13
; %bb.10:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_12
; %bb.11:
Lloh6:
	adrp	x9, _M_IPSEC_MISC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _M_IPSEC_MISC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_free
	ldr	x0, [x19, #40]
LBB0_12:
Lloh9:
	adrp	x8, _M_IPSEC_MISC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _M_IPSEC_MISC@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_free
	str	xzr, [x19, #40]
LBB0_13:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_17
; %bb.14:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_16
; %bb.15:
Lloh12:
	adrp	x9, _M_IPSEC_MISC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _M_IPSEC_MISC@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_free
	ldr	x0, [x19, #32]
LBB0_16:
Lloh15:
	adrp	x8, _M_IPSEC_MISC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _M_IPSEC_MISC@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_free
	str	xzr, [x19, #32]
LBB0_17:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_21
; %bb.18:
	ldr	x8, [x0]
	cbz	x8, LBB0_20
; %bb.19:
Lloh18:
	adrp	x9, _M_IPSEC_MISC@GOTPAGE
Lloh19:
	ldr	x9, [x9, _M_IPSEC_MISC@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_free
	ldr	x0, [x19, #24]
LBB0_20:
Lloh21:
	adrp	x8, _M_IPSEC_MISC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _M_IPSEC_MISC@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_free
	str	xzr, [x19, #24]
LBB0_21:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_23
; %bb.22:
Lloh24:
	adrp	x8, _M_IPSEC_MISC@GOTPAGE
Lloh25:
	ldr	x8, [x8, _M_IPSEC_MISC@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_free
	str	xzr, [x19, #16]
LBB0_23:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_25
; %bb.24:
Lloh27:
	adrp	x8, _M_IPSEC_MISC@GOTPAGE
Lloh28:
	ldr	x8, [x8, _M_IPSEC_MISC@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_free
	str	xzr, [x19, #8]
LBB0_25:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_M_IPSEC_MISC,4,2               ; @M_IPSEC_MISC
	.comm	_SADB_X_EXT_F_CLONED,4,2        ; @SADB_X_EXT_F_CLONED
	.no_dead_strip	_key_cleansav
.subsections_via_symbols
