	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FindIkeSaByEndPointAndInitiatorCookie ## -- Begin function FindIkeSaByEndPointAndInitiatorCookie
	.p2align	4, 0x90
_FindIkeSaByEndPointAndInitiatorCookie: ## @FindIkeSaByEndPointAndInitiatorCookie
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	testq	%r9, %r9
	je	LBB0_16
## %bb.1:
	testq	%r8, %r8
	je	LBB0_16
## %bb.2:
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_16
## %bb.3:
	movq	%rdi, %r14
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.4:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.5:
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_16
## %bb.6:
	movl	(%r14), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_15
## %bb.7:
	xorl	%r12d, %r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%r12
	movl	(%r14), %edi
	callq	_LIST_NUM
	cmpq	%rax, %r12
	jge	LBB0_15
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	%r12, %rsi
	callq	_LIST_DATA
	movq	%rax, %r15
	movq	16(%rax), %r13
	leaq	20(%r13), %rdi
	movq	%rbx, %rsi
	callq	_CmpIpAddr
	testq	%rax, %rax
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	leaq	16(%r13), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_CmpIpAddr
	testq	%rax, %rax
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, (%r13)
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, 8(%r13)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, (%r15)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	16(%rbp), %rax
	cmpq	%rax, 8(%r15)
	jne	LBB0_14
	jmp	LBB0_16
LBB0_15:
	xorl	%r15d, %r15d
LBB0_16:
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FindIkeSaByEndPointAndInitiatorCookie ; -- Begin function FindIkeSaByEndPointAndInitiatorCookie
	.p2align	2
_FindIkeSaByEndPointAndInitiatorCookie: ; @FindIkeSaByEndPointAndInitiatorCookie
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x26, #0
	cbz	x5, LBB0_16
; %bb.1:
	mov	x21, x4
	cbz	x4, LBB0_16
; %bb.2:
	mov	x23, x2
	cbz	x2, LBB0_16
; %bb.3:
	mov	x25, x0
	cbz	x0, LBB0_16
; %bb.4:
	mov	x24, x1
	cbz	x1, LBB0_16
; %bb.5:
	mov	x22, x3
	cbz	x3, LBB0_16
; %bb.6:
	mov	x19, x6
	mov	x20, x5
	ldr	w0, [x25]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_15
; %bb.7:
	mov	x27, #0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x27, x27, #1
	ldr	w0, [x25]
	bl	_LIST_NUM
	cmp	x27, x0
	b.ge	LBB0_15
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25]
	mov	x1, x27
	bl	_LIST_DATA
	mov	x26, x0
	ldr	x28, [x0, #16]
	add	x0, x28, #20
	mov	x1, x24
	bl	_CmpIpAddr
	cbnz	x0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x0, x28, #16
	mov	x1, x22
	bl	_CmpIpAddr
	cbnz	x0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x28]
	cmp	x8, x23
	b.ne	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x28, #8]
	cmp	x8, x21
	b.ne	LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x26]
	cmp	x8, x20
	b.ne	LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x26, #8]
	cmp	x8, x19
	b.ne	LBB0_8
	b	LBB0_16
LBB0_15:
	mov	x26, #0
LBB0_16:
	mov	x0, x26
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
