	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dfs_check_chans_unavailable
_dfs_check_chans_unavailable:           ## @dfs_check_chans_unavailable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movq	(%rdi), %rax
	movq	(%rax), %r9
	movq	_HOSTAPD_CHAN_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_HOSTAPD_CHAN_DFS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	_HOSTAPD_CHAN_DFS_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movslq	%esi, %r10
	movl	%edx, %esi
	cmpl	$8, %edx
	jae	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_4:
	movl	%esi, %edx
	andl	$-8, %edx
	movd	%r8d, %xmm0
	pshufd	$0, %xmm0, %xmm10               ## xmm10 = xmm0[0,0,0,0]
	movd	%r11d, %xmm1
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	movd	%r14d, %xmm2
	pshufd	$0, %xmm2, %xmm2                ## xmm2 = xmm2[0,0,0,0]
	leaq	(%r9,%r10,4), %rax
	addq	$16, %rax
	leaq	(,%rsi,4), %rdi
	andq	$-32, %rdi
	pxor	%xmm8, %xmm8
	xorl	%ebx, %ebx
	pcmpeqd	%xmm9, %xmm9
	pxor	%xmm6, %xmm6
	pxor	%xmm5, %xmm5
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rax,%rbx), %xmm7
	movdqu	(%rax,%rbx), %xmm3
	movdqa	%xmm10, %xmm0
	pand	%xmm7, %xmm0
	movdqa	%xmm10, %xmm4
	pand	%xmm3, %xmm4
	pcmpeqd	%xmm8, %xmm0
	paddd	%xmm6, %xmm0
	pcmpeqd	%xmm8, %xmm4
	paddd	%xmm5, %xmm4
	pand	%xmm1, %xmm7
	pand	%xmm1, %xmm3
	pcmpeqd	%xmm2, %xmm7
	psubd	%xmm7, %xmm0
	pcmpeqd	%xmm2, %xmm3
	psubd	%xmm3, %xmm4
	movdqa	%xmm0, %xmm6
	psubd	%xmm9, %xmm6
	movdqa	%xmm4, %xmm5
	psubd	%xmm9, %xmm5
	addq	$32, %rbx
	cmpq	%rbx, %rdi
	jne	LBB0_5
## %bb.6:
	paddd	%xmm6, %xmm5
	pshufd	$238, %xmm5, %xmm0              ## xmm0 = xmm5[2,3,2,3]
	paddd	%xmm5, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %eax
	cmpq	%rsi, %rdx
	je	LBB0_9
LBB0_7:
	leaq	(%r9,%r10,4), %rdi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rdx,4), %ebx
	movl	%r8d, %ecx
	andl	%ebx, %ecx
	cmpl	$1, %ecx
	sbbl	$-1, %eax
	andl	%r11d, %ebx
	xorl	%ecx, %ecx
	cmpl	%r14d, %ebx
	sete	%cl
	addl	%ecx, %eax
	incq	%rdx
	cmpq	%rdx, %rsi
	jne	LBB0_8
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTAPD_CHAN_DISABLED,4,2      ## @HOSTAPD_CHAN_DISABLED
	.comm	_HOSTAPD_CHAN_DFS_MASK,4,2      ## @HOSTAPD_CHAN_DFS_MASK
	.comm	_HOSTAPD_CHAN_DFS_UNAVAILABLE,4,2 ## @HOSTAPD_CHAN_DFS_UNAVAILABLE
	.no_dead_strip	_dfs_check_chans_unavailable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dfs_check_chans_unavailable
_dfs_check_chans_unavailable:           ; @dfs_check_chans_unavailable
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x8, [x0]
	ldr	x11, [x8]
Lloh0:
	adrp	x8, _HOSTAPD_CHAN_DISABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOSTAPD_CHAN_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _HOSTAPD_CHAN_DFS_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HOSTAPD_CHAN_DFS_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _HOSTAPD_CHAN_DFS_UNAVAILABLE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HOSTAPD_CHAN_DFS_UNAVAILABLE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	sxtw	x13, w1
	mov	w12, w2
	cmp	w2, #16
	b.hs	LBB0_4
; %bb.2:
	mov	x14, #0
	mov	w0, #0
	b	LBB0_7
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	dup.4s	v0, w8
	and	x14, x12, #0xfffffff0
	dup.4s	v1, w9
	dup.4s	v2, w10
	add	x15, x11, x13, lsl #2
	add	x15, x15, #32
	movi.2d	v3, #0000000000000000
	mov	x16, x14
	movi.2d	v4, #0000000000000000
	movi.2d	v5, #0000000000000000
	movi.2d	v6, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q7, q16, [x15, #-32]
	ldp	q17, q18, [x15], #64
	cmtst.4s	v19, v0, v7
	cmtst.4s	v20, v0, v16
	cmtst.4s	v21, v0, v17
	cmtst.4s	v22, v0, v18
	sub.4s	v3, v3, v19
	sub.4s	v4, v4, v20
	sub.4s	v5, v5, v21
	sub.4s	v6, v6, v22
	and.16b	v7, v1, v7
	and.16b	v16, v1, v16
	and.16b	v17, v1, v17
	and.16b	v18, v1, v18
	cmeq.4s	v7, v7, v2
	cmeq.4s	v16, v16, v2
	cmeq.4s	v17, v17, v2
	cmeq.4s	v18, v18, v2
	sub.4s	v3, v3, v7
	sub.4s	v4, v4, v16
	sub.4s	v5, v5, v17
	sub.4s	v6, v6, v18
	subs	x16, x16, #16
	b.ne	LBB0_5
; %bb.6:
	add.4s	v0, v4, v3
	add.4s	v0, v5, v0
	add.4s	v0, v6, v0
	addv.4s	s0, v0
	fmov	w0, s0
	cmp	x14, x12
	b.eq	LBB0_9
LBB0_7:
	add	x13, x14, x13
	add	x11, x11, x13, lsl #2
	sub	x12, x12, x14
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x11], #4
	tst	w8, w13
	cinc	w14, w0, ne
	and	w13, w9, w13
	cmp	w13, w10
	cinc	w0, w14, eq
	subs	x12, x12, #1
	b.ne	LBB0_8
LBB0_9:
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTAPD_CHAN_DISABLED,4,2      ; @HOSTAPD_CHAN_DISABLED
	.comm	_HOSTAPD_CHAN_DFS_MASK,4,2      ; @HOSTAPD_CHAN_DFS_MASK
	.comm	_HOSTAPD_CHAN_DFS_UNAVAILABLE,4,2 ; @HOSTAPD_CHAN_DFS_UNAVAILABLE
	.no_dead_strip	_dfs_check_chans_unavailable
.subsections_via_symbols
