	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_aka_process_identity
_eap_aka_process_identity:              ## @eap_aka_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
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	cmpq	$0, 32(%rbx)
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 24(%rbx)
	jne	LBB0_3
## %bb.2:
	cmpq	$0, 16(%rbx)
	je	LBB0_4
LBB0_3:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_7:
	callq	_wpa_printf
LBB0_8:
	movq	_EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	movq	_NOTIFICATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_aka_state                  ## TAILCALL
LBB0_4:
	cmpl	$0, 8(%rbx)
	je	LBB0_6
## %bb.5:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.9:
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	movq	%rax, %r13
	movq	8(%r15), %rdi
	callq	_os_free
	movq	%r13, 8(%r15)
	movl	8(%rbx), %esi
	movq	(%rbx), %rdx
	movq	%r13, %rdi
	callq	_os_memcpy
	movq	(%rbx), %rax
	movq	%rax, (%r15)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_eap_aka_determine_identity
	movq	%r14, %rdi
	callq	_eap_get_id
	cmpl	(%r12), %eax
	jne	LBB0_11
## %bb.12:
	movl	$-1, (%r12)
	movq	%r12, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_aka_add_id_msg             ## TAILCALL
LBB0_6:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_7
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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-AKA: Processing Identity"

	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"EAP-AKA: Unexpected attribute received in EAP-Response/AKA-Identity"

	.comm	_EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH,8,3 ## @EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH
	.comm	_NOTIFICATION,4,2               ## @NOTIFICATION
L_.str.2:                               ## @.str.2
	.asciz	"EAP-AKA: Peer did not provide any identity"

	.no_dead_strip	_eap_aka_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_aka_process_identity
_eap_aka_process_identity:              ; @eap_aka_process_identity
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x22, #32]
	cbnz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x22, #24]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_6
LBB0_3:
Lloh4:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	bl	_wpa_printf
LBB0_5:
Lloh9:
	adrp	x8, _EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh12:
	adrp	x8, _NOTIFICATION@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NOTIFICATION@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_eap_aka_state
LBB0_6:
	ldr	w8, [x22, #8]
	cbz	w8, LBB0_11
; %bb.7:
	ldr	x0, [x22]
	cbz	x0, LBB0_11
; %bb.8:
	bl	_os_malloc
	cbz	x0, LBB0_5
; %bb.9:
	mov	x23, x0
	ldr	x0, [x21, #8]
	bl	_os_free
	str	x23, [x21, #8]
	ldr	w1, [x22, #8]
	ldr	x2, [x22]
	mov	x0, x23
	bl	_os_memcpy
	ldr	x8, [x22]
	str	x8, [x21]
	mov	x0, x21
	mov	x1, x19
	bl	_eap_aka_determine_identity
	mov	x0, x20
	bl	_eap_get_id
	ldr	w8, [x19]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.10:
	mov	w8, #-1
	str	w8, [x19]
	mov	x0, x19
	mov	x1, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_eap_aka_add_id_msg
LBB0_11:
	ldr	w0, [x23]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_12:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-AKA: Processing Identity"

	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"EAP-AKA: Unexpected attribute received in EAP-Response/AKA-Identity"

	.comm	_EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH,8,3 ; @EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH
	.comm	_NOTIFICATION,4,2               ; @NOTIFICATION
l_.str.2:                               ; @.str.2
	.asciz	"EAP-AKA: Peer did not provide any identity"

	.no_dead_strip	_eap_aka_process_identity
.subsections_via_symbols
