	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_crypto_tkip_decrypt  ## -- Begin function ieee80211_crypto_tkip_decrypt
	.p2align	4, 0x90
_ieee80211_crypto_tkip_decrypt:         ## @ieee80211_crypto_tkip_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	32(%rdi), %r15
	movq	40(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rbx
	movq	%r15, %rdi
	callq	_IEEE80211_SKB_RXCB
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %edi
	callq	_ieee80211_hdrlen
	movl	%eax, %r13d
	movl	4(%rbx), %edi
	callq	_ieee80211_is_data
	movq	_RX_CONTINUE@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	_RX_DROP_UNUSABLE@GOTPCREL(%rip), %r12
	cmpq	$0, 16(%r14)
	je	LBB0_6
## %bb.2:
	movl	(%r15), %eax
	subl	%r13d, %eax
	cmpl	$12, %eax
	jl	LBB0_6
## %bb.3:
	movq	32(%r14), %rdi
	callq	_skb_linearize
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	_RX_FLAG_DECRYPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	andl	(%rdx), %ecx
	movq	8(%r15), %rsi
	setne	%al
	movq	24(%r14), %rcx
	movl	(%rcx), %edi
	movslq	%r13d, %rdx
	addq	%rsi, %rdx
	movl	(%r15), %ecx
	subl	%r13d, %ecx
	movq	16(%r14), %rbx
	movl	(%rbx), %r8d
	movl	(%rsi), %r9d
	movl	8(%r14), %ebx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	pushq	%r14
	addq	$4, %r14
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	callq	_ieee80211_tkip_decrypt_data
	addq	$32, %rsp
	movq	_TKIP_DECRYPT_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.5:
	movslq	(%r15), %rsi
	movq	_TKIP_ICV_LEN@GOTPCREL(%rip), %rax
	subq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_skb_trim
	movq	8(%r15), %rsi
	movq	_TKIP_IV_LEN@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	%rsi, %rdi
	movl	%r13d, %edx
	callq	_memmove
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_skb_pull
	movq	_RX_CONTINUE@GOTPCREL(%rip), %r12
LBB0_6:
	movl	(%r12), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_CONTINUE,4,2                ## @RX_CONTINUE
	.comm	_RX_DROP_UNUSABLE,4,2           ## @RX_DROP_UNUSABLE
	.comm	_RX_FLAG_DECRYPTED,4,2          ## @RX_FLAG_DECRYPTED
	.comm	_TKIP_DECRYPT_OK,4,2            ## @TKIP_DECRYPT_OK
	.comm	_TKIP_ICV_LEN,8,3               ## @TKIP_ICV_LEN
	.comm	_TKIP_IV_LEN,8,3                ## @TKIP_IV_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_crypto_tkip_decrypt  ; -- Begin function ieee80211_crypto_tkip_decrypt
	.p2align	2
_ieee80211_crypto_tkip_decrypt:         ; @ieee80211_crypto_tkip_decrypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x0
	ldp	x19, x22, [x0, #32]
	ldr	x24, [x19, #8]
	mov	x0, x19
	bl	_IEEE80211_SKB_RXCB
	mov	x23, x0
	ldr	w0, [x24, #4]
	bl	_ieee80211_hdrlen
	mov	x20, x0
	ldr	w0, [x24, #4]
	bl	_ieee80211_is_data
	cbz	w0, LBB0_6
; %bb.1:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	w8, [x19]
	sub	w8, w8, w20
	cmp	w8, #12
	b.lt	LBB0_7
; %bb.3:
	ldr	x0, [x21, #32]
	bl	_skb_linearize
	cbnz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	w9, [x23]
Lloh0:
	adrp	x10, _RX_FLAG_DECRYPTED@GOTPAGE
Lloh1:
	ldr	x10, [x10, _RX_FLAG_DECRYPTED@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	cset	w6, ne
	ldp	x10, x9, [x21, #16]
	ldr	w0, [x9]
	add	x2, x8, w20, sxtw
	ldr	w9, [x19]
	sub	w3, w9, w20
	ldr	w4, [x10]
	ldr	w5, [x8]
	ldr	w7, [x21, #8]
	add	x8, x21, #4
	stp	x8, x21, [sp]
	mov	x1, x22
	bl	_ieee80211_tkip_decrypt_data
Lloh3:
	adrp	x8, _TKIP_DECRYPT_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TKIP_DECRYPT_OK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.5:
	ldrsw	x8, [x19]
Lloh6:
	adrp	x9, _TKIP_ICV_LEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TKIP_ICV_LEN@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	sub	x1, x8, x9
	mov	x0, x19
	bl	_skb_trim
	ldr	x1, [x19, #8]
Lloh9:
	adrp	x21, _TKIP_IV_LEN@GOTPAGE
Lloh10:
	ldr	x21, [x21, _TKIP_IV_LEN@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x0, x8, x1
	mov	x2, x20
	bl	_memmove
	ldr	x1, [x21]
	mov	x0, x19
	bl	_skb_pull
LBB0_6:
Lloh11:
	adrp	x8, _RX_CONTINUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RX_CONTINUE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh13:
	adrp	x8, _RX_DROP_UNUSABLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RX_DROP_UNUSABLE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_CONTINUE,4,2                ; @RX_CONTINUE
	.comm	_RX_DROP_UNUSABLE,4,2           ; @RX_DROP_UNUSABLE
	.comm	_RX_FLAG_DECRYPTED,4,2          ; @RX_FLAG_DECRYPTED
	.comm	_TKIP_DECRYPT_OK,4,2            ; @TKIP_DECRYPT_OK
	.comm	_TKIP_ICV_LEN,8,3               ; @TKIP_ICV_LEN
	.comm	_TKIP_IV_LEN,8,3                ; @TKIP_IV_LEN
.subsections_via_symbols
