	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function freq_range_to_channel_list
_freq_range_to_channel_list:            ## @freq_range_to_channel_list
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -56(%rbp)
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-48(%rbp), %r12
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_os_memset
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_freq_range_list_parse
	testq	%rax, %rax
	js	LBB0_14
## %bb.3:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	xorl	%esi, %esi
	movq	_HOSTAPD_CHAN_DISABLED@GOTPCREL(%rip), %r14
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rsi
	cmpq	%rax, %rsi
	jae	LBB0_13
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	8(%rbx), %rcx
	movq	%rsi, %rdx
	shlq	$4, %rdx
	cmpl	$0, (%rcx,%rdx)
	jle	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rdx), %r15
	leaq	(%rcx,%rdx), %r12
	addq	$8, %r12
	xorl	%r13d, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=2
	incq	%r13
	movslq	(%r15), %rax
	cmpq	%rax, %r13
	jge	LBB0_11
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rax
	movl	(%r14), %ecx
	testl	%ecx, (%rax,%r13,8)
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movl	4(%rax,%r13,8), %ebx
	leaq	-48(%rbp), %rdi
	movl	%ebx, %esi
	callq	_freq_range_list_includes
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	leaq	-56(%rbp), %rdi
	movl	%ebx, %esi
	callq	_int_array_add_unique
	jmp	LBB0_10
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_14
LBB0_13:
	movl	-48(%rbp), %edi
	callq	_os_free
	movq	-56(%rbp), %r14
LBB0_14:
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTAPD_CHAN_DISABLED,4,2      ## @HOSTAPD_CHAN_DISABLED
	.no_dead_strip	_freq_range_to_channel_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function freq_range_to_channel_list
_freq_range_to_channel_list:            ; @freq_range_to_channel_list
	.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
	str	xzr, [sp]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_12
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_os_memset
	add	x0, sp, #8
	mov	x1, x20
	bl	_freq_range_list_parse
	tbnz	x0, #63, LBB0_12
; %bb.2:
	ldr	x8, [x19]
	cbz	x8, LBB0_13
; %bb.3:
	mov	x21, #0
Lloh0:
	adrp	x22, _HOSTAPD_CHAN_DISABLED@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HOSTAPD_CHAN_DISABLED@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	cmp	x21, x8
	b.hs	LBB0_13
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x9, [x19, #8]
	add	x23, x9, x21, lsl #4
	ldr	w9, [x23]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x24, #0
	mov	x25, #0
	add	x26, x23, #8
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x25, x25, #1
	ldrsw	x8, [x23]
	add	x24, x24, #8
	cmp	x25, x8
	b.ge	LBB0_4
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x26]
	ldr	w9, [x8, x24]
	ldr	w10, [x22]
	tst	w10, w9
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x8, x8, x24
	ldr	w20, [x8, #4]
	add	x0, sp, #8
	mov	x1, x20
	bl	_freq_range_list_includes
	cbz	w0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, sp
	mov	x1, x20
	bl	_int_array_add_unique
	b	LBB0_8
LBB0_12:
	mov	x0, #0
	b	LBB0_14
LBB0_13:
	ldr	w0, [sp, #8]
	bl	_os_free
	ldr	x0, [sp]
LBB0_14:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTAPD_CHAN_DISABLED,4,2      ; @HOSTAPD_CHAN_DISABLED
	.no_dead_strip	_freq_range_to_channel_list
.subsections_via_symbols
