	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_sim_process_start
_eap_sim_process_start:                 ## @eap_sim_process_start
	.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, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	cmpq	$0, (%r13)
	je	LBB0_18
## %bb.1:
	cmpq	$0, 24(%r15)
	je	LBB0_3
## %bb.2:
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.5:
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_37
## %bb.6:
	movq	%rax, %rbx
	movq	(%r14), %rdi
	callq	_os_free
	movq	%rbx, (%r14)
	movq	(%r15), %rdx
	movq	24(%r15), %rsi
	movq	%rbx, %rdi
	callq	_os_memcpy
	movq	(%r15), %rcx
	movq	%rcx, 8(%r14)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rdx
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_hexdump_ascii
	movq	(%r14), %rdi
	movq	8(%r14), %rsi
	callq	_sim_get_username
	testq	%rax, %rax
	je	LBB0_37
## %bb.7:
	movq	%rax, %r12
	movb	(%rax), %al
	movq	_EAP_SIM_REAUTH_ID_PREFIX@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_12
## %bb.8:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	28(%r14), %edi
	movq	%r12, %rsi
	callq	_eap_sim_db_get_reauth_entry
	movq	%rax, 88(%r13)
	movq	%r12, %rdi
	callq	_os_free
	cmpq	$0, 88(%r13)
	movl	(%rbx), %edi
	je	LBB0_9
## %bb.11:
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	8(%r13), %rdi
	movq	88(%r13), %rax
	movq	(%rax), %rsi
	movl	$8, %edx
	callq	_os_strlcpy
	movq	16(%r13), %rdi
	movq	88(%r13), %rax
	movq	16(%rax), %rcx
	movq	%rcx, 96(%r13)
	movq	8(%rax), %rsi
	movq	_EAP_SIM_MK_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	callq	_os_memcpy
	movq	_REAUTH@GOTPCREL(%rip), %rax
	jmp	LBB0_38
LBB0_3:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_12:
	movq	_EAP_SIM_PSEUDONYM_PREFIX@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_15
## %bb.13:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	28(%r14), %edi
	movq	%r12, %rsi
	callq	_eap_sim_db_get_permanent
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_os_free
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.17:
	movq	8(%r13), %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	callq	_os_strlcpy
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	jmp	LBB0_18
LBB0_15:
	movq	_EAP_SIM_PERMANENT_PREFIX@GOTPCREL(%rip), %rcx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	cmpb	(%rcx), %al
	jne	LBB0_36
## %bb.16:
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	8(%r13), %rdi
	movq	%r12, %rsi
	movl	$8, %edx
	callq	_os_strlcpy
	movq	%r12, %rdi
	callq	_os_free
LBB0_18:
	cmpq	$0, 16(%r15)
	je	LBB0_20
## %bb.19:
	movl	8(%r15), %esi
	testl	%esi, %esi
	js	LBB0_20
## %bb.21:
	movq	%r13, %rdi
	callq	_eap_sim_supported_ver
	testl	%eax, %eax
	je	LBB0_22
## %bb.23:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 88(%r13)
	movl	28(%r14), %edi
	movq	_EAP_SIM_MAX_CHAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	80(%r13), %rcx
	movq	8(%r13), %rsi
	movq	64(%r13), %r8
	movq	72(%r13), %r9
	subq	$8, %rsp
	pushq	%r14
	callq	_eap_sim_db_get_gsm_triplets
	addq	$16, %rsp
	movl	%eax, 24(%r13)
	movq	_EAP_SIM_DB_PENDING@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_25
## %bb.24:
	movl	(%rbx), %edi
	leaq	L_.str.12(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_METHOD_PENDING_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	jmp	LBB0_35
LBB0_20:
	movl	(%rbx), %edi
	leaq	L_.str.10(%rip), %rsi
LBB0_4:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_37:
	movq	_EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r13)
	movq	_NOTIFICATION@GOTPCREL(%rip), %rax
LBB0_38:
	movl	(%rax), %esi
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_sim_state                  ## TAILCALL
LBB0_22:
	movl	(%rbx), %edi
	movl	8(%r15), %edx
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_37
LBB0_25:
	cmpl	$1, %eax
	jg	LBB0_27
## %bb.26:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_4
LBB0_27:
	movq	%rbx, %r12
	movq	8(%r13), %rsi
	movb	(%rsi), %al
	movq	_EAP_SIM_PERMANENT_PREFIX@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_29
## %bb.28:
	movq	16(%r14), %rdi
	incq	%rsi
	movl	$8, %edx
	callq	_os_strlcpy
LBB0_29:
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_33
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	cmpb	$0, -1(%rax,%rbx)
	jne	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	decq	%rbx
	movl	(%r12), %edi
	leaq	L_.str.14(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	testq	%rbx, %rbx
	jne	LBB0_31
LBB0_33:
	xorl	%ebx, %ebx
LBB0_34:
	movl	(%r12), %edi
	movq	(%r14), %rdx
	leaq	L_.str.15(%rip), %rsi
	movq	%rbx, %rcx
	callq	_wpa_hexdump_ascii
	movq	32(%r13), %rdi
	movq	16(%r15), %rsi
	movq	_EAP_SIM_NONCE_MT_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	callq	_os_memcpy
	movq	_EAP_SIM_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-42(%rbp), %r12
	movq	%r12, %rdi
	callq	_WPA_PUT_BE16
	movq	(%r14), %rdi
	movq	16(%r15), %rdx
	movl	8(%r15), %ecx
	movl	24(%r13), %eax
	subq	$8, %rsp
	movq	%rbx, %rsi
	movq	%r12, %r8
	movl	$2, %r9d
	pushq	16(%r13)
	pushq	64(%r13)
	pushq	%rax
	callq	_eap_sim_derive_mk
	addq	$32, %rsp
	movq	16(%r13), %rdi
	movl	56(%r13), %esi
	movl	52(%r13), %edx
	movl	48(%r13), %ecx
	movl	44(%r13), %r8d
	callq	_eap_sim_derive_keys
	movq	_CHALLENGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_eap_sim_state
LBB0_35:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_10
LBB0_36:
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r12, %rdi
	callq	_os_free
	jmp	LBB0_37
LBB0_14:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
LBB0_10:
	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-SIM: Receive start response"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-SIM: Peer did not provide any identity"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-SIM: Identity"

	.comm	_EAP_SIM_REAUTH_ID_PREFIX,1,0   ## @EAP_SIM_REAUTH_ID_PREFIX
L_.str.3:                               ## @.str.3
	.asciz	"EAP-SIM: Reauth username '%s'"

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

L_.str.5:                               ## @.str.5
	.asciz	"EAP-SIM: Using fast re-authentication"

	.comm	_EAP_SIM_MK_LEN,8,3             ## @EAP_SIM_MK_LEN
	.comm	_REAUTH,4,2                     ## @REAUTH
	.comm	_EAP_SIM_PSEUDONYM_PREFIX,1,0   ## @EAP_SIM_PSEUDONYM_PREFIX
L_.str.6:                               ## @.str.6
	.asciz	"EAP-SIM: Pseudonym username '%s'"

L_.str.7:                               ## @.str.7
	.asciz	"EAP-SIM: Unknown pseudonym identity - request permanent identity"

	.comm	_EAP_SIM_PERMANENT_PREFIX,1,0   ## @EAP_SIM_PERMANENT_PREFIX
L_.str.8:                               ## @.str.8
	.asciz	"EAP-SIM: Permanent username '%s'"

L_.str.9:                               ## @.str.9
	.asciz	"EAP-SIM: Unrecognized username '%s'"

L_.str.10:                              ## @.str.10
	.asciz	"EAP-SIM: Start/Response missing required attributes"

L_.str.11:                              ## @.str.11
	.asciz	"EAP-SIM: Peer selected unsupported version %d"

	.comm	_EAP_SIM_MAX_CHAL,4,2           ## @EAP_SIM_MAX_CHAL
	.comm	_EAP_SIM_DB_PENDING,4,2         ## @EAP_SIM_DB_PENDING
L_.str.12:                              ## @.str.12
	.asciz	"EAP-SIM: GSM authentication triplets not yet available - pending request"

	.comm	_METHOD_PENDING_WAIT,4,2        ## @METHOD_PENDING_WAIT
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.13:                              ## @.str.13
	.asciz	"EAP-SIM: Failed to get GSM authentication triplets for the peer"

L_.str.14:                              ## @.str.14
	.asciz	"EAP-SIM: Workaround - drop last null character from identity"

L_.str.15:                              ## @.str.15
	.asciz	"EAP-SIM: Identity for MK derivation"

	.comm	_EAP_SIM_NONCE_MT_LEN,8,3       ## @EAP_SIM_NONCE_MT_LEN
	.comm	_EAP_SIM_VERSION,4,2            ## @EAP_SIM_VERSION
	.comm	_CHALLENGE,4,2                  ## @CHALLENGE
	.comm	_EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH,4,2 ## @EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH
	.comm	_NOTIFICATION,4,2               ## @NOTIFICATION
	.no_dead_strip	_eap_sim_process_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_sim_process_start
_eap_sim_process_start:                 ; @eap_sim_process_start
	.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	x21, x3
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x19]
	cbz	x8, LBB0_14
; %bb.1:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_8
; %bb.2:
	ldr	x0, [x21]
	cbz	x0, LBB0_8
; %bb.3:
	bl	_os_malloc
	cbz	x0, LBB0_21
; %bb.4:
	mov	x22, x0
	ldr	x0, [x20]
	bl	_os_free
	str	x22, [x20]
	ldr	x1, [x21, #24]
	ldr	x2, [x21]
	mov	x0, x22
	bl	_os_memcpy
	ldr	x3, [x21]
	str	x3, [x20, #8]
	ldr	w0, [x24]
	ldr	x2, [x20]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_hexdump_ascii
	ldp	x0, x1, [x20]
	bl	_sim_get_username
	cbz	x0, LBB0_21
; %bb.5:
	mov	x22, x0
	ldrb	w8, [x0]
Lloh6:
	adrp	x9, _EAP_SIM_REAUTH_ID_PREFIX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EAP_SIM_REAUTH_ID_PREFIX@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.6:
	ldr	w0, [x24]
	str	x22, [sp]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x20, #28]
	mov	x1, x22
	bl	_eap_sim_db_get_reauth_entry
	str	x0, [x19, #88]
	mov	x0, x22
	bl	_os_free
	ldr	x8, [x19, #88]
	ldr	w0, [x24]
	cbz	x8, LBB0_34
; %bb.7:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
	ldr	x0, [x19, #8]
	ldr	x8, [x19, #88]
	ldr	x1, [x8]
	mov	w2, #8
	bl	_os_strlcpy
	ldr	x8, [x19, #88]
	ldp	x1, x9, [x8, #8]
	str	x9, [x19, #96]
	ldr	x0, [x19, #16]
Lloh12:
	adrp	x8, _EAP_SIM_MK_LEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EAP_SIM_MK_LEN@GOTPAGEOFF]
Lloh14:
	ldr	x2, [x8]
	bl	_os_memcpy
Lloh15:
	adrp	x8, _REAUTH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REAUTH@GOTPAGEOFF]
	b	LBB0_22
LBB0_8:
	ldr	w0, [x24]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_20
LBB0_9:
Lloh19:
	adrp	x9, _EAP_SIM_PSEUDONYM_PREFIX@GOTPAGE
Lloh20:
	ldr	x9, [x9, _EAP_SIM_PSEUDONYM_PREFIX@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_12
; %bb.10:
	ldr	w0, [x24]
	str	x22, [sp]
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x20, #28]
	mov	x1, x22
	bl	_eap_sim_db_get_permanent
	mov	x23, x0
	mov	x0, x22
	bl	_os_free
	cbz	x23, LBB0_36
; %bb.11:
	ldr	x0, [x19, #8]
	mov	x1, x23
	mov	w2, #8
	bl	_os_strlcpy
	b	LBB0_14
LBB0_12:
Lloh23:
	adrp	x9, _EAP_SIM_PERMANENT_PREFIX@GOTPAGE
Lloh24:
	ldr	x9, [x9, _EAP_SIM_PERMANENT_PREFIX@GOTPAGEOFF]
	ldrb	w9, [x9]
	ldr	w0, [x24]
	cmp	w8, w9
	b.ne	LBB0_35
; %bb.13:
	str	x22, [sp]
Lloh25:
	adrp	x1, l_.str.8@PAGE
Lloh26:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_wpa_printf
	ldr	x0, [x19, #8]
	mov	x1, x22
	mov	w2, #8
	bl	_os_strlcpy
	mov	x0, x22
	bl	_os_free
LBB0_14:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_19
; %bb.15:
	ldr	w1, [x21, #8]
	tbnz	w1, #31, LBB0_19
; %bb.16:
	mov	x0, x19
	bl	_eap_sim_supported_ver
	cbz	w0, LBB0_23
; %bb.17:
	stp	xzr, xzr, [x19, #88]
	ldr	w0, [x20, #28]
	ldr	x1, [x19, #8]
Lloh27:
	adrp	x8, _EAP_SIM_MAX_CHAL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EAP_SIM_MAX_CHAL@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	ldp	x5, x3, [x19, #72]
	ldr	x4, [x19, #64]
	mov	x6, x20
	bl	_eap_sim_db_get_gsm_triplets
	str	w0, [x19, #24]
Lloh30:
	adrp	x8, _EAP_SIM_DB_PENDING@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EAP_SIM_DB_PENDING@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_24
; %bb.18:
	ldr	w0, [x24]
Lloh33:
	adrp	x1, l_.str.12@PAGE
Lloh34:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_wpa_printf
Lloh35:
	adrp	x8, _METHOD_PENDING_WAIT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _METHOD_PENDING_WAIT@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	b	LBB0_33
LBB0_19:
	ldr	w0, [x24]
Lloh38:
	adrp	x1, l_.str.10@PAGE
Lloh39:
	add	x1, x1, l_.str.10@PAGEOFF
LBB0_20:
	bl	_wpa_printf
LBB0_21:
Lloh40:
	adrp	x8, _EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	str	w8, [x19, #40]
Lloh43:
	adrp	x8, _NOTIFICATION@GOTPAGE
Lloh44:
	ldr	x8, [x8, _NOTIFICATION@GOTPAGEOFF]
LBB0_22:
	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_sim_state
LBB0_23:
	ldr	w0, [x24]
	ldr	w8, [x21, #8]
	str	x8, [sp]
Lloh45:
	adrp	x1, l_.str.11@PAGE
Lloh46:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_20
LBB0_24:
	cmp	w0, #1
	b.gt	LBB0_26
; %bb.25:
Lloh47:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh48:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x1, l_.str.13@PAGE
Lloh51:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_20
LBB0_26:
	ldr	x8, [x19, #8]
	ldrb	w9, [x8]
Lloh52:
	adrp	x10, _EAP_SIM_PERMANENT_PREFIX@GOTPAGE
Lloh53:
	ldr	x10, [x10, _EAP_SIM_PERMANENT_PREFIX@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_28
; %bb.27:
	ldr	x0, [x20, #16]
	add	x1, x8, #1
	mov	w2, #8
	bl	_os_strlcpy
LBB0_28:
	ldr	x22, [x20, #8]
	cbz	x22, LBB0_32
; %bb.29:
Lloh54:
	adrp	x23, l_.str.14@PAGE
Lloh55:
	add	x23, x23, l_.str.14@PAGEOFF
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x8, x8, x22
	ldurb	w8, [x8, #-1]
	cbnz	w8, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	sub	x22, x22, #1
	ldr	w0, [x24]
	mov	x1, x23
	bl	_wpa_printf
	cbnz	x22, LBB0_30
LBB0_32:
	ldr	w0, [x24]
	ldr	x2, [x20]
Lloh56:
	adrp	x1, l_.str.15@PAGE
Lloh57:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x3, x22
	bl	_wpa_hexdump_ascii
	ldr	x0, [x19, #32]
	ldr	x1, [x21, #16]
Lloh58:
	adrp	x8, _EAP_SIM_NONCE_MT_LEN@GOTPAGE
Lloh59:
	ldr	x8, [x8, _EAP_SIM_NONCE_MT_LEN@GOTPAGEOFF]
Lloh60:
	ldr	x2, [x8]
	bl	_os_memcpy
Lloh61:
	adrp	x8, _EAP_SIM_VERSION@GOTPAGE
Lloh62:
	ldr	x8, [x8, _EAP_SIM_VERSION@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	add	x0, sp, #14
	bl	_WPA_PUT_BE16
	ldr	x0, [x20]
	ldr	x2, [x21, #16]
	ldr	w3, [x21, #8]
	ldr	w6, [x19, #24]
	ldr	x7, [x19, #64]
	ldr	x8, [x19, #16]
	str	x8, [sp]
	add	x4, sp, #14
	mov	x1, x22
	mov	w5, #2
	bl	_eap_sim_derive_mk
	ldr	x0, [x19, #16]
	ldp	w2, w1, [x19, #52]
	ldp	w4, w3, [x19, #44]
	bl	_eap_sim_derive_keys
Lloh64:
	adrp	x8, _CHALLENGE@GOTPAGE
Lloh65:
	ldr	x8, [x8, _CHALLENGE@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eap_sim_state
LBB0_33:
	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
LBB0_34:
Lloh67:
	adrp	x1, l_.str.4@PAGE
Lloh68:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_37
LBB0_35:
	str	x22, [sp]
Lloh69:
	adrp	x1, l_.str.9@PAGE
Lloh70:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_wpa_printf
	mov	x0, x22
	bl	_os_free
	b	LBB0_21
LBB0_36:
	ldr	w0, [x24]
Lloh71:
	adrp	x1, l_.str.7@PAGE
Lloh72:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_37:
	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 AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-SIM: Receive start response"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-SIM: Peer did not provide any identity"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-SIM: Identity"

	.comm	_EAP_SIM_REAUTH_ID_PREFIX,1,0   ; @EAP_SIM_REAUTH_ID_PREFIX
l_.str.3:                               ; @.str.3
	.asciz	"EAP-SIM: Reauth username '%s'"

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

l_.str.5:                               ; @.str.5
	.asciz	"EAP-SIM: Using fast re-authentication"

	.comm	_EAP_SIM_MK_LEN,8,3             ; @EAP_SIM_MK_LEN
	.comm	_REAUTH,4,2                     ; @REAUTH
	.comm	_EAP_SIM_PSEUDONYM_PREFIX,1,0   ; @EAP_SIM_PSEUDONYM_PREFIX
l_.str.6:                               ; @.str.6
	.asciz	"EAP-SIM: Pseudonym username '%s'"

l_.str.7:                               ; @.str.7
	.asciz	"EAP-SIM: Unknown pseudonym identity - request permanent identity"

	.comm	_EAP_SIM_PERMANENT_PREFIX,1,0   ; @EAP_SIM_PERMANENT_PREFIX
l_.str.8:                               ; @.str.8
	.asciz	"EAP-SIM: Permanent username '%s'"

l_.str.9:                               ; @.str.9
	.asciz	"EAP-SIM: Unrecognized username '%s'"

l_.str.10:                              ; @.str.10
	.asciz	"EAP-SIM: Start/Response missing required attributes"

l_.str.11:                              ; @.str.11
	.asciz	"EAP-SIM: Peer selected unsupported version %d"

	.comm	_EAP_SIM_MAX_CHAL,4,2           ; @EAP_SIM_MAX_CHAL
	.comm	_EAP_SIM_DB_PENDING,4,2         ; @EAP_SIM_DB_PENDING
l_.str.12:                              ; @.str.12
	.asciz	"EAP-SIM: GSM authentication triplets not yet available - pending request"

	.comm	_METHOD_PENDING_WAIT,4,2        ; @METHOD_PENDING_WAIT
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.13:                              ; @.str.13
	.asciz	"EAP-SIM: Failed to get GSM authentication triplets for the peer"

l_.str.14:                              ; @.str.14
	.asciz	"EAP-SIM: Workaround - drop last null character from identity"

l_.str.15:                              ; @.str.15
	.asciz	"EAP-SIM: Identity for MK derivation"

	.comm	_EAP_SIM_NONCE_MT_LEN,8,3       ; @EAP_SIM_NONCE_MT_LEN
	.comm	_EAP_SIM_VERSION,4,2            ; @EAP_SIM_VERSION
	.comm	_CHALLENGE,4,2                  ; @CHALLENGE
	.comm	_EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH,4,2 ; @EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH
	.comm	_NOTIFICATION,4,2               ; @NOTIFICATION
	.no_dead_strip	_eap_sim_process_start
.subsections_via_symbols
