	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mesh_add_meshid_ie             ## -- Begin function mesh_add_meshid_ie
	.p2align	4, 0x90
_mesh_add_meshid_ie:                    ## @mesh_add_meshid_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_skb_tailroom
	movq	(%r14), %rsi
	addq	$2, %rsi
	cmpq	%rsi, %rax
	jge	LBB0_2
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_skb_put
	movq	_WLAN_EID_MESH_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	(%r14), %rdx
	movl	%edx, 4(%rax)
	xorl	%ebx, %ebx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	addq	$8, %rax
	movl	8(%r14), %esi
	movq	%rax, %rdi
	callq	_memcpy
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_WLAN_EID_MESH_ID,4,2           ## @WLAN_EID_MESH_ID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mesh_add_meshid_ie             ; -- Begin function mesh_add_meshid_ie
	.p2align	2
_mesh_add_meshid_ie:                    ; @mesh_add_meshid_ie
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_skb_tailroom
	ldr	x8, [x19]
	add	x1, x8, #2
	cmp	x0, x1
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_2:
	mov	x0, x20
	bl	_skb_put
Lloh3:
	adrp	x8, _WLAN_EID_MESH_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WLAN_EID_MESH_ID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x2, [x19]
	stp	w8, w2, [x0]
	cbz	x2, LBB0_4
; %bb.3:
	add	x0, x0, #8
	ldr	w1, [x19, #8]
	bl	_memcpy
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_WLAN_EID_MESH_ID,4,2           ; @WLAN_EID_MESH_ID
.subsections_via_symbols
