	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_gpsk_derive_keys_aes
_eap_gpsk_derive_keys_aes:              ## @eap_gpsk_derive_keys_aes
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	24(%rbp), %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EAP_MSK_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EAP_EMSK_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rcx), %rdx
	leaq	(%rax,%rcx), %r15
	addq	$32, %r15
	leaq	128(,%rdx,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rsi
	movq	$16, (%rbx)
	movq	40(%rbp), %rax
	movq	$16, (%rax)
	movq	_EAP_GPSK_CIPHER_AES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$2, %r15d
	subq	$8, %rsp
	movl	%r15d, %edx
	movq	%r14, %rcx
	movq	%r12, %r8
	movq	%r13, %r9
	pushq	$16
	pushq	32(%rbp)
	pushq	(%rbx)
	pushq	16(%rbp)
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	_eap_gpsk_derive_keys_helper
	addq	$64, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	leaq	-40(%rbp), %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_MSK_LEN,8,3                ## @EAP_MSK_LEN
	.comm	_EAP_EMSK_LEN,8,3               ## @EAP_EMSK_LEN
	.comm	_EAP_GPSK_CIPHER_AES,4,2        ## @EAP_GPSK_CIPHER_AES
	.comm	_EAP_GPSK_PK_LEN_AES,8,3        ## @EAP_GPSK_PK_LEN_AES
	.comm	_EAP_GPSK_SK_LEN_AES,8,3        ## @EAP_GPSK_SK_LEN_AES
	.no_dead_strip	_eap_gpsk_derive_keys_aes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_gpsk_derive_keys_aes
_eap_gpsk_derive_keys_aes:              ; @eap_gpsk_derive_keys_aes
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	sp, sp, #16
	mov	x8, x4
	mov	x12, x3
	mov	x13, x2
	mov	x4, x1
	mov	x3, x0
	ldp	x14, x15, [x29, #16]
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-8]
Lloh3:
	adrp	x9, _EAP_MSK_LEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EAP_MSK_LEN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _EAP_EMSK_LEN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _EAP_EMSK_LEN@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	add	x9, x9, x10
	add	x17, x9, #32
	lsl	x9, x17, #2
	add	x10, x9, #15
	and	x0, x10, #0xfffffffffffffff0
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x1, x9, x0
	mov	sp, x1
	mov	w9, #16
	str	x9, [x7]
	str	x9, [x15]
Lloh11:
	adrp	x10, _EAP_GPSK_CIPHER_AES@GOTPAGE
Lloh12:
	ldr	x10, [x10, _EAP_GPSK_CIPHER_AES@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x10]
	lsl	w2, w17, #2
	ldr	x10, [x7]
	sub	sp, sp, #48
	stp	x14, x9, [sp, #24]
	stp	x6, x10, [sp, #8]
	str	x5, [sp]
	mov	x5, x13
	mov	x6, x12
	mov	x7, x8
	bl	_eap_gpsk_derive_keys_helper
	add	sp, sp, #48
	ldur	x8, [x29, #-8]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	sp, x29
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_MSK_LEN,8,3                ; @EAP_MSK_LEN
	.comm	_EAP_EMSK_LEN,8,3               ; @EAP_EMSK_LEN
	.comm	_EAP_GPSK_CIPHER_AES,4,2        ; @EAP_GPSK_CIPHER_AES
	.comm	_EAP_GPSK_PK_LEN_AES,8,3        ; @EAP_GPSK_PK_LEN_AES
	.comm	_EAP_GPSK_SK_LEN_AES,8,3        ; @EAP_GPSK_SK_LEN_AES
	.no_dead_strip	_eap_gpsk_derive_keys_aes
.subsections_via_symbols
