	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee802_1x_icv_aes_cmac        ## -- Begin function ieee802_1x_icv_aes_cmac
	.p2align	4, 0x90
_ieee802_1x_icv_aes_cmac:               ## @ieee802_1x_icv_aes_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$-1, %ebx
	cmpq	$32, %rsi
	je	LBB0_3
## %bb.1:
	cmpq	$16, %rsi
	jne	LBB0_7
## %bb.2:
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	movq	%r8, %rcx
	callq	_omac1_aes_128
	testl	%eax, %eax
	je	LBB0_5
LBB0_6:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	jmp	LBB0_7
LBB0_3:
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	movq	%r8, %rcx
	callq	_omac1_aes_256
	testl	%eax, %eax
	jne	LBB0_6
LBB0_5:
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MKA: AES-CMAC failed for ICV calculation"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee802_1x_icv_aes_cmac        ; -- Begin function ieee802_1x_icv_aes_cmac
	.p2align	2
_ieee802_1x_icv_aes_cmac:               ; @ieee802_1x_icv_aes_cmac
	.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
	cmp	x1, #32
	b.eq	LBB0_4
; %bb.1:
	cmp	x1, #16
	b.ne	LBB0_6
; %bb.2:
	mov	x1, x2
	mov	x2, x3
	mov	x3, x4
	bl	_omac1_aes_128
	cbnz	w0, LBB0_5
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x1, x2
	mov	x2, x3
	mov	x3, x4
	bl	_omac1_aes_256
	cbz	w0, LBB0_3
LBB0_5:
Lloh0:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
LBB0_6:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MKA: AES-CMAC failed for ICV calculation"

.subsections_via_symbols
