	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_aka_check_identity
_eap_aka_check_identity:                ## @eap_aka_check_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	4(%rdi), %esi
	movl	8(%rdi), %edi
	callq	_sim_get_username
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_eap_aka_check_identity_reauth
	testq	%rax, %rax
	jle	LBB0_2
LBB0_8:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_os_free                        ## TAILCALL
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	(%r14), %rax
	movq	_EAP_TYPE_AKA_PRIME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movb	(%r15), %cl
	movq	_EAP_AKA_PRIME_PSEUDONYM_PREFIX@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %cl
	je	LBB0_6
LBB0_4:
	movq	_EAP_TYPE_AKA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.5:
	movb	(%r15), %al
	movq	_EAP_AKA_PSEUDONYM_PREFIX@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_8
LBB0_6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	_eap_sim_db_get_permanent
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movl	8(%r14), %edi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_os_strlcpy
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_eap_aka_fullauth
	jmp	LBB0_8
LBB0_9:
	movq	%r15, %rdi
	callq	_os_free
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_TYPE_AKA_PRIME,8,3         ## @EAP_TYPE_AKA_PRIME
	.comm	_EAP_AKA_PRIME_PSEUDONYM_PREFIX,1,0 ## @EAP_AKA_PRIME_PSEUDONYM_PREFIX
	.comm	_EAP_TYPE_AKA,8,3               ## @EAP_TYPE_AKA
	.comm	_EAP_AKA_PSEUDONYM_PREFIX,1,0   ## @EAP_AKA_PSEUDONYM_PREFIX
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-AKA: Pseudonym username '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-AKA: Unknown pseudonym identity - request permanent identity"

	.no_dead_strip	_eap_aka_check_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_check_identity
_eap_aka_check_identity:                ; @eap_aka_check_identity
	.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	x19, x1
	mov	x21, x0
	ldr	w0, [x0, #8]
	ldr	w1, [x21, #4]
	bl	_sim_get_username
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_eap_aka_check_identity_reauth
	cmp	x0, #1
	b.lt	LBB0_4
LBB0_2:
	mov	x0, 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
	add	sp, sp, #64
	b	_os_free
LBB0_3:
	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
LBB0_4:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _EAP_TYPE_AKA_PRIME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EAP_TYPE_AKA_PRIME@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldrb	w9, [x20]
Lloh3:
	adrp	x10, _EAP_AKA_PRIME_PSEUDONYM_PREFIX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _EAP_AKA_PRIME_PSEUDONYM_PREFIX@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_8
LBB0_6:
Lloh5:
	adrp	x9, _EAP_TYPE_AKA@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EAP_TYPE_AKA@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.7:
	ldrb	w8, [x20]
Lloh8:
	adrp	x9, _EAP_AKA_PSEUDONYM_PREFIX@GOTPAGE
Lloh9:
	ldr	x9, [x9, _EAP_AKA_PSEUDONYM_PREFIX@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
LBB0_8:
Lloh10:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh11:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x22]
	str	x20, [sp]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x21]
	mov	x1, x20
	bl	_eap_sim_db_get_permanent
	cbz	x0, LBB0_10
; %bb.9:
	mov	x1, x0
	ldr	w0, [x19, #8]
	mov	w2, #4
	bl	_os_strlcpy
	mov	x0, x21
	mov	x1, x19
	bl	_eap_aka_fullauth
	b	LBB0_2
LBB0_10:
	mov	x0, x20
	bl	_os_free
	ldr	w0, [x22]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	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
	b	_wpa_printf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_TYPE_AKA_PRIME,8,3         ; @EAP_TYPE_AKA_PRIME
	.comm	_EAP_AKA_PRIME_PSEUDONYM_PREFIX,1,0 ; @EAP_AKA_PRIME_PSEUDONYM_PREFIX
	.comm	_EAP_TYPE_AKA,8,3               ; @EAP_TYPE_AKA
	.comm	_EAP_AKA_PSEUDONYM_PREFIX,1,0   ; @EAP_AKA_PSEUDONYM_PREFIX
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-AKA: Pseudonym username '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-AKA: Unknown pseudonym identity - request permanent identity"

	.no_dead_strip	_eap_aka_check_identity
.subsections_via_symbols
