	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetIkeHash                     ## -- Begin function GetIkeHash
	.p2align	4, 0x90
_GetIkeHash:                            ## @GetIkeHash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.2:
	movq	_MAX_IKE_ENGINE_ELEMENTS@GOTPCREL(%rip), %rcx
	cmpq	%rdx, (%rcx)
	jbe	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	testl	%esi, %esi
	setne	%al
	movq	(%rdi,%rax,8), %rax
	movq	(%rax,%rdx,8), %rax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_IKE_ENGINE_ELEMENTS,8,3    ## @MAX_IKE_ENGINE_ELEMENTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetIkeHash                     ; -- Begin function GetIkeHash
	.p2align	2
_GetIkeHash:                            ; @GetIkeHash
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	x0, #0
	cbz	x8, LBB0_4
; %bb.1:
	cbz	x2, LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, _MAX_IKE_ENGINE_ELEMENTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_IKE_ENGINE_ELEMENTS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x2
	b.ls	LBB0_4
; %bb.3:
	cmp	w1, #0
	cset	w9, ne
	ldr	x8, [x8, w9, uxtw #3]
	ldr	x0, [x8, x2, lsl #3]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_IKE_ENGINE_ELEMENTS,8,3    ; @MAX_IKE_ENGINE_ELEMENTS
.subsections_via_symbols
