	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_vendor_test_process
_eap_vendor_test_process:               ## @eap_vendor_test_process
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	_EAP_VENDOR_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_VENDOR_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rcx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	cmpq	$0, -16(%rbp)
	je	LBB0_9
## %bb.2:
	movq	(%rbx), %rcx
	movq	_INIT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movq	_CONFIRM@GOTPCREL(%rip), %rcx
	movl	$2, %edx
	cmpl	%edx, (%rax)
	jne	LBB0_7
	jmp	LBB0_8
LBB0_4:
	movq	_CONFIRM@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.5:
	movq	_SUCCESS@GOTPCREL(%rip), %rcx
	movl	$4, %edx
	cmpl	%edx, (%rax)
	je	LBB0_8
LBB0_7:
	movq	_FAILURE@GOTPCREL(%rip), %rcx
LBB0_8:
	movq	(%rcx), %rsi
	movq	%rbx, %rdi
	callq	_eap_vendor_test_state
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_ID,4,2              ## @EAP_VENDOR_ID
	.comm	_EAP_VENDOR_TYPE,4,2            ## @EAP_VENDOR_TYPE
	.comm	_INIT,8,3                       ## @INIT
	.comm	_CONFIRM,8,3                    ## @CONFIRM
	.comm	_FAILURE,8,3                    ## @FAILURE
	.comm	_SUCCESS,8,3                    ## @SUCCESS
	.no_dead_strip	_eap_vendor_test_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_vendor_test_process
_eap_vendor_test_process:               ; @eap_vendor_test_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _EAP_VENDOR_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_VENDOR_ID@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EAP_VENDOR_TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_VENDOR_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #8
	bl	_eap_hdr_validate
	ldr	x8, [sp, #8]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_8
; %bb.1:
	ldr	x9, [x19]
Lloh6:
	adrp	x8, _INIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INIT@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x8]
Lloh9:
	adrp	x8, _CONFIRM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CONFIRM@GOTPAGEOFF]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
	mov	w9, #2
	b	LBB0_5
LBB0_3:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.4:
Lloh11:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	mov	w9, #4
LBB0_5:
Lloh13:
	adrp	x10, _FAILURE@GOTPAGE
Lloh14:
	ldr	x10, [x10, _FAILURE@GOTPAGEOFF]
	ldr	w11, [x0]
	cmp	w11, w9
	csel	x8, x8, x10, eq
	b	LBB0_7
LBB0_6:
Lloh15:
	adrp	x8, _FAILURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_7:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_eap_vendor_test_state
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_ID,4,2              ; @EAP_VENDOR_ID
	.comm	_EAP_VENDOR_TYPE,4,2            ; @EAP_VENDOR_TYPE
	.comm	_INIT,8,3                       ; @INIT
	.comm	_CONFIRM,8,3                    ; @CONFIRM
	.comm	_FAILURE,8,3                    ; @FAILURE
	.comm	_SUCCESS,8,3                    ; @SUCCESS
	.no_dead_strip	_eap_vendor_test_process
.subsections_via_symbols
