	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_aka_determine_identity
_eap_aka_determine_identity:            ## @eap_aka_determine_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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	4(%rbx), %ecx
	movl	8(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_wpa_hexdump_ascii
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	callq	_sim_get_username
	testq	%rax, %rax
	je	LBB0_20
## %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_21:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_os_free                        ## TAILCALL
LBB0_2:
	movq	(%r14), %rax
	movq	_EAP_TYPE_AKA_PRIME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_4
## %bb.3:
	movb	(%r15), %dl
	movq	_EAP_AKA_PRIME_REAUTH_ID_PREFIX@GOTPCREL(%rip), %rsi
	cmpb	(%rsi), %dl
	je	LBB0_6
LBB0_4:
	movq	_EAP_TYPE_AKA@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_7
## %bb.5:
	movb	(%r15), %dl
	movq	_EAP_AKA_REAUTH_ID_PREFIX@GOTPCREL(%rip), %rsi
	cmpb	(%rsi), %dl
	jne	LBB0_7
LBB0_6:
	cmpl	$1, 8(%r14)
	je	LBB0_21
LBB0_7:
	cmpq	%rcx, %rax
	jne	LBB0_9
## %bb.8:
	movb	(%r15), %dl
	movq	_EAP_AKA_PRIME_PSEUDONYM_PREFIX@GOTPCREL(%rip), %rsi
	cmpb	(%rsi), %dl
	je	LBB0_11
LBB0_9:
	movq	_EAP_TYPE_AKA@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rax
	jne	LBB0_13
## %bb.10:
	movb	(%r15), %sil
	movq	_EAP_AKA_PSEUDONYM_PREFIX@GOTPCREL(%rip), %rdi
	cmpb	(%rdi), %sil
	jne	LBB0_13
LBB0_11:
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	_eap_sim_db_get_permanent
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_os_free
	testq	%r12, %r12
	je	LBB0_22
## %bb.12:
	movl	24(%r14), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_os_strlcpy
	jmp	LBB0_18
LBB0_13:
	cmpq	%rcx, %rax
	jne	LBB0_15
## %bb.14:
	movb	(%r15), %cl
	movq	_EAP_AKA_PRIME_PERMANENT_PREFIX@GOTPCREL(%rip), %rsi
	cmpb	(%rsi), %cl
	je	LBB0_17
LBB0_15:
	cmpq	%rdx, %rax
	jne	LBB0_19
## %bb.16:
	movb	(%r15), %al
	movq	_EAP_AKA_PERMANENT_PREFIX@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_19
LBB0_17:
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	24(%r14), %edi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_os_strlcpy
	movq	%r15, %rdi
	callq	_os_free
LBB0_18:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_aka_fullauth               ## TAILCALL
LBB0_19:
	movl	(%r13), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r15, %rdi
	callq	_os_free
LBB0_20:
	movq	_EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movq	_NOTIFICATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_aka_state                  ## TAILCALL
LBB0_22:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-AKA: Identity"

	.comm	_EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH,8,3 ## @EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH
	.comm	_NOTIFICATION,4,2               ## @NOTIFICATION
	.comm	_EAP_TYPE_AKA_PRIME,8,3         ## @EAP_TYPE_AKA_PRIME
	.comm	_EAP_AKA_PRIME_REAUTH_ID_PREFIX,1,0 ## @EAP_AKA_PRIME_REAUTH_ID_PREFIX
	.comm	_EAP_TYPE_AKA,8,3               ## @EAP_TYPE_AKA
	.comm	_EAP_AKA_REAUTH_ID_PREFIX,1,0   ## @EAP_AKA_REAUTH_ID_PREFIX
	.comm	_EAP_AKA_PRIME_PSEUDONYM_PREFIX,1,0 ## @EAP_AKA_PRIME_PSEUDONYM_PREFIX
	.comm	_EAP_AKA_PSEUDONYM_PREFIX,1,0   ## @EAP_AKA_PSEUDONYM_PREFIX
L_.str.1:                               ## @.str.1
	.asciz	"EAP-AKA: Pseudonym username '%s'"

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

	.comm	_EAP_AKA_PRIME_PERMANENT_PREFIX,1,0 ## @EAP_AKA_PRIME_PERMANENT_PREFIX
	.comm	_EAP_AKA_PERMANENT_PREFIX,1,0   ## @EAP_AKA_PERMANENT_PREFIX
L_.str.3:                               ## @.str.3
	.asciz	"EAP-AKA: Permanent username '%s'"

L_.str.4:                               ## @.str.4
	.asciz	"EAP-AKA: Unrecognized username '%s'"

	.no_dead_strip	_eap_aka_determine_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_determine_identity
_eap_aka_determine_identity:            ; @eap_aka_determine_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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
	ldp	w3, w2, [x20, #4]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_hexdump_ascii
	ldp	w1, w0, [x20, #4]
	bl	_sim_get_username
	cbz	x0, LBB0_21
; %bb.1:
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_eap_aka_check_identity_reauth
	cmp	x0, #1
	b.lt	LBB0_3
LBB0_2:
	mov	x0, x21
	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
	b	_os_free
LBB0_3:
	ldr	x8, [x19]
Lloh4:
	adrp	x9, _EAP_TYPE_AKA_PRIME@GOTPAGE
Lloh5:
	ldr	x9, [x9, _EAP_TYPE_AKA_PRIME@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
Lloh7:
	adrp	x10, _EAP_TYPE_AKA@GOTPAGE
Lloh8:
	ldr	x10, [x10, _EAP_TYPE_AKA@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldrb	w11, [x21]
Lloh9:
	adrp	x12, _EAP_AKA_PRIME_REAUTH_ID_PREFIX@GOTPAGE
Lloh10:
	ldr	x12, [x12, _EAP_AKA_PRIME_REAUTH_ID_PREFIX@GOTPAGEOFF]
	ldrb	w12, [x12]
	cmp	w11, w12
	b.eq	LBB0_7
LBB0_5:
	ldr	x11, [x10]
	cmp	x8, x11
	b.ne	LBB0_8
; %bb.6:
	ldrb	w11, [x21]
Lloh11:
	adrp	x12, _EAP_AKA_REAUTH_ID_PREFIX@GOTPAGE
Lloh12:
	ldr	x12, [x12, _EAP_AKA_REAUTH_ID_PREFIX@GOTPAGEOFF]
	ldrb	w12, [x12]
	cmp	w11, w12
	b.ne	LBB0_8
LBB0_7:
	ldr	w11, [x19, #8]
	cmp	w11, #1
	b.eq	LBB0_2
LBB0_8:
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
	ldrb	w11, [x21]
Lloh13:
	adrp	x12, _EAP_AKA_PRIME_PSEUDONYM_PREFIX@GOTPAGE
Lloh14:
	ldr	x12, [x12, _EAP_AKA_PRIME_PSEUDONYM_PREFIX@GOTPAGEOFF]
	ldrb	w12, [x12]
	cmp	w11, w12
	b.eq	LBB0_12
LBB0_10:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_14
; %bb.11:
	ldrb	w11, [x21]
Lloh15:
	adrp	x12, _EAP_AKA_PSEUDONYM_PREFIX@GOTPAGE
Lloh16:
	ldr	x12, [x12, _EAP_AKA_PSEUDONYM_PREFIX@GOTPAGEOFF]
	ldrb	w12, [x12]
	cmp	w11, w12
	b.ne	LBB0_14
LBB0_12:
	ldr	w0, [x23]
	str	x21, [sp]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x20]
	mov	x1, x21
	bl	_eap_sim_db_get_permanent
	mov	x22, x0
	mov	x0, x21
	bl	_os_free
	cbz	x22, LBB0_22
; %bb.13:
	ldr	w0, [x19, #24]
	mov	x1, x22
	mov	w2, #4
	bl	_os_strlcpy
	b	LBB0_19
LBB0_14:
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.15:
	ldrb	w9, [x21]
Lloh19:
	adrp	x11, _EAP_AKA_PRIME_PERMANENT_PREFIX@GOTPAGE
Lloh20:
	ldr	x11, [x11, _EAP_AKA_PRIME_PERMANENT_PREFIX@GOTPAGEOFF]
	ldrb	w11, [x11]
	cmp	w9, w11
	b.eq	LBB0_18
LBB0_16:
	cmp	x8, x10
	b.ne	LBB0_20
; %bb.17:
	ldrb	w8, [x21]
Lloh21:
	adrp	x9, _EAP_AKA_PERMANENT_PREFIX@GOTPAGE
Lloh22:
	ldr	x9, [x9, _EAP_AKA_PERMANENT_PREFIX@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_20
LBB0_18:
	ldr	w0, [x23]
	str	x21, [sp]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x19, #24]
	mov	x1, x21
	mov	w2, #4
	bl	_os_strlcpy
	mov	x0, x21
	bl	_os_free
LBB0_19:
	mov	x0, x20
	mov	x1, x19
	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
	b	_eap_aka_fullauth
LBB0_20:
	ldr	w0, [x23]
	str	x21, [sp]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	mov	x0, x21
	bl	_os_free
LBB0_21:
Lloh27:
	adrp	x8, _EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	str	x8, [x19, #16]
Lloh30:
	adrp	x8, _NOTIFICATION@GOTPAGE
Lloh31:
	ldr	x8, [x8, _NOTIFICATION@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_eap_aka_state
LBB0_22:
	ldr	w0, [x23]
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	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
	b	_wpa_printf
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-AKA: Identity"

	.comm	_EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH,8,3 ; @EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH
	.comm	_NOTIFICATION,4,2               ; @NOTIFICATION
	.comm	_EAP_TYPE_AKA_PRIME,8,3         ; @EAP_TYPE_AKA_PRIME
	.comm	_EAP_AKA_PRIME_REAUTH_ID_PREFIX,1,0 ; @EAP_AKA_PRIME_REAUTH_ID_PREFIX
	.comm	_EAP_TYPE_AKA,8,3               ; @EAP_TYPE_AKA
	.comm	_EAP_AKA_REAUTH_ID_PREFIX,1,0   ; @EAP_AKA_REAUTH_ID_PREFIX
	.comm	_EAP_AKA_PRIME_PSEUDONYM_PREFIX,1,0 ; @EAP_AKA_PRIME_PSEUDONYM_PREFIX
	.comm	_EAP_AKA_PSEUDONYM_PREFIX,1,0   ; @EAP_AKA_PSEUDONYM_PREFIX
l_.str.1:                               ; @.str.1
	.asciz	"EAP-AKA: Pseudonym username '%s'"

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

	.comm	_EAP_AKA_PRIME_PERMANENT_PREFIX,1,0 ; @EAP_AKA_PRIME_PERMANENT_PREFIX
	.comm	_EAP_AKA_PERMANENT_PREFIX,1,0   ; @EAP_AKA_PERMANENT_PREFIX
l_.str.3:                               ; @.str.3
	.asciz	"EAP-AKA: Permanent username '%s'"

l_.str.4:                               ; @.str.4
	.asciz	"EAP-AKA: Unrecognized username '%s'"

	.no_dead_strip	_eap_aka_determine_identity
.subsections_via_symbols
