	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_reg_apply_radar_flags
_mwifiex_reg_apply_radar_flags:         ## @mwifiex_reg_apply_radar_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.1:
	movl	(%rcx), %eax
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	8(%rcx), %rcx
	xorl	%edx, %edx
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %rsi
	movq	_IEEE80211_CHAN_RADAR@GOTPCREL(%rip), %r9
	movq	_IEEE80211_CHAN_NO_IR@GOTPCREL(%rip), %r8
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rdx,4), %edi
	testl	%edi, (%rsi)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%edi, (%r9)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	orl	(%r8), %edi
	movl	%edi, (%rcx,%rdx,4)
	jmp	LBB0_6
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_IEEE80211_CHAN_DISABLED,4,2    ## @IEEE80211_CHAN_DISABLED
	.comm	_IEEE80211_CHAN_RADAR,4,2       ## @IEEE80211_CHAN_RADAR
	.comm	_IEEE80211_CHAN_NO_IR,4,2       ## @IEEE80211_CHAN_NO_IR
	.no_dead_strip	_mwifiex_reg_apply_radar_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_reg_apply_radar_flags
_mwifiex_reg_apply_radar_flags:         ; @mwifiex_reg_apply_radar_flags
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NL80211_BAND_5GHZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_7
; %bb.1:
	ldr	w8, [x9]
	cbz	w8, LBB0_7
; %bb.2:
	ldr	x9, [x9, #8]
Lloh3:
	adrp	x10, _IEEE80211_CHAN_DISABLED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IEEE80211_CHAN_DISABLED@GOTPAGEOFF]
Lloh5:
	adrp	x11, _IEEE80211_CHAN_RADAR@GOTPAGE
Lloh6:
	ldr	x11, [x11, _IEEE80211_CHAN_RADAR@GOTPAGEOFF]
Lloh7:
	adrp	x12, _IEEE80211_CHAN_NO_IR@GOTPAGE
Lloh8:
	ldr	x12, [x12, _IEEE80211_CHAN_NO_IR@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #4
	subs	x8, x8, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x9]
	ldr	w14, [x10]
	tst	w14, w13
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w14, [x11]
	tst	w14, w13
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w14, [x12]
	orr	w13, w14, w13
	str	w13, [x9]
	b	LBB0_3
LBB0_7:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_IEEE80211_CHAN_DISABLED,4,2    ; @IEEE80211_CHAN_DISABLED
	.comm	_IEEE80211_CHAN_RADAR,4,2       ; @IEEE80211_CHAN_RADAR
	.comm	_IEEE80211_CHAN_NO_IR,4,2       ; @IEEE80211_CHAN_NO_IR
	.no_dead_strip	_mwifiex_reg_apply_radar_flags
.subsections_via_symbols
