	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mesh_add_ht_oper_ie            ## -- Begin function mesh_add_ht_oper_ie
	.p2align	4, 0x90
_mesh_add_ht_oper_ie:                   ## @mesh_add_ht_oper_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	16(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	4(%rdi), %r13
	movq	%r13, %rdi
	callq	_cfg80211_get_chandef_type
	movl	%eax, %r14d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	8(%r12), %edi
	callq	_rcu_dereference
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	subl	(%rax), %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	(%rbx), %rbx
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_3
## %bb.5:
	movq	_NL80211_CHAN_NO_HT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_3
## %bb.6:
	movq	%r13, %rdi
	callq	_skb_tailroom
	cmpl	$5, %eax
	ja	LBB0_8
## %bb.7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	jmp	LBB0_2
LBB0_8:
	movq	%r13, %rdi
	movl	$6, %esi
	callq	_skb_put
	movl	(%r12), %ecx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_ieee80211_ie_build_ht_oper
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NL80211_CHAN_NO_HT,4,2         ## @NL80211_CHAN_NO_HT
	.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_ht_oper_ie            ; -- Begin function mesh_add_ht_oper_ie
	.p2align	2
_mesh_add_ht_oper_ie:                   ; @mesh_add_ht_oper_ie
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x20, x0
	ldr	x24, [x0, #16]
	add	x19, x0, #4
	mov	x0, x19
	bl	_cfg80211_get_chandef_type
	mov	x22, x0
	bl	_rcu_read_lock
	ldr	w0, [x20, #8]
	bl	_rcu_dereference
	mov	x23, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_3
; %bb.1:
	bl	_rcu_read_unlock
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_3:
	ldr	x23, [x23]
	bl	_rcu_read_unlock
	ldr	x8, [x24]
	ldr	x8, [x8]
	ldr	x9, [x23]
	ldr	x23, [x8, x9, lsl #3]
	ldr	w8, [x23]
Lloh2:
	adrp	x9, _NL80211_CHAN_NO_HT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NL80211_CHAN_NO_HT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, #0
	ccmp	w22, w9, #4, ne
	b.eq	LBB0_7
; %bb.4:
	mov	x0, x21
	bl	_skb_tailroom
	cmp	w0, #5
	b.hi	LBB0_6
; %bb.5:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
LBB0_6:
	mov	x0, x21
	mov	w1, #6
	bl	_skb_put
	ldr	w3, [x20]
	mov	x1, x23
	mov	x2, x19
	bl	_ieee80211_ie_build_ht_oper
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NL80211_CHAN_NO_HT,4,2         ; @NL80211_CHAN_NO_HT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
