	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_fast_get_cmk
_eap_fast_get_cmk:                      ## @eap_fast_get_cmk
	.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	$392, %rsp                      ## imm = 0x188
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rsi), %rdx
	incq	%rdx
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	leaq	-176(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$128, %ecx
	callq	_eap_fast_get_phase2_key
	movl	$-1, %r15d
	testq	%rax, %rax
	js	LBB0_3
## %bb.1:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	-176(%rbp), %r12
	movq	%r12, %rdx
	movl	$128, %ecx
	callq	_wpa_hexdump_key
	movq	(%rbx), %rdi
	movq	_EAP_FAST_SIMCK_LEN@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	$240, (%rsp)
	leaq	L_.str.2(%rip), %rdx
	leaq	-416(%rbp), %r9
	movq	%r12, %rcx
	movl	$128, %r8d
	callq	_sha1_t_prf
	testq	%rax, %rax
	js	LBB0_3
## %bb.2:
	incq	8(%rbx)
	movq	(%rbx), %rdi
	movl	(%r13), %edx
	leaq	-416(%rbp), %rsi
	callq	_os_memcpy
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	(%rbx), %rdx
	movl	(%r13), %ecx
	leaq	L_.str.3(%rip), %rsi
	callq	_wpa_hexdump_key
	movslq	(%r13), %rax
	leaq	-416(,%rax,4), %rsi
	addq	%rbp, %rsi
	movq	_EAP_FAST_CMK_LEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_os_memcpy
	movl	(%r15), %edi
	movl	(%rbx), %ecx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdx
	callq	_wpa_hexdump_key
	xorl	%r15d, %r15d
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%r15d, %eax
	addq	$392, %rsp                      ## imm = 0x188
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-FAST: Determining CMK[%d] for Compound MIC calculation"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.1:                               ## @.str.1
	.asciz	"EAP-FAST: ISK[j]"

	.comm	_EAP_FAST_SIMCK_LEN,4,2         ## @EAP_FAST_SIMCK_LEN
L_.str.2:                               ## @.str.2
	.asciz	"Inner Methods Compound Keys"

L_.str.3:                               ## @.str.3
	.asciz	"EAP-FAST: S-IMCK[j]"

	.comm	_EAP_FAST_CMK_LEN,4,2           ## @EAP_FAST_CMK_LEN
L_.str.4:                               ## @.str.4
	.asciz	"EAP-FAST: CMK[j]"

	.no_dead_strip	_eap_fast_get_cmk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_fast_get_cmk
_eap_fast_get_cmk:                      ; @eap_fast_get_cmk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #448
	.cfi_def_cfa_offset 448
	stp	x24, x23, [sp, #384]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #400]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #416]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #432]            ; 16-byte Folded Spill
	add	x29, sp, #432
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x8, [x1, #8]
	add	x2, x8, #1
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	sub	x2, x29, #184
	mov	x0, x21
	mov	x1, x20
	mov	w3, #128
	bl	_eap_fast_get_phase2_key
	tbnz	x0, #63, LBB0_3
; %bb.1:
Lloh8:
	adrp	x21, _MSG_MSGDUMP@GOTPAGE
Lloh9:
	ldr	x21, [x21, _MSG_MSGDUMP@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	sub	x2, x29, #184
	mov	w3, #128
	bl	_wpa_hexdump_key
	ldr	x0, [x20]
Lloh12:
	adrp	x22, _EAP_FAST_SIMCK_LEN@GOTPAGE
Lloh13:
	ldr	x22, [x22, _EAP_FAST_SIMCK_LEN@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x23, sp, #8
	sub	x3, x29, #184
	add	x5, sp, #8
	mov	w4, #128
	mov	w6, #240
	bl	_sha1_t_prf
	tbnz	x0, #63, LBB0_3
; %bb.2:
	ldp	x0, x8, [x20]
	add	x8, x8, #1
	str	x8, [x20, #8]
	ldr	w2, [x22]
	add	x1, sp, #8
	bl	_os_memcpy
	ldr	w0, [x21]
	ldr	x2, [x20]
	ldr	w3, [x22]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_hexdump_key
	ldrsw	x8, [x22]
	add	x1, x23, x8, lsl #2
Lloh18:
	adrp	x20, _EAP_FAST_CMK_LEN@GOTPAGE
Lloh19:
	ldr	x20, [x20, _EAP_FAST_CMK_LEN@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_os_memcpy
	ldr	w0, [x21]
	ldr	w3, [x20]
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x19
	bl	_wpa_hexdump_key
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldur	x8, [x29, #-56]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #432]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #416]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #400]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #384]            ; 16-byte Folded Reload
	add	sp, sp, #448
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-FAST: Determining CMK[%d] for Compound MIC calculation"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.1:                               ; @.str.1
	.asciz	"EAP-FAST: ISK[j]"

	.comm	_EAP_FAST_SIMCK_LEN,4,2         ; @EAP_FAST_SIMCK_LEN
l_.str.2:                               ; @.str.2
	.asciz	"Inner Methods Compound Keys"

l_.str.3:                               ; @.str.3
	.asciz	"EAP-FAST: S-IMCK[j]"

	.comm	_EAP_FAST_CMK_LEN,4,2           ; @EAP_FAST_CMK_LEN
l_.str.4:                               ; @.str.4
	.asciz	"EAP-FAST: CMK[j]"

	.no_dead_strip	_eap_fast_get_cmk
.subsections_via_symbols
