	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_sake_process
_eap_sake_process:                      ## @eap_sake_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	$56, %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, %r15
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_SAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rcx
	movq	%rbx, %r12
	movq	%rbx, %rdx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	-88(%rbp), %rbx
	cmpq	$15, %rbx
	jbe	LBB0_2
## %bb.3:
	movq	%rax, %r13
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_eap_get_id
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rdx
	movq	8(%r13), %r14
	addq	$16, %r13
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rdx, %r15
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%r12), %edi
	addl	$-2, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdx
	movl	%ebx, %ecx
	callq	_wpa_hexdump
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	cmpl	$0, (%rsi)
	je	LBB0_6
## %bb.4:
	movq	8(%rsi), %rcx
	cmpq	%r14, %rcx
	jne	LBB0_5
LBB0_6:
	movq	%r14, 8(%rsi)
	movl	$1, (%rsi)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 16(%rcx)
	movq	_METHOD_MAY_CONT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
	movq	_DECISION_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rcx)
	movq	_TRUE@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, 8(%rcx)
	cmpq	$130, %r15
	je	LBB0_13
## %bb.7:
	cmpq	$129, %r15
	je	LBB0_10
## %bb.8:
	cmpq	$128, %r15
	jne	LBB0_11
## %bb.9:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movl	%ebx, %r9d
	callq	_eap_sake_process_identity
	jmp	LBB0_14
LBB0_2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_5:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_12
LBB0_13:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movl	%ebx, %r9d
	callq	_eap_sake_process_challenge
	jmp	LBB0_14
LBB0_10:
	movl	%ebx, (%rsp)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	%r13, %r9
	callq	_eap_sake_process_confirm
LBB0_14:
	movq	%rax, %rbx
	movq	(%r14), %rax
	movq	_METHOD_DONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.15:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	jmp	LBB0_16
LBB0_11:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	(%r14), %rax
LBB0_12:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 16(%rcx)
LBB0_16:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_SAKE,4,2              ## @EAP_TYPE_SAKE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-SAKE: Received frame: subtype %d session_id %d"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-SAKE: Received attributes"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.2:                               ## @.str.2
	.asciz	"EAP-SAKE: Session ID mismatch (%d,%d)"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_METHOD_MAY_CONT,8,3            ## @METHOD_MAY_CONT
	.comm	_DECISION_FAIL,4,2              ## @DECISION_FAIL
L_.str.3:                               ## @.str.3
	.asciz	"EAP-SAKE: Ignoring message with unknown subtype %d"

	.comm	_METHOD_DONE,8,3                ## @METHOD_DONE
	.no_dead_strip	_eap_sake_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_sake_process
_eap_sake_process:                      ; @eap_sake_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _EAP_VENDOR_IETF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EAP_TYPE_SAKE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_TYPE_SAKE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x2, x22
	bl	_eap_hdr_validate
	ldr	x26, [sp, #8]
	cmp	x0, #0
	ccmp	x26, #15, #0, ne
	b.ls	LBB0_8
; %bb.1:
	mov	x24, x0
	mov	x0, x22
	bl	_eap_get_id
	mov	x23, x0
	ldp	x25, x27, [x24], #16
Lloh6:
	adrp	x28, _MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x28, [x28, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x28]
	str	x27, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x25
	bl	_wpa_printf
	ldr	w0, [x28]
	sub	w26, w26, #2
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x24
	mov	x3, x26
	bl	_wpa_hexdump
	ldr	w8, [x20]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	x8, [x20, #8]
	cmp	x8, x27
	b.ne	LBB0_7
LBB0_3:
	str	x27, [x20, #8]
	mov	w8, #1
	str	w8, [x20]
Lloh12:
	adrp	x10, _FALSE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _FALSE@GOTPAGEOFF]
	ldr	x8, [x10]
Lloh14:
	adrp	x9, _METHOD_MAY_CONT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _METHOD_MAY_CONT@GOTPAGEOFF]
	str	x8, [x19, #16]
Lloh16:
	ldr	x8, [x9]
Lloh17:
	adrp	x9, _DECISION_FAIL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _DECISION_FAIL@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	str	w9, [x19, #24]
Lloh20:
	adrp	x27, _TRUE@GOTPAGE
Lloh21:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
	ldr	x9, [x27]
	stp	x8, x9, [x19]
	cmp	x25, #130
	b.eq	LBB0_11
; %bb.4:
	cmp	x25, #129
	b.eq	LBB0_12
; %bb.5:
	cmp	x25, #128
	b.ne	LBB0_15
; %bb.6:
	mov	x25, x10
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x23
	mov	x4, x24
	mov	x5, x26
	bl	_eap_sake_process_identity
	b	LBB0_13
LBB0_7:
Lloh22:
	adrp	x9, _MSG_INFO@GOTPAGE
Lloh23:
	ldr	x9, [x9, _MSG_INFO@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x27
	bl	_wpa_printf
LBB0_8:
	mov	x0, #0
Lloh27:
	adrp	x8, _TRUE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
LBB0_9:
	str	x8, [x19, #16]
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
	mov	x25, x10
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x23
	mov	x4, x24
	mov	x5, x26
	bl	_eap_sake_process_challenge
	b	LBB0_13
LBB0_12:
	mov	x25, x10
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x23
	mov	x4, x22
	mov	x5, x24
	mov	x6, x26
	bl	_eap_sake_process_confirm
LBB0_13:
	ldr	x8, [x19]
Lloh30:
	adrp	x9, _METHOD_DONE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _METHOD_DONE@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.14:
	ldr	x8, [x25]
	str	x8, [x19, #8]
	b	LBB0_10
LBB0_15:
	ldr	w0, [x28]
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x25
	bl	_wpa_printf
	mov	x0, #0
	ldr	x8, [x27]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_SAKE,4,2              ; @EAP_TYPE_SAKE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-SAKE: Received frame: subtype %d session_id %d"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-SAKE: Received attributes"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.2:                               ; @.str.2
	.asciz	"EAP-SAKE: Session ID mismatch (%d,%d)"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_METHOD_MAY_CONT,8,3            ; @METHOD_MAY_CONT
	.comm	_DECISION_FAIL,4,2              ; @DECISION_FAIL
l_.str.3:                               ; @.str.3
	.asciz	"EAP-SAKE: Ignoring message with unknown subtype %d"

	.comm	_METHOD_DONE,8,3                ; @METHOD_DONE
	.no_dead_strip	_eap_sake_process
.subsections_via_symbols
