	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_dfs_state
_set_dfs_state:                         ## @set_dfs_state
	.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 $r8d killed $r8d def $r8
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	(%rax), %rax
	movq	_HOSTAPD_MODE_IEEE80211A@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	movl	%esi, %r15d
	movq	%rdi, %r14
	leal	-128(%r8), %eax
	cmpl	$4, %eax
	ja	LBB0_7
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	testl	%r15d, %r15d
	cmovel	%r9d, %r15d
	jmp	LBB0_8
LBB0_5:
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_6:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_15
LBB0_7:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r8d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_8:
	movl	$1, %r12d
	jmp	LBB0_13
LBB0_9:
	addl	$-30, %r9d
	movl	$4, %r12d
	jmp	LBB0_12
LBB0_10:
	addl	$-10, %r9d
	movl	$2, %r12d
	jmp	LBB0_12
LBB0_11:
	addl	$-70, %r9d
	movl	$8, %r12d
LBB0_12:
	movl	%r9d, %r15d
LBB0_13:
	movl	24(%rbp), %r13d
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r15d, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	callq	_set_dfs_state_freq
	addl	%eax, %ebx
	addl	$20, %r15d
	decl	%r12d
	jne	LBB0_14
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %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_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_HOSTAPD_MODE_IEEE80211A,8,3    ## @HOSTAPD_MODE_IEEE80211A
	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"current_mode != IEEE80211A"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"DFS chan_width %d not supported"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.2:                               ## @.str.2
	.asciz	"DFS freq: %dMHz, n_chans: %d"

	.no_dead_strip	_set_dfs_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_dfs_state
_set_dfs_state:                         ; @set_dfs_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
                                        ; kill: def $w4 killed $w4 def $x4
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _HOSTAPD_MODE_IEEE80211A@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HOSTAPD_MODE_IEEE80211A@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	mov	x19, x7
	mov	x21, x1
	mov	x20, x0
	sub	w8, w4, #128
	cmp	w8, #4
	b.hi	LBB0_7
; %bb.3:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	w24, #0
	mov	w23, #0
	cmp	w21, #0
	csel	w21, w5, w21, eq
	b	LBB0_8
LBB0_5:
	mov	w22, #0
	b	LBB0_16
LBB0_6:
Lloh5:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w22, #0
	b	LBB0_16
LBB0_7:
Lloh10:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	str	x4, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	w24, #0
	mov	w23, #0
LBB0_8:
	mov	w25, #1
	mov	w8, #1
	b	LBB0_12
LBB0_9:
	mov	w25, #0
	mov	w24, #0
	sub	w21, w5, #30
	mov	w8, #4
	mov	w23, #1
	b	LBB0_12
LBB0_10:
	mov	w25, #0
	mov	w23, #0
	sub	w21, w5, #10
	mov	w8, #2
	mov	w24, #1
	b	LBB0_12
LBB0_11:
	mov	w25, #0
	mov	w24, #0
	mov	w23, #0
	sub	w21, w5, #70
	mov	w8, #8
LBB0_12:
Lloh15:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x9]
	stp	x21, x8, [sp]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_set_dfs_state_freq
	mov	x22, x0
	tbnz	w25, #0, LBB0_16
; %bb.13:
	add	w1, w21, #20
	mov	x0, x20
	mov	x2, x19
	bl	_set_dfs_state_freq
	add	w22, w22, w0
	tbnz	w24, #0, LBB0_16
; %bb.14:
	add	w1, w21, #40
	mov	x0, x20
	mov	x2, x19
	bl	_set_dfs_state_freq
	add	w22, w22, w0
	add	w1, w21, #60
	mov	x0, x20
	mov	x2, x19
	bl	_set_dfs_state_freq
	add	w22, w22, w0
	tbnz	w23, #0, LBB0_16
; %bb.15:
	add	w1, w21, #80
	mov	x0, x20
	mov	x2, x19
	bl	_set_dfs_state_freq
	add	w22, w22, w0
	add	w1, w21, #100
	mov	x0, x20
	mov	x2, x19
	bl	_set_dfs_state_freq
	add	w22, w22, w0
	add	w1, w21, #120
	mov	x0, x20
	mov	x2, x19
	bl	_set_dfs_state_freq
	add	w22, w22, w0
	add	w1, w21, #140
	mov	x0, x20
	mov	x2, x19
	bl	_set_dfs_state_freq
	add	w22, w22, w0
LBB0_16:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
                                        ; -- End function
	.comm	_HOSTAPD_MODE_IEEE80211A,8,3    ; @HOSTAPD_MODE_IEEE80211A
	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"current_mode != IEEE80211A"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"DFS chan_width %d not supported"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.2:                               ; @.str.2
	.asciz	"DFS freq: %dMHz, n_chans: %d"

	.no_dead_strip	_set_dfs_state
.subsections_via_symbols
