	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IkeIsVendorIdExists            ## -- Begin function IkeIsVendorIdExists
	.p2align	4, 0x90
_IkeIsVendorIdExists:                   ## @IkeIsVendorIdExists
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.2:
	movq	%rsi, %rdi
	callq	_IkeStrToVendorId
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	movq	%rax, %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_IKE_PAYLOAD_VENDOR_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_IkeGetPayloadNum
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jle	LBB0_4
## %bb.5:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%r15d, %r12d
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movl	%r12d, %r15d
	cmpq	%rbx, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_14
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_IKE_PAYLOAD_VENDOR_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_IkeGetPayload
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r14
	movq	(%rax), %rdi
	movq	%r13, %rsi
	callq	_CompareBuf
	movl	$1, %r12d
	testq	%rax, %rax
	jne	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r13), %edx
	cmpl	%edx, 4(%rax)
	jl	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rax), %edi
	movl	4(%r13), %esi
	callq	_Cmp
	testq	%rax, %rax
	movl	$1, %eax
	cmovel	%eax, %r15d
	jmp	LBB0_12
LBB0_4:
	xorl	%r12d, %r12d
LBB0_14:
	movq	%r13, %rdi
	callq	_FreeBuf
	movl	%r12d, %ebx
	jmp	LBB0_15
LBB0_7:
	xorl	%ebx, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IKE_PAYLOAD_VENDOR_ID,4,2      ## @IKE_PAYLOAD_VENDOR_ID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IkeIsVendorIdExists            ; -- Begin function IkeIsVendorIdExists
	.p2align	2
_IkeIsVendorIdExists:                   ; @IkeIsVendorIdExists
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	w21, #0
	cbz	x0, LBB0_15
; %bb.1:
	cbz	x1, LBB0_15
; %bb.2:
	mov	x19, x0
	mov	x0, x1
	bl	_IkeStrToVendorId
	cbz	x0, LBB0_12
; %bb.3:
	mov	x20, x0
	ldr	w0, [x19]
Lloh0:
	adrp	x25, _IKE_PAYLOAD_VENDOR_ID@GOTPAGE
Lloh1:
	ldr	x25, [x25, _IKE_PAYLOAD_VENDOR_ID@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_IkeGetPayloadNum
	cmp	x0, #1
	b.lt	LBB0_13
; %bb.4:
	mov	x22, x0
	mov	w21, #0
	mov	x23, #0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	w21, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x23, x23, #1
	cmp	x22, x23
	b.eq	LBB0_14
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	ldr	w1, [x25]
	mov	x2, x23
	bl	_IkeGetPayload
	cbz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, x0
	ldr	x0, [x0]
	mov	x1, x20
	bl	_CompareBuf
	cbnz	x0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x24]
	cbz	x8, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x8, #4]
	ldr	w2, [x20]
	cmp	w9, w2
	b.lt	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x8]
	ldr	w1, [x20, #4]
	bl	_Cmp
	cmp	x0, #0
	csinc	w21, w21, wzr, ne
	b	LBB0_6
LBB0_12:
	mov	w21, #0
	b	LBB0_15
LBB0_13:
	mov	w21, #0
LBB0_14:
	mov	x0, x20
	bl	_FreeBuf
LBB0_15:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IKE_PAYLOAD_VENDOR_ID,4,2      ; @IKE_PAYLOAD_VENDOR_ID
.subsections_via_symbols
