	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_gpsk_gkdf_cmac
_eap_gpsk_gkdf_cmac:                    ## @eap_gpsk_gkdf_cmac
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -168(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-56(%rbp), %rax
	movq	%rax, -144(%rbp)
	movq	$8, -160(%rbp)
	movq	%rsi, -136(%rbp)
	movq	%rdx, -152(%rbp)
	leaq	63(%r8), %r14
	xorl	%eax, %eax
	cmpq	$64, %r14
	jb	LBB0_6
## %bb.1:
	movq	%r8, %r13
	movq	%rcx, %r15
	shrq	$6, %r14
	negq	%r14
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_WPA_PUT_BE16
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	movl	$2, %esi
	leaq	-144(%rbp), %rdx
	leaq	-160(%rbp), %rcx
	leaq	-128(%rbp), %r8
	callq	_omac1_aes_128_vector
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$64, %r13
	movl	$64, %r12d
	cmovbq	%r13, %r12
	movq	%r15, %rdi
	leaq	-128(%rbp), %rsi
	movq	%r12, %rdx
	callq	_os_memcpy
	leaq	(%r15,%r12,4), %r15
	subq	%r12, %r13
	leaq	(%r14,%rbx), %rax
	incq	%rax
	incq	%rbx
	cmpq	$1, %rax
	jne	LBB0_2
## %bb.5:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movl	$-1, %eax
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_eap_gpsk_gkdf_cmac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_gpsk_gkdf_cmac
_eap_gpsk_gkdf_cmac:                    ; @eap_gpsk_gkdf_cmac
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	sub	x8, x29, #80
	mov	w9, #8
	stp	x8, x1, [sp, #16]
	stp	x9, x2, [sp]
	add	x8, x4, #63
	cmp	x8, #64
	b.lo	LBB0_4
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x0
	mov	x22, #0
	lsr	x24, x8, #6
	mov	w25, #64
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x22, x22, #1
	sub	x0, x29, #80
	mov	x1, x22
	bl	_WPA_PUT_BE16
	add	x2, sp, #16
	mov	x3, sp
	add	x4, sp, #32
	mov	x0, x21
	mov	w1, #2
	bl	_omac1_aes_128_vector
	cbnz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x19, #64
	csel	x23, x19, x25, lo
	add	x1, sp, #32
	mov	x0, x20
	mov	x2, x23
	bl	_os_memcpy
	add	x20, x20, x23, lsl #2
	sub	x19, x19, x23
	cmp	x24, x22
	b.ne	LBB0_2
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldur	x8, [x29, #-72]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_eap_gpsk_gkdf_cmac
.subsections_via_symbols
