	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcDeletePayload              ## -- Begin function ProcDeletePayload
	.p2align	4, 0x90
_ProcDeletePayload:                     ## @ProcDeletePayload
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.2:
	movq	%rdx, %r12
	testq	%rdx, %rdx
	je	LBB0_17
## %bb.3:
	movq	%rdi, %r15
	movq	(%r12), %rax
	movq	_IKE_PROTOCOL_ID_IPSEC_ESP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.4:
	movl	8(%r12), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_17
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movl	8(%r12), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jge	LBB0_17
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r12), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	cmpl	$4, (%rax)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rax), %rdi
	callq	_READ_UINT
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_SearchIPsecSaBySpi
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_MarkIPsecSaAsDeleted
	jmp	LBB0_8
LBB0_9:
	movq	_IKE_PROTOCOL_ID_IKE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.10:
	movl	8(%r12), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_17
## %bb.11:
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	movl	8(%r12), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jge	LBB0_17
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%r12), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	cmpl	$16, (%rax)
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, %r13
	movq	8(%rax), %rdi
	callq	_READ_UINT64
	movq	8(%r13), %rdi
	addq	$32, %rdi
	callq	_READ_UINT64
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_FindIkeSaByResponderCookie
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpq	%r14, (%rax)
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_MarkIkeSaAsDeleted
	jmp	LBB0_16
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IKE_PROTOCOL_ID_IPSEC_ESP,8,3  ## @IKE_PROTOCOL_ID_IPSEC_ESP
	.comm	_IKE_PROTOCOL_ID_IKE,8,3        ## @IKE_PROTOCOL_ID_IKE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcDeletePayload              ; -- Begin function ProcDeletePayload
	.p2align	2
_ProcDeletePayload:                     ; @ProcDeletePayload
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_17
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_17
; %bb.2:
	mov	x19, x2
	cbz	x2, LBB0_17
; %bb.3:
	mov	x21, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _IKE_PROTOCOL_ID_IPSEC_ESP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IKE_PROTOCOL_ID_IPSEC_ESP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.4:
	ldr	w0, [x19, #8]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_17
; %bb.5:
	mov	x22, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #1
	ldr	w0, [x19, #8]
	bl	_LIST_NUM
	cmp	x22, x0
	b.ge	LBB0_17
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #8]
	mov	x1, x22
	bl	_LIST_DATA
	ldr	w8, [x0]
	cmp	w8, #4
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x0, #8]
	bl	_READ_UINT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_SearchIPsecSaBySpi
	mov	x1, x0
	mov	x0, x21
	bl	_MarkIPsecSaAsDeleted
	b	LBB0_6
LBB0_9:
Lloh3:
	adrp	x9, _IKE_PROTOCOL_ID_IKE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IKE_PROTOCOL_ID_IKE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.10:
	ldr	w0, [x19, #8]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_17
; %bb.11:
	mov	x22, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x22, x22, #1
	ldr	w0, [x19, #8]
	bl	_LIST_NUM
	cmp	x22, x0
	b.ge	LBB0_17
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #8]
	mov	x1, x22
	bl	_LIST_DATA
	ldr	w8, [x0]
	cmp	w8, #16
	b.ne	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x23, x0
	ldr	x0, [x0, #8]
	bl	_READ_UINT64
	ldr	x8, [x23, #8]
	add	x0, x8, #32
	bl	_READ_UINT64
	mov	x1, x0
	mov	x0, x21
	bl	_FindIkeSaByResponderCookie
	cbz	x0, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x1, x0
	ldr	x8, [x0]
	cmp	x8, x20
	b.ne	LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x21
	bl	_MarkIkeSaAsDeleted
	b	LBB0_12
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IKE_PROTOCOL_ID_IPSEC_ESP,8,3  ; @IKE_PROTOCOL_ID_IPSEC_ESP
	.comm	_IKE_PROTOCOL_ID_IKE,8,3        ; @IKE_PROTOCOL_ID_IKE
.subsections_via_symbols
