	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SearchIkeClientForIkePacket    ## -- Begin function SearchIkeClientForIkePacket
	.p2align	4, 0x90
_SearchIkeClientForIkePacket:           ## @SearchIkeClientForIkePacket
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r15d, %r15d
	testq	%r8, %r8
	je	LBB0_28
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_28
## %bb.2:
	movq	%rcx, %rbx
	testq	%rcx, %rcx
	je	LBB0_28
## %bb.3:
	testq	%rsi, %rsi
	je	LBB0_28
## %bb.4:
	movq	%rdi, %r13
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.5:
	movq	%r9, %r14
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	testq	%r9, %r9
	je	LBB0_28
## %bb.6:
	cmpq	$0, (%r14)
	je	LBB0_16
## %bb.7:
	cmpq	$0, 8(%r14)
	je	LBB0_16
## %bb.8:
	movl	(%r13), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_16
## %bb.9:
	xorl	%r12d, %r12d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r12
	movl	(%r13), %edi
	callq	_LIST_NUM
	cmpq	%rax, %r12
	jge	LBB0_16
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_LIST_DATA
	movq	(%rax), %rcx
	cmpq	(%r14), %rcx
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%rax), %rcx
	cmpq	8(%r14), %rcx
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	16(%rax), %r15
	leaq	16(%r15), %rdi
	movq	%rbx, %rsi
	callq	_CmpIpAddr
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	32(%r15), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_CmpIpAddr
	testq	%rax, %rax
	jne	LBB0_14
## %bb.15:
	testq	%r15, %r15
	jne	LBB0_28
LBB0_16:
	leaq	-72(%rbp), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	$4, %edx
	callq	_Copy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -80(%rbp)
	leaq	-88(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_Copy
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, -96(%rbp)
	movl	4(%r13), %edi
	leaq	-104(%rbp), %rsi
	callq	_Search
	testq	%rax, %rax
	je	LBB0_27
## %bb.17:
	movq	%rax, %r15
	movq	_IPSEC_PORT_IPSEC_ESP_UDP@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_28
## %bb.18:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:
	movq	(%rax), %rcx
	cmpq	(%r14), %rcx
	jne	LBB0_21
## %bb.20:
	movq	8(%rax), %rax
	cmpq	8(%r14), %rax
	je	LBB0_28
LBB0_21:
	movl	(%r13), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_27
## %bb.22:
	xorl	%ebx, %ebx
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_23 Depth=1
	incq	%rbx
	movl	(%r13), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jge	LBB0_27
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	cmpq	%r15, 16(%rax)
	jne	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	(%rax), %rcx
	cmpq	(%r14), %rcx
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	8(%rax), %rax
	cmpq	8(%r14), %rax
	jne	LBB0_26
	jmp	LBB0_28
LBB0_27:
	xorl	%r15d, %r15d
LBB0_28:
	movq	%r15, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPSEC_PORT_IPSEC_ESP_UDP,8,3   ## @IPSEC_PORT_IPSEC_ESP_UDP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SearchIkeClientForIkePacket    ; -- Begin function SearchIkeClientForIkePacket
	.p2align	2
_SearchIkeClientForIkePacket:           ; @SearchIkeClientForIkePacket
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x21, #0
	cbz	x4, LBB0_28
; %bb.1:
	mov	x24, x2
	cbz	x2, LBB0_28
; %bb.2:
	mov	x23, x3
	cbz	x3, LBB0_28
; %bb.3:
	mov	x25, x1
	cbz	x1, LBB0_28
; %bb.4:
	mov	x20, x0
	cbz	x0, LBB0_28
; %bb.5:
	mov	x19, x5
	cbz	x5, LBB0_28
; %bb.6:
	mov	x22, x4
	ldr	x8, [x19]
	cbz	x8, LBB0_16
; %bb.7:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_16
; %bb.8:
	ldr	w0, [x20]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_16
; %bb.9:
	mov	x26, #0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x26, x26, #1
	ldr	w0, [x20]
	bl	_LIST_NUM
	cmp	x26, x0
	b.ge	LBB0_16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	x1, x26
	bl	_LIST_DATA
	ldr	x8, [x0]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x0, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x21, [x0, #16]
	add	x0, x21, #16
	mov	x1, x23
	bl	_CmpIpAddr
	cbnz	x0, LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x0, x21, #32
	mov	x1, x25
	bl	_CmpIpAddr
	cbnz	x0, LBB0_10
; %bb.15:
	cbnz	x21, LBB0_28
LBB0_16:
	add	x21, sp, #8
	add	x0, x21, #32
	mov	x1, x25
	mov	w2, #4
	bl	_Copy
	str	x24, [sp, #32]
	add	x0, x21, #16
	mov	x1, x23
	mov	w2, #4
	bl	_Copy
	str	x22, [sp, #16]
	ldr	w0, [x20, #4]
	add	x1, sp, #8
	bl	_Search
	mov	x21, x0
	cbz	x0, LBB0_28
; %bb.17:
Lloh0:
	adrp	x8, _IPSEC_PORT_IPSEC_ESP_UDP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPSEC_PORT_IPSEC_ESP_UDP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x22
	b.eq	LBB0_28
; %bb.18:
	ldr	x8, [x21]
	cbz	x8, LBB0_21
; %bb.19:
	ldr	x9, [x8]
	ldr	x10, [x19]
	cmp	x9, x10
	b.ne	LBB0_21
; %bb.20:
	ldr	x8, [x8, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.eq	LBB0_28
LBB0_21:
	ldr	w0, [x20]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_27
; %bb.22:
	mov	x22, #0
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	x22, x22, #1
	ldr	w0, [x20]
	bl	_LIST_NUM
	cmp	x22, x0
	b.ge	LBB0_27
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	x1, x22
	bl	_LIST_DATA
	ldr	x8, [x0, #16]
	cmp	x8, x21
	b.ne	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x8, [x0]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x8, [x0, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_23
	b	LBB0_28
LBB0_27:
	mov	x21, #0
LBB0_28:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPSEC_PORT_IPSEC_ESP_UDP,8,3   ; @IPSEC_PORT_IPSEC_ESP_UDP
.subsections_via_symbols
