	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_sake_process_identity
_eap_sake_process_identity:             ## @eap_sake_process_identity
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	(%rsi), %rax
	movq	_IDENTITY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	%r9, %r12
	movq	%r8, %rbx
	movq	%rsi, %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_eap_sake_parse_attributes
	testq	%rax, %rax
	jne	LBB0_4
## %bb.6:
	movl	-44(%rbp), %eax
	orl	-48(%rbp), %eax
	je	LBB0_9
## %bb.7:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
	movq	8(%r14), %rdx
	addq	$2, %rdx
	movq	_EAP_SAKE_SUBTYPE_IDENTITY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_eap_sake_build_msg
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:
	movq	%rax, %rbx
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_wpa_printf
	movq	_EAP_SAKE_AT_PEERID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r14), %edx
	movq	8(%r14), %rcx
	movq	%rbx, %rdi
	callq	_eap_sake_add_attr
	movq	_CHALLENGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_eap_sake_state
	jmp	LBB0_5
LBB0_3:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdx)
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_IDENTITY,8,3                   ## @IDENTITY
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-SAKE: Received Request/Identity"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"EAP-SAKE: No AT_PERM_ID_REQ or AT_ANY_ID_REQ in Request/Identity"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-SAKE: Sending Response/Identity"

	.comm	_EAP_SAKE_SUBTYPE_IDENTITY,4,2  ## @EAP_SAKE_SUBTYPE_IDENTITY
L_.str.3:                               ## @.str.3
	.asciz	"EAP-SAKE: * AT_PEERID"

	.comm	_EAP_SAKE_AT_PEERID,4,2         ## @EAP_SAKE_AT_PEERID
	.comm	_CHALLENGE,4,2                  ## @CHALLENGE
	.no_dead_strip	_eap_sake_process_identity
.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_identity
_eap_sake_process_identity:             ; @eap_sake_process_identity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _IDENTITY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IDENTITY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x21, x5
	mov	x22, x4
	mov	x20, x3
	mov	x19, x1
Lloh3:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x21
	bl	_eap_sake_parse_attributes
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, #0
	b	LBB0_4
LBB0_3:
	mov	x20, #0
Lloh7:
	adrp	x8, _TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x2]
LBB0_4:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
LBB0_5:
	ldp	w9, w8, [sp, #8]
	orr	w8, w8, w9
	cbz	w8, LBB0_8
; %bb.6:
	ldr	w0, [x23]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x19, #8]
	add	x2, x8, #2
Lloh12:
	adrp	x8, _EAP_SAKE_SUBTYPE_IDENTITY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EAP_SAKE_SUBTYPE_IDENTITY@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_eap_sake_build_msg
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.7:
	ldr	w0, [x23]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
Lloh17:
	adrp	x8, _EAP_SAKE_AT_PEERID@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EAP_SAKE_AT_PEERID@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x19, #16]
	ldr	x3, [x19, #8]
	mov	x0, x20
	bl	_eap_sake_add_attr
Lloh20:
	adrp	x8, _CHALLENGE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CHALLENGE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eap_sake_state
	b	LBB0_4
LBB0_8:
Lloh23:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	x20, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_IDENTITY,8,3                   ; @IDENTITY
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-SAKE: Received Request/Identity"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"EAP-SAKE: No AT_PERM_ID_REQ or AT_ANY_ID_REQ in Request/Identity"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-SAKE: Sending Response/Identity"

	.comm	_EAP_SAKE_SUBTYPE_IDENTITY,4,2  ; @EAP_SAKE_SUBTYPE_IDENTITY
l_.str.3:                               ; @.str.3
	.asciz	"EAP-SAKE: * AT_PEERID"

	.comm	_EAP_SAKE_AT_PEERID,4,2         ; @EAP_SAKE_AT_PEERID
	.comm	_CHALLENGE,4,2                  ; @CHALLENGE
	.no_dead_strip	_eap_sake_process_identity
.subsections_via_symbols
