	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl12xx_remove_vendor_ie
_wl12xx_remove_vendor_ie:               ## @wl12xx_remove_vendor_ie
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %r14
	movslq	8(%rdi), %r15
	movslq	%ecx, %rdi
	leaq	(%r14,%rdi,4), %rax
	movl	%r15d, %ecx
	subl	%edi, %ecx
	movl	%esi, %edi
	movl	%edx, %esi
	movq	%rax, %rdx
	callq	_cfg80211_find_vendor_ie
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	(%r14,%r15,4), %rdx
	movslq	4(%rax), %rbx
	leaq	(%rax,%rbx,4), %rsi
	addq	$8, %rsi
	addq	$2, %rbx
	subq	%rsi, %rdx
	shrq	$2, %rdx
	movq	%rax, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memmove
	movl	8(%r12), %esi
	subl	%ebx, %esi
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_skb_trim                       ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wl12xx_remove_vendor_ie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl12xx_remove_vendor_ie
_wl12xx_remove_vendor_ie:               ; @wl12xx_remove_vendor_ie
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x8, x2
	mov	x19, x0
	ldr	x20, [x0]
	ldrsw	x21, [x0, #8]
	add	x2, x20, w3, sxtw #2
	sub	w3, w21, w3
	mov	x0, x1
	mov	x1, x8
	bl	_cfg80211_find_vendor_ie
	cbz	x0, LBB0_2
; %bb.1:
	add	x8, x20, x21, lsl #2
	ldrsw	x9, [x0, #4]
	add	x20, x9, #2
	add	x1, x0, x20, lsl #2
	sub	x8, x8, x1
	lsr	x2, x8, #2
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memmove
	ldr	w8, [x19, #8]
	sub	w1, w8, w20
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_skb_trim
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wl12xx_remove_vendor_ie
.subsections_via_symbols
