	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_aka_check_identity_reauth
_eap_aka_check_identity_reauth:         ## @eap_aka_check_identity_reauth
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rsi), %rax
	movq	_EAP_TYPE_AKA_PRIME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movb	(%rbx), %cl
	movq	_EAP_AKA_PRIME_REAUTH_ID_PREFIX@GOTPCREL(%rip), %rdx
	xorl	%r15d, %r15d
	cmpb	(%rdx), %cl
	jne	LBB0_10
LBB0_2:
	movq	_EAP_TYPE_AKA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movb	(%rbx), %al
	movq	_EAP_AKA_REAUTH_ID_PREFIX@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpb	(%rcx), %al
	jne	LBB0_10
LBB0_4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_eap_sim_db_get_reauth_entry
	movq	%rax, 8(%r14)
	movl	(%r13), %edi
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	36(%r14), %edi
	movq	8(%r14), %rax
	movl	20(%rax), %esi
	movl	$4, %edx
	callq	_os_strlcpy
	movq	(%r14), %rcx
	movq	8(%r14), %rax
	movl	16(%rax), %edx
	movl	%edx, 32(%r14)
	movq	_EAP_TYPE_AKA_PRIME@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.7:
	movl	28(%r14), %edi
	movl	12(%rax), %esi
	movq	_EAP_SIM_K_ENCR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_os_memcpy
	movl	24(%r14), %edi
	movq	8(%r14), %rax
	movl	8(%rax), %esi
	movq	_EAP_AKA_PRIME_K_AUT_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_os_memcpy
	leaq	20(%r14), %rcx
	movq	8(%r14), %rax
	addq	$4, %rax
	movq	_EAP_AKA_PRIME_K_RE_LEN@GOTPCREL(%rip), %rdx
	jmp	LBB0_9
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_10
LBB0_8:
	leaq	16(%r14), %rcx
	movq	_EAP_SIM_MK_LEN@GOTPCREL(%rip), %rdx
LBB0_9:
	movl	(%rcx), %edi
	movl	(%rax), %esi
	movl	(%rdx), %edx
	callq	_os_memcpy
	movq	_REAUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_eap_aka_state
	movl	$1, %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-AKA: Reauth username '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-AKA: Unknown reauth identity - request full auth identity"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-AKA: Using fast re-authentication"

	.comm	_EAP_SIM_K_ENCR_LEN,4,2         ## @EAP_SIM_K_ENCR_LEN
	.comm	_EAP_AKA_PRIME_K_AUT_LEN,4,2    ## @EAP_AKA_PRIME_K_AUT_LEN
	.comm	_EAP_AKA_PRIME_K_RE_LEN,4,2     ## @EAP_AKA_PRIME_K_RE_LEN
	.comm	_EAP_SIM_MK_LEN,4,2             ## @EAP_SIM_MK_LEN
	.comm	_REAUTH,4,2                     ## @REAUTH
	.no_dead_strip	_eap_aka_check_identity_reauth
.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_reauth
_eap_aka_check_identity_reauth:         ; @eap_aka_check_identity_reauth
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x22, _EAP_TYPE_AKA_PRIME@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EAP_TYPE_AKA_PRIME@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldrb	w9, [x20]
Lloh2:
	adrp	x10, _EAP_AKA_PRIME_REAUTH_ID_PREFIX@GOTPAGE
Lloh3:
	ldr	x10, [x10, _EAP_AKA_PRIME_REAUTH_ID_PREFIX@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_8
LBB0_2:
Lloh4:
	adrp	x9, _EAP_TYPE_AKA@GOTPAGE
Lloh5:
	ldr	x9, [x9, _EAP_TYPE_AKA@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldrb	w8, [x20]
Lloh7:
	adrp	x9, _EAP_AKA_REAUTH_ID_PREFIX@GOTPAGE
Lloh8:
	ldr	x9, [x9, _EAP_AKA_REAUTH_ID_PREFIX@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
LBB0_4:
Lloh9:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh10:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
	str	x20, [sp]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x21]
	mov	x1, x20
	bl	_eap_sim_db_get_reauth_entry
	mov	x8, x0
	str	x0, [x19, #8]
	ldr	w0, [x23]
	cbz	x8, LBB0_7
; %bb.5:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x19, #36]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #20]
	mov	w2, #4
	bl	_os_strlcpy
	ldp	x9, x8, [x19]
	ldr	w10, [x8, #16]
	str	w10, [x19, #32]
	ldr	x10, [x22]
	cmp	x9, x10
	b.ne	LBB0_9
; %bb.6:
	ldr	w0, [x19, #28]
	ldr	w1, [x8, #12]
Lloh15:
	adrp	x8, _EAP_SIM_K_ENCR_LEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EAP_SIM_K_ENCR_LEN@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	bl	_os_memcpy
	ldr	w0, [x19, #24]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #8]
Lloh18:
	adrp	x8, _EAP_AKA_PRIME_K_AUT_LEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EAP_AKA_PRIME_K_AUT_LEN@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	bl	_os_memcpy
	add	x9, x19, #20
	ldr	x8, [x19, #8]
	add	x8, x8, #4
Lloh21:
	adrp	x10, _EAP_AKA_PRIME_K_RE_LEN@GOTPAGE
Lloh22:
	ldr	x10, [x10, _EAP_AKA_PRIME_K_RE_LEN@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_8:
	mov	w0, #0
	b	LBB0_11
LBB0_9:
	add	x9, x19, #16
Lloh25:
	adrp	x10, _EAP_SIM_MK_LEN@GOTPAGE
Lloh26:
	ldr	x10, [x10, _EAP_SIM_MK_LEN@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x9]
	ldr	w1, [x8]
	ldr	w2, [x10]
	bl	_os_memcpy
Lloh27:
	adrp	x8, _REAUTH@GOTPAGE
Lloh28:
	ldr	x8, [x8, _REAUTH@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eap_aka_state
	mov	w0, #1
LBB0_11:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.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	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-AKA: Reauth username '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-AKA: Unknown reauth identity - request full auth identity"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-AKA: Using fast re-authentication"

	.comm	_EAP_SIM_K_ENCR_LEN,4,2         ; @EAP_SIM_K_ENCR_LEN
	.comm	_EAP_AKA_PRIME_K_AUT_LEN,4,2    ; @EAP_AKA_PRIME_K_AUT_LEN
	.comm	_EAP_AKA_PRIME_K_RE_LEN,4,2     ; @EAP_AKA_PRIME_K_RE_LEN
	.comm	_EAP_SIM_MK_LEN,4,2             ; @EAP_SIM_MK_LEN
	.comm	_REAUTH,4,2                     ; @REAUTH
	.no_dead_strip	_eap_aka_check_identity_reauth
.subsections_via_symbols
