	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_identity_process
_eap_identity_process:                  ## @eap_identity_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	cmpq	$0, 8(%rsi)
	je	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_eap_identity_check
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	jmp	LBB0_11
LBB0_3:
	movq	$0, 8(%r12)
LBB0_4:
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_IDENTITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	%rax, %r15
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-40(%rbp), %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	callq	_wpa_hexdump_ascii
	movq	-40(%rbp), %rax
	leaq	1(,%rax,4), %rdi
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %rbx
	movq	-40(%rbp), %rcx
	leaq	1(,%rcx,4), %rsi
	movq	%rax, %rdi
	movq	%r15, %rdx
	callq	_printf_encode
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_eap_log_msg
	movq	%rbx, %rdi
	callq	_os_free
LBB0_7:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
LBB0_9:
	callq	_os_free
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	movl	$1, %edi
	cmovneq	%rax, %rdi
	callq	_os_malloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	-40(%rbp), %rdx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_os_memcpy
	movq	-40(%rbp), %rax
	movq	%rax, 8(%r14)
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_FAILURE@GOTPCREL(%rip), %rax
LBB0_12:
	movq	(%rax), %rax
	movq	%rax, (%r12)
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-Identity: failed to pick up already started negotiation"

	.comm	_FAILURE,8,3                    ## @FAILURE
	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_IDENTITY,4,2          ## @EAP_TYPE_IDENTITY
L_.str.1:                               ## @.str.1
	.asciz	"EAP-Identity: Peer identity"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-Response/Identity '%s'"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SUCCESS,8,3                    ## @SUCCESS
	.no_dead_strip	_eap_identity_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_identity_process
_eap_identity_process:                  ; @eap_identity_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_eap_identity_check
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	b	LBB0_11
LBB0_3:
	str	xzr, [x19, #8]
LBB0_4:
Lloh5:
	adrp	x8, _EAP_VENDOR_IETF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _EAP_TYPE_IDENTITY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAP_TYPE_IDENTITY@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x2, x21
	bl	_eap_hdr_validate
	cbz	x0, LBB0_13
; %bb.5:
	mov	x21, x0
Lloh11:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	x3, [sp, #8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump_ascii
	ldr	x8, [sp, #8]
	mov	w0, #1
	bfi	x0, x8, #2, #62
	bl	_os_malloc
	cbz	x0, LBB0_7
; %bb.6:
	mov	x22, x0
	ldr	x3, [sp, #8]
	mov	w1, #1
	bfi	x1, x3, #2, #62
	mov	x2, x21
	bl	_printf_encode
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_eap_log_msg
	mov	x0, x22
	bl	_os_free
LBB0_7:
	ldr	x0, [x20]
	cbz	x0, LBB0_9
; %bb.8:
Lloh18:
	adrp	x8, _TRUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x20, #16]
LBB0_9:
	bl	_os_free
	ldr	x8, [sp, #8]
	cmp	x8, #0
	csinc	x0, x8, xzr, ne
	bl	_os_malloc
	str	x0, [x20]
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x2, [sp, #8]
	mov	x1, x21
	bl	_os_memcpy
	ldr	x8, [sp, #8]
	str	x8, [x20, #8]
Lloh21:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh23:
	adrp	x8, _FAILURE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_12:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-Identity: failed to pick up already started negotiation"

	.comm	_FAILURE,8,3                    ; @FAILURE
	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_IDENTITY,4,2          ; @EAP_TYPE_IDENTITY
l_.str.1:                               ; @.str.1
	.asciz	"EAP-Identity: Peer identity"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-Response/Identity '%s'"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SUCCESS,8,3                    ; @SUCCESS
	.no_dead_strip	_eap_identity_process
.subsections_via_symbols
