	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lib80211_tkip_hdr
_lib80211_tkip_hdr:                     ## @lib80211_tkip_hdr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movl	%ecx, %r13d
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_skb_headroom
	movq	%rax, %rcx
	movq	_TKIP_HDR_LEN@GOTPCREL(%rip), %rdx
	movl	$-1, %eax
	cmpq	(%rdx), %rcx
	jl	LBB0_9
## %bb.1:
	cmpl	%r12d, (%rbx)
	jl	LBB0_9
## %bb.2:
	testq	%r14, %r14
	je	LBB0_9
## %bb.3:
	cmpl	$16, %r13d
	jl	LBB0_9
## %bb.4:
	movq	%rdx, %r13
	cmpl	$0, (%r15)
	jne	LBB0_6
## %bb.5:
	movl	4(%r15), %ecx
	movl	20(%r15), %edi
	movl	24(%r15), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	callq	_tkip_mixing_phase1
	movl	$1, (%r15)
LBB0_6:
	movl	24(%r15), %esi
	movl	20(%r15), %edx
	movq	8(%r15), %rcx
	movq	%r14, %rdi
	callq	_tkip_mixing_phase2
	movq	(%r13), %rsi
	movq	%rbx, %rdi
	callq	_skb_push
	movq	%rax, %rbx
	movq	(%r13), %rax
	leaq	(%rbx,%rax,8), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_memmove
	movslq	%r12d, %rax
	movq	(%r14), %rcx
	movq	%rcx, (%rbx,%rax,8)
	movq	8(%r14), %rcx
	movq	%rcx, 8(%rbx,%rax,8)
	movq	16(%r14), %rcx
	movq	%rcx, 16(%rbx,%rax,8)
	movl	16(%r15), %ecx
	shll	$6, %ecx
	orl	$32, %ecx
	movslq	%ecx, %rcx
	movq	%rcx, 24(%rbx,%rax,8)
	movl	4(%r15), %ecx
	movzbl	%cl, %edx
	movq	%rdx, 32(%rbx,%rax,8)
	movzbl	%ch, %edx
	movq	%rdx, 40(%rbx,%rax,8)
	movl	%ecx, %edx
	shrl	$16, %edx
	movzbl	%dl, %edx
	movq	%rdx, 48(%rbx,%rax,8)
	movq	%rcx, %rdx
	shrq	$24, %rdx
	movq	%rdx, 56(%rbx,%rax,8)
	incq	8(%r15)
	jne	LBB0_8
## %bb.7:
	movl	$0, (%r15)
	leal	1(%rcx), %eax
	movl	%eax, 4(%r15)
LBB0_8:
	movl	(%r13), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TKIP_HDR_LEN,8,3               ## @TKIP_HDR_LEN
	.no_dead_strip	_lib80211_tkip_hdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lib80211_tkip_hdr
_lib80211_tkip_hdr:                     ; @lib80211_tkip_hdr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x25, [x0, #8]
	bl	_skb_headroom
Lloh0:
	adrp	x24, _TKIP_HDR_LEN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TKIP_HDR_LEN@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_10
LBB0_2:
	ldr	w8, [x22]
	mov	w0, #-1
	cmp	w8, w21
	b.lt	LBB0_10
; %bb.3:
	cbz	x20, LBB0_10
; %bb.4:
	cmp	w23, #16
	b.lt	LBB0_10
; %bb.5:
	ldr	w8, [x19]
	cbnz	w8, LBB0_7
; %bb.6:
	ldp	w0, w1, [x19, #20]
	ldr	w2, [x25]
	ldr	w3, [x19, #4]
	bl	_tkip_mixing_phase1
	mov	w8, #1
	str	w8, [x19]
LBB0_7:
	ldp	w2, w1, [x19, #20]
	ldr	x3, [x19, #8]
	mov	x0, x20
	bl	_tkip_mixing_phase2
	ldr	x1, [x24]
	mov	x0, x22
	bl	_skb_push
	mov	x22, x0
	ldr	x8, [x24]
	add	x1, x0, x8, lsl #3
	mov	x2, x21
	bl	_memmove
	add	x9, x22, w21, sxtw #3
	ldr	x8, [x20]
	str	x8, [x9]
	ldr	x8, [x20, #8]
	str	x8, [x9, #8]
	ldr	x8, [x20, #16]
	ldr	w10, [x19, #16]
	mov	w11, #32
	bfi	w11, w10, #6, #26
	sxtw	x10, w11
	stp	x8, x10, [x9, #16]
	ldr	w8, [x19, #4]
	and	x10, x8, #0xff
	ubfx	x11, x8, #8, #8
	stp	x10, x11, [x9, #32]
	ubfx	x10, x8, #16, #8
	lsr	x11, x8, #24
	stp	x10, x11, [x9, #48]
	ldr	x9, [x19, #8]
	adds	x9, x9, #1
	str	x9, [x19, #8]
	b.lo	LBB0_9
; %bb.8:
	add	w8, w8, #1
	stp	wzr, w8, [x19]
LBB0_9:
	ldr	w0, [x24]
LBB0_10:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TKIP_HDR_LEN,8,3               ; @TKIP_HDR_LEN
	.no_dead_strip	_lib80211_tkip_hdr
.subsections_via_symbols
