	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_aka_response_identity
_eap_aka_response_identity:             ## @eap_aka_response_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	$0, -48(%rbp)
	movl	$0, (%rsi)
	movq	_ANY_ID@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_3
## %bb.1:
	movq	40(%r12), %r15
	testq	%r15, %r15
	je	LBB0_4
## %bb.2:
	movq	8(%r12), %rax
	movq	%rax, -48(%rbp)
	movl	$1, (%r12)
	jmp	LBB0_16
LBB0_3:
	movq	_FULLAUTH_ID@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_6
LBB0_4:
	movq	32(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	movq	16(%r12), %rsi
	callq	_eap_sim_anonymous_username
	testq	%rax, %rax
	je	LBB0_14
LBB0_6:
	movq	_NO_ID_REQ@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	je	LBB0_7
## %bb.8:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_eap_get_config_identity
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	movq	%rax, %r15
	movq	_CLEAR_PSEUDONYM@GOTPCREL(%rip), %rcx
	movq	_CLEAR_REAUTH_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	orl	(%rcx), %ebx
	movq	32(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.10:
	movq	16(%r12), %rsi
	callq	_eap_sim_anonymous_username
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_CLEAR_PSEUDONYM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
LBB0_12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%ebx, %edx
	jmp	LBB0_15
LBB0_7:
	xorl	%r15d, %r15d
	jmp	LBB0_16
LBB0_14:
	movq	16(%r12), %rax
	movq	32(%r12), %r15
	movq	%rax, -48(%rbp)
	movq	_CLEAR_REAUTH_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
LBB0_15:
	callq	_eap_aka_clear_identities
LBB0_16:
	movq	_NO_ID_REQ@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	je	LBB0_18
## %bb.17:
	movq	_CLEAR_EAP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_eap_aka_clear_identities
LBB0_18:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_wpa_printf
	movq	_EAP_CODE_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%r12), %edx
	movq	_EAP_AKA_SUBTYPE_IDENTITY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %esi
	callq	_eap_sim_msg_init
	movq	%rax, %rbx
	testq	%r15, %r15
	je	LBB0_20
## %bb.19:
	movl	(%r13), %edi
	movq	-48(%rbp), %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	callq	_wpa_hexdump_ascii
	movq	_EAP_SIM_AT_IDENTITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rcx
	movq	%rdx, %r8
	callq	_eap_sim_msg_add
LBB0_20:
	movl	24(%r12), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_eap_sim_msg_finish
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ANY_ID,4,2                     ## @ANY_ID
	.comm	_FULLAUTH_ID,4,2                ## @FULLAUTH_ID
	.comm	_CLEAR_REAUTH_ID,4,2            ## @CLEAR_REAUTH_ID
	.comm	_NO_ID_REQ,4,2                  ## @NO_ID_REQ
	.comm	_CLEAR_PSEUDONYM,4,2            ## @CLEAR_PSEUDONYM
	.comm	_CLEAR_EAP_ID,4,2               ## @CLEAR_EAP_ID
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Generating EAP-AKA Identity (id=%d)"

	.comm	_EAP_CODE_RESPONSE,4,2          ## @EAP_CODE_RESPONSE
	.comm	_EAP_AKA_SUBTYPE_IDENTITY,4,2   ## @EAP_AKA_SUBTYPE_IDENTITY
L_.str.1:                               ## @.str.1
	.asciz	"   AT_IDENTITY"

	.comm	_EAP_SIM_AT_IDENTITY,4,2        ## @EAP_SIM_AT_IDENTITY
	.no_dead_strip	_eap_aka_response_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_response_identity
_eap_aka_response_identity:             ; @eap_aka_response_identity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	str	xzr, [sp, #8]
	str	wzr, [x1]
Lloh0:
	adrp	x8, _ANY_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ANY_ID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x25, _NO_ID_REQ@GOTPAGE
Lloh4:
	ldr	x25, [x25, _NO_ID_REQ@GOTPAGEOFF]
	cmp	w8, w3
	b.ne	LBB0_3
; %bb.1:
	ldr	x22, [x19, #40]
	cbz	x22, LBB0_4
; %bb.2:
	ldr	x8, [x19, #8]
	str	x8, [sp, #8]
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_15
LBB0_3:
Lloh5:
	adrp	x8, _FULLAUTH_ID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FULLAUTH_ID@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_6
LBB0_4:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x1, [x19, #16]
	bl	_eap_sim_anonymous_username
	cbz	x0, LBB0_13
LBB0_6:
	ldr	w8, [x25]
	cmp	w8, w23
	b.ne	LBB0_8
; %bb.7:
	mov	x22, #0
	b	LBB0_15
LBB0_8:
	add	x1, sp, #8
	mov	x0, x21
	bl	_eap_get_config_identity
	mov	x22, x0
	cbz	x0, LBB0_15
; %bb.9:
Lloh8:
	adrp	x26, _CLEAR_PSEUDONYM@GOTPAGE
Lloh9:
	ldr	x26, [x26, _CLEAR_PSEUDONYM@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh10:
	adrp	x9, _CLEAR_REAUTH_ID@GOTPAGE
Lloh11:
	ldr	x9, [x9, _CLEAR_REAUTH_ID@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w24, w9, w8
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_12
; %bb.10:
	ldr	x1, [x19, #16]
	bl	_eap_sim_anonymous_username
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w8, [x26]
	bic	w24, w24, w8
LBB0_12:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x24
	b	LBB0_14
LBB0_13:
	ldr	x22, [x19, #32]
	ldr	x8, [x19, #16]
	str	x8, [sp, #8]
Lloh13:
	adrp	x8, _CLEAR_REAUTH_ID@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CLEAR_REAUTH_ID@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x19
LBB0_14:
	bl	_eap_aka_clear_identities
LBB0_15:
	ldr	w8, [x25]
	cmp	w8, w23
	b.eq	LBB0_17
; %bb.16:
Lloh16:
	adrp	x8, _CLEAR_EAP_ID@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CLEAR_EAP_ID@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x19
	bl	_eap_aka_clear_identities
LBB0_17:
Lloh19:
	adrp	x21, _MSG_DEBUG@GOTPAGE
Lloh20:
	ldr	x21, [x21, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_wpa_printf
Lloh23:
	adrp	x8, _EAP_CODE_RESPONSE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EAP_CODE_RESPONSE@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldr	w2, [x19, #24]
Lloh26:
	adrp	x8, _EAP_AKA_SUBTYPE_IDENTITY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EAP_AKA_SUBTYPE_IDENTITY@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
	mov	x1, x20
	bl	_eap_sim_msg_init
	mov	x20, x0
	cbz	x22, LBB0_19
; %bb.18:
	ldr	w0, [x21]
	ldr	x3, [sp, #8]
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x22
	bl	_wpa_hexdump_ascii
Lloh31:
	adrp	x8, _EAP_SIM_AT_IDENTITY@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EAP_SIM_AT_IDENTITY@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	ldr	x2, [sp, #8]
	mov	x0, x20
	mov	x3, x22
	mov	x4, x2
	bl	_eap_sim_msg_add
LBB0_19:
	ldr	w1, [x19, #24]
	mov	x0, x20
	mov	x2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_eap_sim_msg_finish
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_ANY_ID,4,2                     ; @ANY_ID
	.comm	_FULLAUTH_ID,4,2                ; @FULLAUTH_ID
	.comm	_CLEAR_REAUTH_ID,4,2            ; @CLEAR_REAUTH_ID
	.comm	_NO_ID_REQ,4,2                  ; @NO_ID_REQ
	.comm	_CLEAR_PSEUDONYM,4,2            ; @CLEAR_PSEUDONYM
	.comm	_CLEAR_EAP_ID,4,2               ; @CLEAR_EAP_ID
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Generating EAP-AKA Identity (id=%d)"

	.comm	_EAP_CODE_RESPONSE,4,2          ; @EAP_CODE_RESPONSE
	.comm	_EAP_AKA_SUBTYPE_IDENTITY,4,2   ; @EAP_AKA_SUBTYPE_IDENTITY
l_.str.1:                               ; @.str.1
	.asciz	"   AT_IDENTITY"

	.comm	_EAP_SIM_AT_IDENTITY,4,2        ; @EAP_SIM_AT_IDENTITY
	.no_dead_strip	_eap_aka_response_identity
.subsections_via_symbols
