	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mesh_add_ds_params_ie
_mesh_add_ds_params_ie:                 ## @mesh_add_ds_params_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_skb_tailroom
	cmpl	$2, %eax
	jg	LBB0_2
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	(%r15), %edi
	callq	_rcu_dereference
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_4:
	movq	(%r15), %r15
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_skb_put
	movq	%rax, %r14
	movq	_WLAN_EID_DS_PARAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	$1, 4(%r14)
	movl	(%r15), %edi
	callq	_ieee80211_frequency_to_channel
	movl	%eax, 8(%r14)
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_WLAN_EID_DS_PARAMS,4,2         ## @WLAN_EID_DS_PARAMS
	.no_dead_strip	_mesh_add_ds_params_ie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mesh_add_ds_params_ie
_mesh_add_ds_params_ie:                 ; @mesh_add_ds_params_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	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_skb_tailroom
	cmp	w0, #2
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	bl	_rcu_read_lock
	ldr	w0, [x20]
	bl	_rcu_dereference
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_5
; %bb.3:
	bl	_rcu_read_unlock
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
	ldr	x20, [x20]
	bl	_rcu_read_unlock
	mov	x0, x19
	mov	w1, #3
	bl	_skb_put
	mov	x19, x0
Lloh4:
	adrp	x8, _WLAN_EID_DS_PARAMS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _WLAN_EID_DS_PARAMS@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	mov	w9, #1
	stp	w8, w9, [x0]
	ldr	w0, [x20]
	bl	_ieee80211_frequency_to_channel
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #8]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_WLAN_EID_DS_PARAMS,4,2         ; @WLAN_EID_DS_PARAMS
	.no_dead_strip	_mesh_add_ds_params_ie
.subsections_via_symbols
