	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_crypto_aes_cmac_decrypt ## -- Begin function ieee80211_crypto_aes_cmac_decrypt
	.p2align	4, 0x90
_ieee80211_crypto_aes_cmac_decrypt:     ## @ieee80211_crypto_aes_cmac_decrypt
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %r15
	movq	%r15, %rdi
	callq	_IEEE80211_SKB_RXCB
	movq	%rax, %r14
	movq	(%rbx), %rbx
	movslq	(%r15), %rax
	movl	(%rax), %edi
	callq	_ieee80211_is_mgmt
	movq	_RX_CONTINUE@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	movslq	4(%r15), %r12
	movq	_RX_DROP_UNUSABLE@GOTPCREL(%rip), %rdx
	cmpq	$48, %r12
	jb	LBB0_2
## %bb.3:
	movq	%rbx, -200(%rbp)                ## 8-byte Spill
	movslq	(%r15), %rbx
	movq	-24(%rbx,%r12), %rax
	movq	_WLAN_EID_MMIE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	cmpl	$22, -16(%r12,%rbx)
	jne	LBB0_2
## %bb.5:
	movl	-8(%r12,%rbx), %esi
	leaq	-192(%rbp), %rdi
	callq	_bip_ipn_swap
	movq	-200(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	leaq	-192(%rbp), %rdi
	movl	$6, %edx
	callq	_memcmp
	testq	%rax, %rax
	jg	LBB0_9
## %bb.6:
	movq	-200(%rbp), %rax                ## 8-byte Reload
	incl	12(%rax)
LBB0_13:
	movq	_RX_DROP_UNUSABLE@GOTPCREL(%rip), %r13
	jmp	LBB0_14
LBB0_2:
	movq	%rdx, %r13
LBB0_14:
	movl	(%r13), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_16
## %bb.15:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_RX_FLAG_DECRYPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_11
LBB0_10:
	movq	-200(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	leaq	-192(%rbp), %rsi
	movl	$6, %edx
	callq	_memcpy
	movl	4(%r15), %esi
	addl	$-24, %esi
	movq	%r15, %rdi
	callq	_skb_trim
	jmp	LBB0_14
LBB0_11:
	leaq	-128(%rbp), %rsi
	movq	%r15, %rdi
	callq	_bip_aad
	movq	-200(%rbp), %rax                ## 8-byte Reload
	movl	8(%rax), %edi
	movl	(%r15), %edx
	movl	4(%r15), %ecx
	addl	$24, %edx
	addl	$-24, %ecx
	leaq	-160(%rbp), %r14
	leaq	-128(%rbp), %rsi
	movq	%r14, %r8
	callq	_ieee80211_aes_cmac
	movl	-12(%r12,%rbx), %esi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.12:
	movq	-200(%rbp), %rax                ## 8-byte Reload
	incl	4(%rax)
	jmp	LBB0_13
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_CONTINUE,4,2                ## @RX_CONTINUE
	.comm	_RX_DROP_UNUSABLE,4,2           ## @RX_DROP_UNUSABLE
	.comm	_WLAN_EID_MMIE,8,3              ## @WLAN_EID_MMIE
	.comm	_RX_FLAG_DECRYPTED,4,2          ## @RX_FLAG_DECRYPTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_crypto_aes_cmac_decrypt ; -- Begin function ieee80211_crypto_aes_cmac_decrypt
	.p2align	2
_ieee80211_crypto_aes_cmac_decrypt:     ; @ieee80211_crypto_aes_cmac_decrypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	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
	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, #-40]
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_IEEE80211_SKB_RXCB
	mov	x20, x0
	ldr	x21, [x21]
	ldrsw	x8, [x19]
	ldr	w0, [x8]
	bl	_ieee80211_is_mgmt
	cbz	w0, LBB0_9
; %bb.1:
	ldrsw	x8, [x19, #4]
	cmp	w8, #48
	b.lo	LBB0_6
; %bb.2:
	ldrsw	x9, [x19]
	add	x22, x9, x8
	ldur	x8, [x22, #-24]
Lloh3:
	adrp	x9, _WLAN_EID_MMIE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WLAN_EID_MMIE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	ldur	w8, [x22, #-16]
	cmp	w8, #22
	b.ne	LBB0_6
; %bb.4:
	ldur	w1, [x22, #-8]
	mov	x0, sp
	bl	_bip_ipn_swap
	ldr	w1, [x21]
	mov	x0, sp
	mov	w2, #6
	bl	_memcmp
	cmp	x0, #0
	b.gt	LBB0_7
; %bb.5:
	ldr	w8, [x21, #12]
	add	w8, w8, #1
	str	w8, [x21, #12]
LBB0_6:
Lloh6:
	adrp	x8, _RX_DROP_UNUSABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RX_DROP_UNUSABLE@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _RX_FLAG_DECRYPTED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RX_FLAG_DECRYPTED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
LBB0_8:
	ldr	w0, [x21]
	mov	x1, sp
	mov	w2, #6
	bl	_memcpy
	ldr	w8, [x19, #4]
	sub	w1, w8, #24
	mov	x0, x19
	bl	_skb_trim
LBB0_9:
Lloh11:
	adrp	x8, _RX_CONTINUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RX_CONTINUE@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldur	x8, [x29, #-40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.11:
	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
	add	sp, sp, #192
	ret
LBB0_12:
	add	x1, sp, #56
	mov	x0, x19
	bl	_bip_aad
	ldr	w0, [x21, #8]
	ldp	w8, w9, [x19]
	add	w2, w8, #24
	sub	w3, w9, #24
	add	x1, sp, #56
	add	x4, sp, #24
	bl	_ieee80211_aes_cmac
	ldur	w1, [x22, #-12]
	add	x0, sp, #24
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_8
; %bb.13:
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
	b	LBB0_6
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_CONTINUE,4,2                ; @RX_CONTINUE
	.comm	_RX_DROP_UNUSABLE,4,2           ; @RX_DROP_UNUSABLE
	.comm	_WLAN_EID_MMIE,8,3              ; @WLAN_EID_MMIE
	.comm	_RX_FLAG_DECRYPTED,4,2          ; @RX_FLAG_DECRYPTED
.subsections_via_symbols
