	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dfs_are_channels_overlapped
_dfs_are_channels_overlapped:           ## @dfs_are_channels_overlapped
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	-96(%rbp), %rsi
	callq	_dfs_get_start_chan_idx
	movl	%eax, %r15d
	leaq	-92(%rbp), %rsi
	movq	%r14, %rdi
	callq	_dfs_get_used_n_chans
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_dfs_check_chans_radar
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	leal	-128(%r13), %eax
	cmpl	$4, %eax
	ja	LBB0_5
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	testl	%edi, %edi
	cmovel	%r12d, %edi
	movl	$1, %r13d
	jmp	LBB0_10
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_5:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$1, %r13d
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_10
LBB0_6:
	addl	$-30, %r12d
	movl	$4, %r13d
	jmp	LBB0_9
LBB0_7:
	addl	$-10, %r12d
	movl	$2, %r13d
	jmp	LBB0_9
LBB0_8:
	addl	$-70, %r12d
	movl	$8, %r13d
LBB0_9:
	movl	%r12d, %edi
LBB0_10:
	leaq	-56(%rbp), %rsi
	callq	_ieee80211_freq_to_chan
	testl	%ebx, %ebx
	jle	LBB0_16
## %bb.11:
	movslq	%r15d, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%ebx, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	shlq	$2, %r13
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r14
	leaq	L_.str.1(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	cmpq	-64(%rbp), %rdx                 ## 8-byte Folded Reload
	je	LBB0_17
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	addq	%rdx, %rcx
	shlq	$4, %rcx
	movq	_HOSTAPD_CHAN_RADAR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax,%rcx)
	je	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	leaq	(%rax,%rcx), %rdx
	addq	$8, %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rax,%rcx), %rdx
	movq	-56(%rbp), %rcx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %edi
	addq	%r12, %rcx
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	movq	%r13, %r15
	movq	%rsi, %r13
	callq	_wpa_printf
	movq	%r13, %rsi
	movq	%r15, %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movq	-56(%rbp), %rcx
	leaq	(%r12,%rcx), %rax
	xorl	%edi, %edi
	cmpq	%rdx, %rax
	sete	%dil
	addl	%edi, %ebx
	addq	$4, %r12
	cmpq	%r12, %r15
	jne	LBB0_15
	jmp	LBB0_12
LBB0_16:
	xorl	%ebx, %ebx
LBB0_17:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_18:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DFS chan_width %d not supported"

	.comm	_HOSTAPD_CHAN_RADAR,4,2         ## @HOSTAPD_CHAN_RADAR
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"checking our: %d, radar: %d"

L_.str.2:                               ## @.str.2
	.asciz	"overlapped: %d"

	.no_dead_strip	_dfs_are_channels_overlapped
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dfs_are_channels_overlapped
_dfs_are_channels_overlapped:           ; @dfs_are_channels_overlapped
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x24, x0
	ldr	x25, [x0]
	add	x1, sp, #28
	bl	_dfs_get_start_chan_idx
	mov	x19, x0
	add	x1, sp, #24
	mov	x0, x24
	bl	_dfs_get_used_n_chans
	mov	x21, x0
	mov	x0, x24
	mov	x1, x19
	mov	x2, x21
	bl	_dfs_check_chans_radar
	cbz	w0, LBB0_4
; %bb.1:
	sub	w8, w23, #128
	cmp	w8, #4
	b.hi	LBB0_5
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	mov	w23, #0
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	cmp	w20, #0
	csel	w20, w22, w20, eq
	b	LBB0_6
LBB0_4:
	mov	w20, #0
	b	LBB0_20
LBB0_5:
Lloh2:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x23
	bl	_wpa_printf
	mov	w23, #0
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
LBB0_6:
	mov	w26, #1
	b	LBB0_10
LBB0_7:
	mov	w26, #0
	mov	w23, #0
	sub	w20, w22, #30
	mov	w8, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_10
LBB0_8:
	mov	w26, #0
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	sub	w20, w22, #10
	mov	w23, #1
	b	LBB0_10
LBB0_9:
	mov	w26, #0
	mov	w23, #0
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	sub	w20, w22, #70
LBB0_10:
	add	x1, sp, #16
	mov	x0, x20
	bl	_ieee80211_freq_to_chan
Lloh7:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh8:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	cmp	w21, #1
	b.lt	LBB0_18
; %bb.11:
	mov	w20, #0
	sbfiz	x27, x19, #4, #32
Lloh9:
	adrp	x28, _HOSTAPD_CHAN_RADAR@GOTPAGE
Lloh10:
	ldr	x28, [x28, _HOSTAPD_CHAN_RADAR@GOTPAGEOFF]
	mov	w21, w21
Lloh11:
	adrp	x19, l_.str.1@PAGE
Lloh12:
	add	x19, x19, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x27, x27, #16
	subs	x21, x21, #1
	b.eq	LBB0_19
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	w9, [x8, x27]
	ldr	w10, [x28]
	tst	w10, w9
	b.eq	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x24, x8, x27
	ldr	x8, [sp, #16]
	ldr	w2, [x24, #8]
	ldr	w0, [x22]
	str	x8, [sp]
	mov	x1, x19
	bl	_wpa_printf
	ldr	x2, [x24, #8]
	ldr	x8, [sp, #16]
	cmp	x2, x8
	cinc	w20, w20, eq
	tbnz	w26, #0, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x22]
	add	x8, x8, #4
	str	x8, [sp]
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_wpa_printf
	ldr	x2, [x24, #8]
	ldr	x8, [sp, #16]
	add	x9, x8, #4
	cmp	x2, x9
	cinc	w20, w20, eq
	tbnz	w23, #0, LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x22]
	add	x8, x8, #8
	str	x8, [sp]
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_wpa_printf
	ldr	x2, [x24, #8]
	ldr	x8, [sp, #16]
	add	x9, x8, #8
	cmp	x2, x9
	cinc	w20, w20, eq
	ldr	w0, [x22]
	add	x8, x8, #12
	str	x8, [sp]
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_wpa_printf
	ldr	x2, [x24, #8]
	ldr	x8, [sp, #16]
	add	x9, x8, #12
	cmp	x2, x9
	cinc	w20, w20, eq
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	tbnz	w9, #0, LBB0_12
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x22]
	add	x8, x8, #16
	str	x8, [sp]
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_wpa_printf
	ldr	x2, [x24, #8]
	ldr	x8, [sp, #16]
	add	x9, x8, #16
	cmp	x2, x9
	cinc	w20, w20, eq
	ldr	w0, [x22]
	add	x8, x8, #20
	str	x8, [sp]
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_wpa_printf
	ldr	x2, [x24, #8]
	ldr	x8, [sp, #16]
	add	x9, x8, #20
	cmp	x2, x9
	cinc	w20, w20, eq
	ldr	w0, [x22]
	add	x8, x8, #24
	str	x8, [sp]
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_wpa_printf
	ldr	x2, [x24, #8]
	ldr	x8, [sp, #16]
	add	x9, x8, #24
	cmp	x2, x9
	cinc	w20, w20, eq
	ldr	w0, [x22]
	add	x8, x8, #28
	str	x8, [sp]
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_wpa_printf
	ldr	x8, [x24, #8]
	ldr	x9, [sp, #16]
	add	x9, x9, #28
	cmp	x8, x9
	cinc	w20, w20, eq
	b	LBB0_12
LBB0_18:
	mov	w20, #0
LBB0_19:
	ldr	w0, [x22]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_wpa_printf
LBB0_20:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DFS chan_width %d not supported"

	.comm	_HOSTAPD_CHAN_RADAR,4,2         ; @HOSTAPD_CHAN_RADAR
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"checking our: %d, radar: %d"

l_.str.2:                               ; @.str.2
	.asciz	"overlapped: %d"

	.no_dead_strip	_dfs_are_channels_overlapped
.subsections_via_symbols
