	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfg80211_secondary_chans_ok
_cfg80211_secondary_chans_ok:           ## @cfg80211_secondary_chans_ok
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	leal	(%rsi,%rax), %r12d
	addl	$-10, %r12d
	movl	%esi, %ebx
	subl	%eax, %ebx
	addl	$10, %ebx
	cmpl	%r12d, %ebx
	jg	LBB0_8
## %bb.2:
	movl	%ecx, %r14d
	movq	%rdi, %r15
	movq	_IEEE80211_CHAN_RADAR@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ieee80211_get_channel
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rcx), %edx
	andl	%r14d, %edx
	movl	(%r13), %esi
	testl	%esi, %edx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rcx), %rcx
	movq	_NL80211_DFS_AVAILABLE@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	jne	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	notl	%esi
	testl	%esi, %edx
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	$20, %ebx
	cmpl	%r12d, %ebx
	jle	LBB0_3
LBB0_8:
	movl	$1, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_CHAN_RADAR,4,2       ## @IEEE80211_CHAN_RADAR
	.comm	_NL80211_DFS_AVAILABLE,8,3      ## @NL80211_DFS_AVAILABLE
	.no_dead_strip	_cfg80211_secondary_chans_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfg80211_secondary_chans_ok
_cfg80211_secondary_chans_ok:           ; @cfg80211_secondary_chans_ok
	.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
	cmp	w2, #0
	cinc	w8, w2, lt
	asr	w8, w8, #1
	sub	w9, w1, w8
	add	w21, w9, #10
	add	w8, w1, w8
	sub	w22, w8, #10
	cmp	w21, w22
	b.le	LBB0_2
LBB0_1:
	mov	w0, #1
	b	LBB0_9
LBB0_2:
	mov	x19, x3
	mov	x20, x0
Lloh0:
	adrp	x23, _IEEE80211_CHAN_RADAR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IEEE80211_CHAN_RADAR@GOTPAGEOFF]
Lloh2:
	adrp	x24, _NL80211_DFS_AVAILABLE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _NL80211_DFS_AVAILABLE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_ieee80211_get_channel
	cbz	x0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x0]
	and	w8, w8, w19
	ldr	w9, [x23]
	tst	w8, w9
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x0, #8]
	ldr	x11, [x24]
	cmp	x10, x11
	b.ne	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	bics	wzr, w8, w9
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w21, w21, #20
	cmp	w21, w22
	b.le	LBB0_3
	b	LBB0_1
LBB0_8:
	mov	w0, #0
LBB0_9:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_CHAN_RADAR,4,2       ; @IEEE80211_CHAN_RADAR
	.comm	_NL80211_DFS_AVAILABLE,8,3      ; @NL80211_DFS_AVAILABLE
	.no_dead_strip	_cfg80211_secondary_chans_ok
.subsections_via_symbols
