	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mesh_add_vendor_ies            ## -- Begin function mesh_add_vendor_ies
	.p2align	4, 0x90
_mesh_add_vendor_ies:                   ## @mesh_add_vendor_ies
	.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	%rdi, %rbx
	movq	(%rdi), %rdi
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r14
	movl	8(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_6
## %bb.2:
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	callq	_ieee80211_ie_split_vendor
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movl	%eax, %r13d
	movl	8(%rbx), %r12d
	subl	%eax, %r12d
	movq	(%rbx), %rbx
	movq	%r14, %rdi
	callq	_skb_tailroom
	cmpl	%r12d, %eax
	jge	LBB0_5
## %bb.4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_6
LBB0_5:
	movslq	%r13d, %rax
	leaq	(%rbx,%rax,4), %rbx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_skb_put
	movl	%eax, %edi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_memcpy
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mesh_add_vendor_ies            ; -- Begin function mesh_add_vendor_ies
	.p2align	2
_mesh_add_vendor_ies:                   ; @mesh_add_vendor_ies
	.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	x21, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x1
	ldr	w1, [x21, #8]
	cbz	w1, LBB0_6
; %bb.2:
	mov	w2, #0
	bl	_ieee80211_ie_split_vendor
	cbz	w0, LBB0_7
; %bb.3:
	mov	x22, x0
	ldr	w8, [x21, #8]
	sub	w20, w8, w0
	ldr	x21, [x21]
	mov	x0, x19
	bl	_skb_tailroom
	cmp	w0, w20
	b.ge	LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_5:
	add	x21, x21, w22, sxtw #2
	mov	x0, x19
	mov	x1, x20
	bl	_skb_put
	mov	x1, x21
	mov	x2, x20
	bl	_memcpy
LBB0_6:
	mov	w0, #0
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
