	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_aka_derive_mk              ## -- Begin function eap_aka_derive_mk
	.p2align	4, 0x90
_eap_aka_derive_mk:                     ## @eap_aka_derive_mk
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -80(%rbp)
	movq	%rsi, -112(%rbp)
	movq	%rdx, -72(%rbp)
	movq	_EAP_AKA_IK_LEN@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, -104(%rbp)
	movq	%rcx, -64(%rbp)
	movq	_EAP_AKA_CK_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)
	leaq	-80(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	movl	$3, %edi
	movq	%r8, %rcx
	callq	_sha1_vector
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	(%r12), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_hexdump_key
	movl	(%r13), %edi
	movq	_EAP_AKA_CK_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	callq	_wpa_hexdump_key
	movl	(%r13), %edi
	movq	_EAP_SIM_MK_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	callq	_wpa_hexdump_key
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_AKA_IK_LEN,8,3             ## @EAP_AKA_IK_LEN
	.comm	_EAP_AKA_CK_LEN,8,3             ## @EAP_AKA_CK_LEN
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-AKA: IK"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-AKA: CK"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-AKA: MK"

	.comm	_EAP_SIM_MK_LEN,8,3             ## @EAP_SIM_MK_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_aka_derive_mk              ; -- Begin function eap_aka_derive_mk
	.p2align	2
_eap_aka_derive_mk:                     ; @eap_aka_derive_mk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x4
	mov	x20, x3
	mov	x21, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	stp	x0, x2, [sp, #32]
Lloh3:
	adrp	x22, _EAP_AKA_IK_LEN@GOTPAGE
Lloh4:
	ldr	x22, [x22, _EAP_AKA_IK_LEN@GOTPAGEOFF]
	ldr	x8, [x22]
	stp	x1, x8, [sp, #8]
	str	x3, [sp, #48]
Lloh5:
	adrp	x23, _EAP_AKA_CK_LEN@GOTPAGE
Lloh6:
	ldr	x23, [x23, _EAP_AKA_CK_LEN@GOTPAGEOFF]
	ldr	x8, [x23]
	str	x8, [sp, #24]
	add	x1, sp, #32
	add	x2, sp, #8
	mov	w0, #3
	mov	x3, x4
	bl	_sha1_vector
Lloh7:
	adrp	x24, _MSG_DEBUG@GOTPAGE
Lloh8:
	ldr	x24, [x24, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x24]
	ldr	x3, [x22]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump_key
	ldr	w0, [x24]
	ldr	x3, [x23]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_wpa_hexdump_key
	ldr	w0, [x24]
Lloh13:
	adrp	x8, _EAP_SIM_MK_LEN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EAP_SIM_MK_LEN@GOTPAGEOFF]
Lloh15:
	ldr	x3, [x8]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_wpa_hexdump_key
	ldr	x8, [sp, #56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_AKA_IK_LEN,8,3             ; @EAP_AKA_IK_LEN
	.comm	_EAP_AKA_CK_LEN,8,3             ; @EAP_AKA_CK_LEN
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-AKA: IK"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-AKA: CK"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-AKA: MK"

	.comm	_EAP_SIM_MK_LEN,8,3             ; @EAP_SIM_MK_LEN
.subsections_via_symbols
