	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_update_bw40_channel_flag
_brcmf_update_bw40_channel_flag:        ## @brcmf_update_bw40_channel_flag
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_IEEE80211_CHAN_NO_HT40@GOTPCREL(%rip), %r8
	movl	(%r8), %ecx
	movl	%ecx, %edx
	andl	%eax, %edx
	movq	(%rsi), %r9
	movq	_BRCMU_CHAN_SB_U@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %r9
	jne	LBB0_4
## %bb.1:
	cmpl	%ecx, %edx
	jne	LBB0_3
## %bb.2:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rdi)
LBB0_3:
	movl	%eax, %ecx
	movq	_IEEE80211_CHAN_NO_HT40PLUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_4:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rdi)
	cmpl	(%r8), %edx
	jne	LBB0_7
## %bb.5:
	movq	_IEEE80211_CHAN_NO_HT40MINUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_6:
	orl	%ecx, %eax
	movl	%eax, (%rdi)
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_CHAN_NO_HT40,4,2     ## @IEEE80211_CHAN_NO_HT40
	.comm	_BRCMU_CHAN_SB_U,8,3            ## @BRCMU_CHAN_SB_U
	.comm	_IEEE80211_CHAN_NO_HT40PLUS,4,2 ## @IEEE80211_CHAN_NO_HT40PLUS
	.comm	_IEEE80211_CHAN_NO_HT40MINUS,4,2 ## @IEEE80211_CHAN_NO_HT40MINUS
	.no_dead_strip	_brcmf_update_bw40_channel_flag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_update_bw40_channel_flag
_brcmf_update_bw40_channel_flag:        ; @brcmf_update_bw40_channel_flag
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x11, _IEEE80211_CHAN_NO_HT40@GOTPAGE
Lloh1:
	ldr	x11, [x11, _IEEE80211_CHAN_NO_HT40@GOTPAGEOFF]
	ldr	w9, [x11]
	and	w10, w9, w8
	ldr	x12, [x1]
Lloh2:
	adrp	x13, _BRCMU_CHAN_SB_U@GOTPAGE
Lloh3:
	ldr	x13, [x13, _BRCMU_CHAN_SB_U@GOTPAGEOFF]
Lloh4:
	ldr	x13, [x13]
	cmp	x12, x13
	b.ne	LBB0_4
; %bb.1:
	cmp	w10, w9
	b.ne	LBB0_3
; %bb.2:
	bic	w8, w8, w9
	str	w8, [x0]
LBB0_3:
Lloh5:
	adrp	x9, _IEEE80211_CHAN_NO_HT40PLUS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IEEE80211_CHAN_NO_HT40PLUS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	b	LBB0_6
LBB0_4:
	bic	w9, w8, w9
	str	w9, [x0]
	ldr	w8, [x11]
	cmp	w10, w8
	b.ne	LBB0_7
; %bb.5:
Lloh8:
	adrp	x8, _IEEE80211_CHAN_NO_HT40MINUS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE80211_CHAN_NO_HT40MINUS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
LBB0_6:
	orr	w8, w8, w9
	str	w8, [x0]
LBB0_7:
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_CHAN_NO_HT40,4,2     ; @IEEE80211_CHAN_NO_HT40
	.comm	_BRCMU_CHAN_SB_U,8,3            ; @BRCMU_CHAN_SB_U
	.comm	_IEEE80211_CHAN_NO_HT40PLUS,4,2 ; @IEEE80211_CHAN_NO_HT40PLUS
	.comm	_IEEE80211_CHAN_NO_HT40MINUS,4,2 ; @IEEE80211_CHAN_NO_HT40MINUS
	.no_dead_strip	_brcmf_update_bw40_channel_flag
.subsections_via_symbols
