	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_for_gate
_prepare_for_gate:                      ## @prepare_for_gate
	.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	%rdx, %r15
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	(%rdi), %r12
	movl	32(%r12), %edi
	callq	_ieee80211_hdrlen
	movq	(%r13), %rbx
	movslq	%eax, %r14
	movq	_MESH_FLAGS_AE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx,%r14)
	jne	LBB0_2
## %bb.1:
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%esi, %esi
	movq	%r13, %rdi
	callq	_skb_push
	movq	(%r13), %rdi
	leal	6(%r14), %edx
	movq	%r12, %rsi
	callq	_memmove
	movq	(%r13), %rbx
	movq	_MESH_FLAGS_AE_A5_A6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx,%r14)
	movq	8(%rbx,%r14), %rdi
	movq	(%rbx), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_memcpy
	movq	16(%rbx,%r14), %rdi
	movq	8(%rbx), %rsi
	movl	(%r12), %edx
	callq	_memcpy
	movq	(%r13), %rbx
LBB0_2:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	8(%r15), %edi
	callq	_rcu_dereference
	movq	(%rax), %rsi
	movq	16(%rbx), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_memcpy
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	24(%rbx), %rdi
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movl	(%r14), %edx
	callq	_memcpy
	movq	(%rbx), %rdi
	movl	(%r14), %edx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MESH_FLAGS_AE,4,2              ## @MESH_FLAGS_AE
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_MESH_FLAGS_AE_A5_A6,4,2        ## @MESH_FLAGS_AE_A5_A6
	.no_dead_strip	_prepare_for_gate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_for_gate
_prepare_for_gate:                      ; @prepare_for_gate
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x22, [x0]
	ldr	w0, [x22, #32]
	bl	_ieee80211_hdrlen
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x24, [x21]
	sxtw	x25, w0
	ldr	w8, [x24, x25]
Lloh0:
	adrp	x9, _MESH_FLAGS_AE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MESH_FLAGS_AE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x23, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ETH_ALEN@GOTPAGEOFF]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x23]
	lsl	w1, w8, #1
	mov	x0, x21
	bl	_skb_push
	ldr	x0, [x21]
	add	w2, w25, #6
	mov	x1, x22
	bl	_memmove
	ldr	x22, [x21]
Lloh5:
	adrp	x8, _MESH_FLAGS_AE_A5_A6@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MESH_FLAGS_AE_A5_A6@GOTPAGEOFF]
	add	x24, x22, x25
Lloh7:
	ldr	w8, [x8]
	str	w8, [x24]
	ldr	x0, [x24, #8]
	ldr	x1, [x22]
	ldr	w2, [x23]
	bl	_memcpy
	ldr	x0, [x24, #16]
	ldr	x1, [x22, #8]
	ldr	w2, [x23]
	bl	_memcpy
	ldr	x24, [x21]
LBB0_2:
	bl	_rcu_read_lock
	ldr	w0, [x20, #8]
	bl	_rcu_dereference
	ldr	x1, [x0]
	ldr	x0, [x24, #16]
	ldr	w2, [x23]
	bl	_memcpy
	bl	_rcu_read_unlock
	ldr	x0, [x24, #24]
	ldr	x8, [x20]
	ldr	x1, [x8]
	ldr	w2, [x23]
	bl	_memcpy
	ldr	x0, [x24]
	ldr	w2, [x23]
	mov	x1, x19
	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
	b	_memcpy
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MESH_FLAGS_AE,4,2              ; @MESH_FLAGS_AE
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_MESH_FLAGS_AE_A5_A6,4,2        ; @MESH_FLAGS_AE_A5_A6
	.no_dead_strip	_prepare_for_gate
.subsections_via_symbols
