	.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	%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
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_EAP_VENDOR_ID@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_EAP_VENDOR_TYPE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpq	$0, -56(%rbp)
	je	LBB0_2
## %bb.3:
	movq	(%r15), %rcx
	movq	_INIT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.4:
	movl	(%rax), %edx
	cmpl	$1, %edx
	jne	LBB0_5
LBB0_8:
	movq	_CONFIRM@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_11
## %bb.9:
	movl	(%rax), %edx
	cmpl	$3, %edx
	jne	LBB0_10
## %bb.13:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_12
## %bb.14:
	cmpq	$0, 16(%r15)
	je	LBB0_17
## %bb.15:
	cmpq	$0, 8(%r15)
	je	LBB0_17
## %bb.16:
	movq	$0, 8(%r15)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movq	_eap_vendor_ready@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %edi
	xorl	%esi, %esi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r8d, %r8d
	callq	_eloop_register_timeout
	jmp	LBB0_23
LBB0_2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_11:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_17
LBB0_12:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_7
LBB0_5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_6
LBB0_17:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movl	(%r13), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%r12), %r13d
	movq	_EAP_CODE_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_eap_get_id
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movl	$1, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	callq	_eap_msg_alloc
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	movq	%rax, %rbx
	movq	(%r15), %rax
	movq	_INIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.20:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_wpabuf_put_u8
	movq	_CONFIRM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_METHOD_CONT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_DECISION_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_10:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_7:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
LBB0_23:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_21:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_wpabuf_put_u8
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_METHOD_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_DECISION_UNCOND_SUCC@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_ID,4,2              ## @EAP_VENDOR_ID
	.comm	_EAP_VENDOR_TYPE,4,2            ## @EAP_VENDOR_TYPE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_INIT,8,3                       ## @INIT
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-VENDOR-TEST: Unexpected message %d in INIT state"

	.comm	_CONFIRM,8,3                    ## @CONFIRM
L_.str.1:                               ## @.str.1
	.asciz	"EAP-VENDOR-TEST: Unexpected message %d in CONFIRM state"

	.comm	_SUCCESS,8,3                    ## @SUCCESS
L_.str.2:                               ## @.str.2
	.asciz	"EAP-VENDOR-TEST: Unexpected message in SUCCESS state"

L_.str.3:                               ## @.str.3
	.asciz	"EAP-VENDOR-TEST: Testing pending request"

	.comm	_eap_vendor_ready,4,2           ## @eap_vendor_ready
	.comm	_FALSE,8,3                      ## @FALSE
L_.str.4:                               ## @.str.4
	.asciz	"EAP-VENDOR-TEST: Generating Response"

	.comm	_EAP_CODE_RESPONSE,4,2          ## @EAP_CODE_RESPONSE
	.comm	_METHOD_CONT,4,2                ## @METHOD_CONT
	.comm	_DECISION_FAIL,4,2              ## @DECISION_FAIL
	.comm	_METHOD_DONE,4,2                ## @METHOD_DONE
	.comm	_DECISION_UNCOND_SUCC,4,2       ## @DECISION_UNCOND_SUCC
	.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, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _EAP_VENDOR_ID@GOTPAGE
Lloh1:
	ldr	x23, [x23, _EAP_VENDOR_ID@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x24, _EAP_VENDOR_TYPE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _EAP_VENDOR_TYPE@GOTPAGEOFF]
	ldr	w1, [x24]
	add	x3, sp, #8
	mov	x2, x21
	bl	_eap_hdr_validate
	ldr	x8, [sp, #8]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_17
; %bb.1:
	ldr	x8, [x20]
Lloh4:
	adrp	x25, _INIT@GOTPAGE
Lloh5:
	ldr	x25, [x25, _INIT@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w9, [x0]
	cmp	w9, #1
	b.ne	LBB0_11
LBB0_3:
Lloh6:
	adrp	x26, _CONFIRM@GOTPAGE
Lloh7:
	ldr	x26, [x26, _CONFIRM@GOTPAGEOFF]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.4:
	ldr	w9, [x0]
	cmp	w9, #3
	b.ne	LBB0_15
; %bb.5:
Lloh8:
	adrp	x9, _SUCCESS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SUCCESS@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.6:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_12
; %bb.7:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_12
; %bb.8:
	str	xzr, [x20, #8]
Lloh11:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
Lloh16:
	adrp	x8, _TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x19, #16]
Lloh19:
	adrp	x8, _eap_vendor_ready@GOTPAGE
Lloh20:
	ldr	x8, [x8, _eap_vendor_ready@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	w0, #1
	mov	w1, #0
	mov	x3, x22
	mov	x4, #0
	bl	_eloop_register_timeout
	mov	x21, #0
	b	LBB0_18
LBB0_9:
Lloh22:
	adrp	x9, _SUCCESS@GOTPAGE
Lloh23:
	ldr	x9, [x9, _SUCCESS@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
LBB0_10:
Lloh25:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_11:
Lloh30:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	str	x9, [sp]
Lloh33:
	adrp	x1, l_.str@PAGE
Lloh34:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_16
LBB0_12:
Lloh35:
	adrp	x8, _FALSE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	str	x8, [x19, #16]
Lloh38:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x1, l_.str.4@PAGE
Lloh42:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
Lloh43:
	adrp	x8, _TRUE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	ldr	w22, [x23]
	ldr	w23, [x24]
Lloh46:
	adrp	x8, _EAP_CODE_RESPONSE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _EAP_CODE_RESPONSE@GOTPAGEOFF]
Lloh48:
	ldr	w24, [x8]
	mov	x0, x21
	bl	_eap_get_id
	mov	x4, x0
	mov	x0, x22
	mov	x1, x23
	mov	w2, #1
	mov	x3, x24
	bl	_eap_msg_alloc
	mov	x21, x0
	cbz	x0, LBB0_18
; %bb.13:
	ldr	x8, [x20]
	ldr	x9, [x25]
	mov	x0, x21
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.14:
	mov	w1, #2
	bl	_wpabuf_put_u8
	ldr	x8, [x26]
	str	x8, [x20]
Lloh49:
	adrp	x8, _METHOD_CONT@GOTPAGE
Lloh50:
	ldr	x8, [x8, _METHOD_CONT@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
Lloh52:
	adrp	x9, _DECISION_FAIL@GOTPAGE
Lloh53:
	ldr	x9, [x9, _DECISION_FAIL@GOTPAGEOFF]
	b	LBB0_20
LBB0_15:
Lloh54:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh55:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
	str	x9, [sp]
Lloh57:
	adrp	x1, l_.str.1@PAGE
Lloh58:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_16:
	bl	_wpa_printf
LBB0_17:
	mov	x21, #0
Lloh59:
	adrp	x8, _TRUE@GOTPAGE
Lloh60:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh61:
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_18:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_19:
	mov	w1, #4
	bl	_wpabuf_put_u8
Lloh62:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh63:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
	str	x8, [x20]
Lloh65:
	adrp	x8, _METHOD_DONE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _METHOD_DONE@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
Lloh68:
	adrp	x9, _DECISION_UNCOND_SUCC@GOTPAGE
Lloh69:
	ldr	x9, [x9, _DECISION_UNCOND_SUCC@GOTPAGEOFF]
LBB0_20:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	b	LBB0_18
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_ID,4,2              ; @EAP_VENDOR_ID
	.comm	_EAP_VENDOR_TYPE,4,2            ; @EAP_VENDOR_TYPE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_INIT,8,3                       ; @INIT
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-VENDOR-TEST: Unexpected message %d in INIT state"

	.comm	_CONFIRM,8,3                    ; @CONFIRM
l_.str.1:                               ; @.str.1
	.asciz	"EAP-VENDOR-TEST: Unexpected message %d in CONFIRM state"

	.comm	_SUCCESS,8,3                    ; @SUCCESS
l_.str.2:                               ; @.str.2
	.asciz	"EAP-VENDOR-TEST: Unexpected message in SUCCESS state"

l_.str.3:                               ; @.str.3
	.asciz	"EAP-VENDOR-TEST: Testing pending request"

	.comm	_eap_vendor_ready,4,2           ; @eap_vendor_ready
	.comm	_FALSE,8,3                      ; @FALSE
l_.str.4:                               ; @.str.4
	.asciz	"EAP-VENDOR-TEST: Generating Response"

	.comm	_EAP_CODE_RESPONSE,4,2          ; @EAP_CODE_RESPONSE
	.comm	_METHOD_CONT,4,2                ; @METHOD_CONT
	.comm	_DECISION_FAIL,4,2              ; @DECISION_FAIL
	.comm	_METHOD_DONE,4,2                ; @METHOD_DONE
	.comm	_DECISION_UNCOND_SUCC,4,2       ; @DECISION_UNCOND_SUCC
	.no_dead_strip	_eap_vendor_test_process
.subsections_via_symbols
