	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IkeCheckCaps                   ## -- Begin function IkeCheckCaps
	.p2align	4, 0x90
_IkeCheckCaps:                          ## @IkeCheckCaps
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_Zero
	movq	_IKE_VENDOR_ID_RFC3947_NAT_T@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IkeIsVendorIdExists
	movq	%rax, 40(%rbx)
	movq	_IKE_VENDOR_ID_IPSEC_NAT_T_IKE_03@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IkeIsVendorIdExists
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	_IKE_VENDOR_ID_IPSEC_NAT_T_IKE_02@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IkeIsVendorIdExists
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	_IKE_VENDOR_ID_IPSEC_NAT_T_IKE_02_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IkeIsVendorIdExists
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_IKE_VENDOR_ID_IPSEC_NAT_T_IKE_00@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IkeIsVendorIdExists
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
LBB0_6:
	movl	%r15d, (%rbx)
	movq	_IKE_VENDOR_ID_RFC3706_DPD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IkeIsVendorIdExists
	movq	%rax, 32(%rbx)
	movq	_IKE_VENDOR_ID_MICROSOFT_L2TP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IkeIsVendorIdExists
	movq	%rax, 24(%rbx)
	movq	_IKE_VENDOR_ID_MS_NT5_ISAKMPOAKLEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IkeIsVendorIdExists
	movq	%rax, 16(%rbx)
	movq	_IKE_VENDOR_ID_MS_VID_INITIALCONTACT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IkeIsVendorIdExists
	movq	%rax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, %rdi
	movl	$48, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Zero                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IKE_VENDOR_ID_RFC3947_NAT_T,4,2 ## @IKE_VENDOR_ID_RFC3947_NAT_T
	.comm	_IKE_VENDOR_ID_IPSEC_NAT_T_IKE_03,4,2 ## @IKE_VENDOR_ID_IPSEC_NAT_T_IKE_03
	.comm	_IKE_VENDOR_ID_IPSEC_NAT_T_IKE_02,4,2 ## @IKE_VENDOR_ID_IPSEC_NAT_T_IKE_02
	.comm	_IKE_VENDOR_ID_IPSEC_NAT_T_IKE_02_2,4,2 ## @IKE_VENDOR_ID_IPSEC_NAT_T_IKE_02_2
	.comm	_IKE_VENDOR_ID_IPSEC_NAT_T_IKE_00,4,2 ## @IKE_VENDOR_ID_IPSEC_NAT_T_IKE_00
	.comm	_IKE_VENDOR_ID_RFC3706_DPD,4,2  ## @IKE_VENDOR_ID_RFC3706_DPD
	.comm	_IKE_VENDOR_ID_MICROSOFT_L2TP,4,2 ## @IKE_VENDOR_ID_MICROSOFT_L2TP
	.comm	_IKE_VENDOR_ID_MS_NT5_ISAKMPOAKLEY,4,2 ## @IKE_VENDOR_ID_MS_NT5_ISAKMPOAKLEY
	.comm	_IKE_VENDOR_ID_MS_VID_INITIALCONTACT,4,2 ## @IKE_VENDOR_ID_MS_VID_INITIALCONTACT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IkeCheckCaps                   ; -- Begin function IkeCheckCaps
	.p2align	2
_IkeCheckCaps:                          ; @IkeCheckCaps
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_7
; %bb.2:
	mov	x0, x19
	mov	w1, #48
	bl	_Zero
Lloh0:
	adrp	x8, _IKE_VENDOR_ID_RFC3947_NAT_T@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IKE_VENDOR_ID_RFC3947_NAT_T@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IkeIsVendorIdExists
	str	x0, [x19, #40]
Lloh3:
	adrp	x8, _IKE_VENDOR_ID_IPSEC_NAT_T_IKE_03@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IKE_VENDOR_ID_IPSEC_NAT_T_IKE_03@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IkeIsVendorIdExists
	cbnz	x0, LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _IKE_VENDOR_ID_IPSEC_NAT_T_IKE_02@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IKE_VENDOR_ID_IPSEC_NAT_T_IKE_02@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IkeIsVendorIdExists
	cbnz	x0, LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _IKE_VENDOR_ID_IPSEC_NAT_T_IKE_02_2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IKE_VENDOR_ID_IPSEC_NAT_T_IKE_02_2@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IkeIsVendorIdExists
	cbz	x0, LBB0_8
LBB0_5:
	mov	w8, #1
LBB0_6:
	str	w8, [x19]
Lloh12:
	adrp	x8, _IKE_VENDOR_ID_RFC3706_DPD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IKE_VENDOR_ID_RFC3706_DPD@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IkeIsVendorIdExists
	str	x0, [x19, #32]
Lloh15:
	adrp	x8, _IKE_VENDOR_ID_MICROSOFT_L2TP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IKE_VENDOR_ID_MICROSOFT_L2TP@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IkeIsVendorIdExists
	str	x0, [x19, #24]
Lloh18:
	adrp	x8, _IKE_VENDOR_ID_MS_NT5_ISAKMPOAKLEY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IKE_VENDOR_ID_MS_NT5_ISAKMPOAKLEY@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IkeIsVendorIdExists
	str	x0, [x19, #16]
Lloh21:
	adrp	x8, _IKE_VENDOR_ID_MS_VID_INITIALCONTACT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IKE_VENDOR_ID_MS_VID_INITIALCONTACT@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IkeIsVendorIdExists
	str	x0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	mov	w1, #48
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Zero
LBB0_8:
Lloh24:
	adrp	x8, _IKE_VENDOR_ID_IPSEC_NAT_T_IKE_00@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IKE_VENDOR_ID_IPSEC_NAT_T_IKE_00@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IkeIsVendorIdExists
	cmp	x0, #0
	cset	w8, ne
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_IKE_VENDOR_ID_RFC3947_NAT_T,4,2 ; @IKE_VENDOR_ID_RFC3947_NAT_T
	.comm	_IKE_VENDOR_ID_IPSEC_NAT_T_IKE_03,4,2 ; @IKE_VENDOR_ID_IPSEC_NAT_T_IKE_03
	.comm	_IKE_VENDOR_ID_IPSEC_NAT_T_IKE_02,4,2 ; @IKE_VENDOR_ID_IPSEC_NAT_T_IKE_02
	.comm	_IKE_VENDOR_ID_IPSEC_NAT_T_IKE_02_2,4,2 ; @IKE_VENDOR_ID_IPSEC_NAT_T_IKE_02_2
	.comm	_IKE_VENDOR_ID_IPSEC_NAT_T_IKE_00,4,2 ; @IKE_VENDOR_ID_IPSEC_NAT_T_IKE_00
	.comm	_IKE_VENDOR_ID_RFC3706_DPD,4,2  ; @IKE_VENDOR_ID_RFC3706_DPD
	.comm	_IKE_VENDOR_ID_MICROSOFT_L2TP,4,2 ; @IKE_VENDOR_ID_MICROSOFT_L2TP
	.comm	_IKE_VENDOR_ID_MS_NT5_ISAKMPOAKLEY,4,2 ; @IKE_VENDOR_ID_MS_NT5_ISAKMPOAKLEY
	.comm	_IKE_VENDOR_ID_MS_VID_INITIALCONTACT,4,2 ; @IKE_VENDOR_ID_MS_VID_INITIALCONTACT
.subsections_via_symbols
