	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctrl_iface_get_capability_freq
_ctrl_iface_get_capability_freq:        ## @ctrl_iface_get_capability_freq
	.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
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %eax
	movq	%rsi, %rcx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	jle	LBB0_18
## %bb.1:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	addq	%r12, -48(%rbp)                 ## 8-byte Folded Spill
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r14d
	subl	%r15d, %r14d
	movq	%r15, %r12
	movq	%r15, %rdi
	movl	%r14d, %esi
	leaq	L_.str.9(%rip), %rdx
	xorl	%eax, %eax
	callq	_os_snprintf
	movl	%eax, %r15d
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %rax
	addq	%rax, %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_18
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	%rbx, %rdx
	shlq	$4, %rdx
	movl	(%rcx,%rdx), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_17
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %rax
	leaq	l_reltable.ctrl_iface_get_capability_freq(%rip), %rdx
	movslq	(%rdx,%rax,4), %rcx
	addq	%rdx, %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r14d
	subl	%r12d, %r14d
	movq	%r12, %rdi
	movl	%r14d, %esi
	leaq	L_.str.4(%rip), %rdx
	xorl	%eax, %eax
	callq	_os_snprintf
	movl	%eax, %r15d
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	jne	LBB0_18
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %rax
	addq	%rax, %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	cmpl	$0, 4(%rax,%rsi)
	movq	%r12, %r15
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	jle	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax,%rsi), %r12
	addq	$8, %r12
	xorl	%r13d, %r13d
	movq	_HOSTAPD_CHAN_DISABLED@GOTPCREL(%rip), %rdx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	incq	%r13
	movslq	4(%rax,%rsi), %rcx
	addq	$12, %r12
	cmpq	%rcx, %r13
	jge	LBB0_15
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-8(%r12), %ecx
	testl	%ecx, (%rdx)
	jne	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	_HOSTAPD_CHAN_NO_IR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	L_.str.7(%rip), %r9
	andl	%ecx, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	leaq	L_.str.6(%rip), %r9
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r14d
	subl	%r15d, %r14d
	leaq	L_.str.7(%rip), %rax
	movq	_HOSTAPD_CHAN_RADAR@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	leaq	L_.str.8(%rip), %rax
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	-4(%r12), %r8d
	movl	(%r12), %ecx
	movq	%rax, (%rsp)
	movq	%r15, %rdi
	movl	%r14d, %esi
	leaq	L_.str.5(%rip), %rdx
	xorl	%eax, %eax
	callq	_os_snprintf
	movl	%eax, %ebx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=2
	movslq	%ebx, %rax
	addq	%rax, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	_HOSTAPD_CHAN_DISABLED@GOTPCREL(%rip), %rdx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_12:
	movq	%r15, %r12
LBB0_18:
	subl	-64(%rbp), %r12d                ## 4-byte Folded Reload
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"B"

L_.str.1:                               ## @.str.1
	.asciz	"G"

L_.str.2:                               ## @.str.2
	.asciz	"A"

L_.str.3:                               ## @.str.3
	.asciz	"AD"

L_.str.4:                               ## @.str.4
	.asciz	"Mode[%s] Channels:\n"

	.comm	_HOSTAPD_CHAN_DISABLED,4,2      ## @HOSTAPD_CHAN_DISABLED
L_.str.5:                               ## @.str.5
	.asciz	" %d = %d MHz%s%s\n"

	.comm	_HOSTAPD_CHAN_NO_IR,4,2         ## @HOSTAPD_CHAN_NO_IR
L_.str.6:                               ## @.str.6
	.asciz	" (NO_IR)"

L_.str.7:                               ## @.str.7
	.space	1

	.comm	_HOSTAPD_CHAN_RADAR,4,2         ## @HOSTAPD_CHAN_RADAR
L_.str.8:                               ## @.str.8
	.asciz	" (DFS)"

L_.str.9:                               ## @.str.9
	.asciz	"\n"

	.no_dead_strip	_ctrl_iface_get_capability_freq
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.ctrl_iface_get_capability_freq
l_reltable.ctrl_iface_get_capability_freq:
	.long	L_.str.1-l_reltable.ctrl_iface_get_capability_freq
	.long	L_.str-l_reltable.ctrl_iface_get_capability_freq
	.long	L_.str.3-l_reltable.ctrl_iface_get_capability_freq
	.long	L_.str.2-l_reltable.ctrl_iface_get_capability_freq

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ctrl_iface_get_capability_freq
_ctrl_iface_get_capability_freq:        ; @ctrl_iface_get_capability_freq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x1
	ldr	w8, [x0]
	str	x1, [sp, #40]                   ; 8-byte Folded Spill
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x20, x0
	mov	x27, #0
Lloh0:
	adrp	x24, _HOSTAPD_CHAN_DISABLED@GOTPAGE
Lloh1:
	ldr	x24, [x24, _HOSTAPD_CHAN_DISABLED@GOTPAGEOFF]
Lloh2:
	adrp	x19, l_.str.7@PAGE
Lloh3:
	add	x19, x19, l_.str.7@PAGEOFF
	ldr	x21, [sp, #40]                  ; 8-byte Folded Reload
	add	x28, x21, x2
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x27, #1
	cmp	x27, w8, sxtw
	b.ge	LBB0_13
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x9, [x20, #8]
	lsl	x10, x27, #4
	ldr	w9, [x9, x10]
	sub	w9, w9, #128
	cmp	w9, #3
	b.hi	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh4:
	adrp	x8, l_switch.table.ctrl_iface_get_capability_freq@PAGE
Lloh5:
	add	x8, x8, l_switch.table.ctrl_iface_get_capability_freq@PAGEOFF
	ldr	x8, [x8, w9, sxtw #3]
	sub	w26, w28, w21
	str	x8, [sp]
	mov	x0, x21
	mov	x1, x26
Lloh6:
	adrp	x2, l_.str.4@PAGE
Lloh7:
	add	x2, x2, l_.str.4@PAGEOFF
	bl	_os_snprintf
	mov	x25, x0
	mov	x0, x26
	mov	x1, x25
	bl	_os_snprintf_error
	cbnz	x0, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, w25, sxtw
	ldr	x8, [x20, #8]
	add	x9, x8, x27, lsl #4
	ldr	w10, [x9, #4]
	cmp	w10, #1
	b.lt	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, #0
	ldr	x9, [x9, #8]
	add	x23, x9, #8
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x22, x22, #1
	add	x9, x8, x27, lsl #4
	ldrsw	x9, [x9, #4]
	add	x23, x23, #12
	cmp	x22, x9
	b.ge	LBB0_11
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	w9, [x23, #-8]
	ldr	w10, [x24]
	tst	w10, w9
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	sub	w26, w28, w21
Lloh8:
	adrp	x8, _HOSTAPD_CHAN_NO_IR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HOSTAPD_CHAN_NO_IR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w9
Lloh11:
	adrp	x8, l_.str.6@PAGE
Lloh12:
	add	x8, x8, l_.str.6@PAGEOFF
	csel	x8, x19, x8, eq
Lloh13:
	adrp	x10, _HOSTAPD_CHAN_RADAR@GOTPAGE
Lloh14:
	ldr	x10, [x10, _HOSTAPD_CHAN_RADAR@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	tst	w10, w9
Lloh16:
	adrp	x9, l_.str.8@PAGE
Lloh17:
	add	x9, x9, l_.str.8@PAGEOFF
	csel	x9, x19, x9, eq
	ldp	w11, w10, [x23, #-4]
	stp	x8, x9, [sp, #16]
	stp	x10, x11, [sp]
	mov	x0, x21
	mov	x1, x26
Lloh18:
	adrp	x2, l_.str.5@PAGE
Lloh19:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_os_snprintf
	mov	x25, x0
	mov	x0, x26
	mov	x1, x25
	bl	_os_snprintf_error
	cbnz	x0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	add	x21, x21, w25, sxtw
	ldr	x8, [x20, #8]
	b	LBB0_7
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w26, w28, w21
	mov	x0, x21
	mov	x1, x26
Lloh20:
	adrp	x2, l_.str.9@PAGE
Lloh21:
	add	x2, x2, l_.str.9@PAGEOFF
	bl	_os_snprintf
	mov	x25, x0
	mov	x0, x26
	mov	x1, x25
	bl	_os_snprintf_error
	cbnz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, w25, sxtw
	ldr	w8, [x20]
	b	LBB0_2
LBB0_13:
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	sub	w0, w21, w8
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"B"

l_.str.1:                               ; @.str.1
	.asciz	"G"

l_.str.2:                               ; @.str.2
	.asciz	"A"

l_.str.3:                               ; @.str.3
	.asciz	"AD"

l_.str.4:                               ; @.str.4
	.asciz	"Mode[%s] Channels:\n"

	.comm	_HOSTAPD_CHAN_DISABLED,4,2      ; @HOSTAPD_CHAN_DISABLED
l_.str.5:                               ; @.str.5
	.asciz	" %d = %d MHz%s%s\n"

	.comm	_HOSTAPD_CHAN_NO_IR,4,2         ; @HOSTAPD_CHAN_NO_IR
l_.str.6:                               ; @.str.6
	.asciz	" (NO_IR)"

l_.str.7:                               ; @.str.7
	.space	1

	.comm	_HOSTAPD_CHAN_RADAR,4,2         ; @HOSTAPD_CHAN_RADAR
l_.str.8:                               ; @.str.8
	.asciz	" (DFS)"

l_.str.9:                               ; @.str.9
	.asciz	"\n"

	.no_dead_strip	_ctrl_iface_get_capability_freq
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ctrl_iface_get_capability_freq
l_switch.table.ctrl_iface_get_capability_freq:
	.quad	l_.str.1
	.quad	l_.str
	.quad	l_.str.3
	.quad	l_.str.2

.subsections_via_symbols
