	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function atmel_get_range
LCPI0_0:
	.long	1000000                         ## 0xf4240
	.long	2000000                         ## 0x1e8480
	.long	5500000                         ## 0x53ec60
	.long	11000000                        ## 0xa7d8c0
LCPI0_1:
	.long	4                               ## 0x4
	.long	2347                            ## 0x92b
	.long	256                             ## 0x100
	.long	2346                            ## 0x92a
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_atmel_get_range:                       ## @atmel_get_range
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movl	$200, (%r15)
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$200, %edx
	callq	_memset
	movq	$0, (%r12)
	movl	$0, 8(%r12)
	movq	_channel_table@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	movl	$12, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	(%r13), %rdi
	cmpq	-12(%rdi,%rbx), %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %rbx
	cmpq	%rax, %r15
	jl	LBB0_2
LBB0_5:
	movl	8(%r12), %eax
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_11
LBB0_3:
	movl	-4(%rdi,%rbx), %eax
	subl	(%rdi,%rbx), %eax
	incl	%eax
	movl	%eax, 8(%r12)
	testl	%eax, %eax
	je	LBB0_11
LBB0_7:
	movq	(%r13), %rax
	movl	%r15d, %ebx
	shlq	$4, %rbx
	movl	12(%rax,%rbx), %edx
	xorl	%ecx, %ecx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	cmpl	8(%rax,%rbx), %edx
	jg	LBB0_10
## %bb.8:
	movq	192(%r12), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	decl	%ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%r15), %edi
	movl	%edi, (%rax,%r14)
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ieee80211_channel_to_frequency
	imull	$100000, %eax, %ecx             ## imm = 0x186A0
	movq	192(%r12), %rax
	movl	%ecx, 4(%rax,%r14)
	movl	$1, 8(%rax,%r14)
	movq	(%r13), %rdx
	addq	$12, %r14
	movl	%r15d, %ecx
	incl	%ecx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	addl	%r15d, %esi
	incl	%esi
	movl	%ecx, %r15d
	cmpl	8(%rdx,%rbx), %esi
	jl	LBB0_9
LBB0_10:
	movl	%ecx, 12(%r12)
LBB0_11:
	movabsq	$429496729700, %rax             ## imm = 0x6400000064
	movq	%rax, 168(%r12)
	movq	$0, 184(%r12)
	movq	_IW_QUAL_NOISE_INVALID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 176(%r12)
	movabsq	$214748364850, %rcx             ## imm = 0x3200000032
	movq	%rcx, 144(%r12)
	movq	$0, 160(%r12)
	movq	%rax, 152(%r12)
	movq	$0, 136(%r12)
	movq	16(%r12), %rax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1000000,2000000,5500000,11000000]
	movups	%xmm0, (%rax)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [4,2347,256,2346]
	movups	%xmm0, 24(%r12)
	movq	$0, 128(%r12)
	movq	40(%r12), %rax
	movabsq	$55834574853, %rcx              ## imm = 0xD00000005
	movq	%rcx, (%rax)
	movabsq	$17179869186, %rax              ## imm = 0x400000002
	movq	%rax, 48(%r12)
	movq	_IW_POWER_ON@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 120(%r12)
	movq	%rax, 112(%r12)
	movq	$0, 104(%r12)
	movq	_WIRELESS_EXT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 96(%r12)
	movq	%rax, 88(%r12)
	movq	_IW_RETRY_LIMIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 80(%r12)
	movq	%rax, 72(%r12)
	movq	$0, 64(%r12)
	movabsq	$281470681743361, %rax          ## imm = 0xFFFF00000001
	movq	%rax, 56(%r12)
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_channel_table,8,3              ## @channel_table
	.comm	_NL80211_BAND_2GHZ,4,2          ## @NL80211_BAND_2GHZ
	.comm	_IW_QUAL_NOISE_INVALID,8,3      ## @IW_QUAL_NOISE_INVALID
	.comm	_IW_POWER_ON,8,3                ## @IW_POWER_ON
	.comm	_WIRELESS_EXT,8,3               ## @WIRELESS_EXT
	.comm	_IW_RETRY_LIMIT,8,3             ## @IW_RETRY_LIMIT
	.no_dead_strip	_atmel_get_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function atmel_get_range
lCPI0_0:
	.long	1000000                         ; 0xf4240
	.long	2000000                         ; 0x1e8480
	.long	5500000                         ; 0x53ec60
	.long	11000000                        ; 0xa7d8c0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_1:
	.long	2347                            ; 0x92b
	.long	256                             ; 0x100
lCPI0_2:
	.long	5                               ; 0x5
	.long	13                              ; 0xd
lCPI0_3:
	.long	2                               ; 0x2
	.long	4                               ; 0x4
lCPI0_4:
	.long	1                               ; 0x1
	.long	65535                           ; 0xffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_atmel_get_range:                       ; @atmel_get_range
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x21, x2
	bl	_netdev_priv
	mov	x20, x0
	mov	w8, #200
	str	w8, [x21]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #200
	bl	_memset
	str	xzr, [x19]
	str	wzr, [x19, #8]
Lloh0:
	adrp	x21, _channel_table@GOTPAGE
Lloh1:
	ldr	x21, [x21, _channel_table@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x23, #0
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x0, [x21]
	ldr	x9, [x0, x23]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	bl	_ARRAY_SIZE
	add	x23, x23, #16
	cmp	x22, w0, sxtw
	b.lt	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	x22, #0
LBB0_5:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_7
	b	LBB0_12
LBB0_6:
	add	x8, x0, x23
	ldp	w9, w8, [x8, #8]
	sub	w8, w9, w8
	add	w8, w8, #1
	str	w8, [x19, #8]
	cbz	w8, LBB0_12
LBB0_7:
	ldr	x8, [x21]
	add	x8, x8, w22, uxtw #4
	ldp	w8, w20, [x8, #8]
	cmp	w20, w8
	b.le	LBB0_9
; %bb.8:
	mov	w23, #0
	b	LBB0_11
LBB0_9:
	mov	w23, #0
	mov	x24, #0
	and	x22, x22, #0xffffffff
	ldr	x8, [x19, #192]
Lloh2:
	adrp	x25, _NL80211_BAND_2GHZ@GOTPAGE
Lloh3:
	ldr	x25, [x25, _NL80211_BAND_2GHZ@GOTPAGEOFF]
	mov	w26, #34464
	movk	w26, #1, lsl #16
	mov	w27, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	w0, w20, w23
	str	w0, [x8, x24]
	ldr	w1, [x25]
	bl	_ieee80211_channel_to_frequency
	mul	w9, w0, w26
	ldr	x8, [x19, #192]
	add	x10, x8, x24
	stp	w9, w27, [x10, #4]
	ldr	x9, [x21]
	add	x9, x9, x22, lsl #4
	ldr	w9, [x9, #8]
	add	x24, x24, #12
	add	w23, w23, #1
	add	w10, w20, w23
	sub	w10, w10, #1
	cmp	w10, w9
	b.lt	LBB0_10
LBB0_11:
	str	w23, [x19, #12]
LBB0_12:
	movi.2s	v0, #100
	str	d0, [x19, #168]
Lloh4:
	adrp	x8, _IW_QUAL_NOISE_INVALID@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IW_QUAL_NOISE_INVALID@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	stp	x8, xzr, [x19, #176]
	movi.2s	v0, #50
	str	d0, [x19, #144]
	stp	x8, xzr, [x19, #152]
	ldr	x8, [x19, #16]
Lloh7:
	adrp	x9, lCPI0_0@PAGE
Lloh8:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	str	q0, [x8]
	mov	w8, #4
	str	w8, [x19, #24]
	stp	xzr, xzr, [x19, #128]
Lloh9:
	adrp	x8, lCPI0_1@PAGE
Lloh10:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	stur	d0, [x19, #28]
	mov	w8, #2346
	str	w8, [x19, #36]
	ldr	x8, [x19, #40]
Lloh11:
	adrp	x9, lCPI0_2@PAGE
Lloh12:
	ldr	d0, [x9, lCPI0_2@PAGEOFF]
	str	d0, [x8]
Lloh13:
	adrp	x8, lCPI0_3@PAGE
Lloh14:
	ldr	d0, [x8, lCPI0_3@PAGEOFF]
Lloh15:
	adrp	x8, _IW_POWER_ON@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IW_POWER_ON@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #112]
Lloh18:
	adrp	x8, _WIRELESS_EXT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WIRELESS_EXT@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	stp	x8, xzr, [x19, #96]
Lloh21:
	adrp	x9, _IW_RETRY_LIMIT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IW_RETRY_LIMIT@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #80]
	stp	xzr, x9, [x19, #64]
Lloh24:
	adrp	x8, lCPI0_4@PAGE
Lloh25:
	ldr	d1, [x8, lCPI0_4@PAGEOFF]
	stp	d0, d1, [x19, #48]
	mov	w0, #0
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdr	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdrp	Lloh13, Lloh15
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpAdrp	Lloh11, Lloh21
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpAdrp	Lloh7, Lloh11
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_channel_table,8,3              ; @channel_table
	.comm	_NL80211_BAND_2GHZ,4,2          ; @NL80211_BAND_2GHZ
	.comm	_IW_QUAL_NOISE_INVALID,8,3      ; @IW_QUAL_NOISE_INVALID
	.comm	_IW_POWER_ON,8,3                ; @IW_POWER_ON
	.comm	_WIRELESS_EXT,8,3               ; @WIRELESS_EXT
	.comm	_IW_RETRY_LIMIT,8,3             ; @IW_RETRY_LIMIT
	.no_dead_strip	_atmel_get_range
.subsections_via_symbols
