	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dfs_channel_available
_dfs_channel_available:                 ## @dfs_channel_available
	.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), %ecx
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movq	_HOSTAPD_CHAN_RADAR@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_HOSTAPD_CHAN_DFS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ecx, %edx
	movq	_HOSTAPD_CHAN_DFS_AVAILABLE@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	cmpl	(%rsi), %edx
	jne	LBB0_7
LBB0_3:
	movq	_HOSTAPD_CHAN_DISABLED@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	je	LBB0_4
LBB0_7:
	popq	%rbp
	retq
LBB0_4:
	movq	_HOSTAPD_CHAN_RADAR@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_6
## %bb.5:
	movq	_HOSTAPD_CHAN_DFS_MASK@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	movq	_HOSTAPD_CHAN_DFS_UNAVAILABLE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_7
LBB0_6:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTAPD_CHAN_RADAR,4,2         ## @HOSTAPD_CHAN_RADAR
	.comm	_HOSTAPD_CHAN_DFS_MASK,4,2      ## @HOSTAPD_CHAN_DFS_MASK
	.comm	_HOSTAPD_CHAN_DFS_AVAILABLE,4,2 ## @HOSTAPD_CHAN_DFS_AVAILABLE
	.comm	_HOSTAPD_CHAN_DISABLED,4,2      ## @HOSTAPD_CHAN_DISABLED
	.comm	_HOSTAPD_CHAN_DFS_UNAVAILABLE,4,2 ## @HOSTAPD_CHAN_DFS_UNAVAILABLE
	.no_dead_strip	_dfs_channel_available
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dfs_channel_available
_dfs_channel_available:                 ; @dfs_channel_available
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cbz	w1, LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _HOSTAPD_CHAN_RADAR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HOSTAPD_CHAN_RADAR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, _HOSTAPD_CHAN_DFS_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HOSTAPD_CHAN_DFS_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh6:
	adrp	x10, _HOSTAPD_CHAN_DFS_AVAILABLE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HOSTAPD_CHAN_DFS_AVAILABLE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_4
LBB0_3:
Lloh9:
	adrp	x9, _HOSTAPD_CHAN_DISABLED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HOSTAPD_CHAN_DISABLED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_4:
	mov	w0, #0
	ret
LBB0_5:
Lloh12:
	adrp	x9, _HOSTAPD_CHAN_RADAR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HOSTAPD_CHAN_RADAR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh15:
	adrp	x9, _HOSTAPD_CHAN_DFS_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _HOSTAPD_CHAN_DFS_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh18:
	adrp	x9, _HOSTAPD_CHAN_DFS_UNAVAILABLE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _HOSTAPD_CHAN_DFS_UNAVAILABLE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_4
LBB0_7:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTAPD_CHAN_RADAR,4,2         ; @HOSTAPD_CHAN_RADAR
	.comm	_HOSTAPD_CHAN_DFS_MASK,4,2      ; @HOSTAPD_CHAN_DFS_MASK
	.comm	_HOSTAPD_CHAN_DFS_AVAILABLE,4,2 ; @HOSTAPD_CHAN_DFS_AVAILABLE
	.comm	_HOSTAPD_CHAN_DISABLED,4,2      ; @HOSTAPD_CHAN_DISABLED
	.comm	_HOSTAPD_CHAN_DFS_UNAVAILABLE,4,2 ; @HOSTAPD_CHAN_DFS_UNAVAILABLE
	.no_dead_strip	_dfs_channel_available
.subsections_via_symbols
