	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_file_dump_nfcal
_read_file_dump_nfcal:                  ## @read_file_dump_nfcal
	.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	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_dev_get_drvdata
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %r15
	movq	(%rcx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_ath9k_hw_common
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r15), %r14d
	movl	4(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_seq_puts
	movq	_NUM_NF_READINGS@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_10
## %bb.1:
	leal	(,%r14,8), %r15d
	orl	%r14d, %r15d
	leaq	L_.str.3(%rip), %r12
	xorl	%ebx, %ebx
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_seq_puts
	movq	_NUM_NF_READINGS@GOTPCREL(%rip), %r13
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	btl	%ebx, %r15d
	jae	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_AR5416_MAX_CHAINS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_conf_is_ht40
	testl	%eax, %eax
	je	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_AR_PHY_CCA_FILTERWINDOW_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	(%rbx,%rbx,2), %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax,%r13,8), %ecx
	movl	(%rax,%r13,8), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r14d, %r8d
	subl	%eax, %r8d
	movq	%rbx, %rdx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_seq_printf
	subl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13,8), %r13
	addq	$8, %r13
	movl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_seq_printf
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_7
	jmp	LBB0_8
LBB0_10:
	xorl	%eax, %eax
	addq	$40, %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	"Channel Noise Floor : %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Chain | privNF | # Readings | NF Readings\n"

	.comm	_NUM_NF_READINGS,4,2            ## @NUM_NF_READINGS
	.comm	_AR5416_MAX_CHAINS,4,2          ## @AR5416_MAX_CHAINS
	.comm	_AR_PHY_CCA_FILTERWINDOW_LENGTH,4,2 ## @AR_PHY_CCA_FILTERWINDOW_LENGTH
L_.str.2:                               ## @.str.2
	.asciz	" %d\t %d\t %d\t\t"

L_.str.3:                               ## @.str.3
	.asciz	" %d"

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

	.no_dead_strip	_read_file_dump_nfcal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_file_dump_nfcal
_read_file_dump_nfcal:                  ; @read_file_dump_nfcal
	.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	x19, x0
	ldr	w0, [x0]
	bl	_dev_get_drvdata
	ldr	x8, [x0]
	ldp	x8, x21, [x8]
	ldr	x25, [x8]
	mov	x0, x21
	bl	_ath9k_hw_common
	ldr	x8, [x0]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	ldp	w20, w2, [x21]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_seq_puts
Lloh4:
	adrp	x26, _NUM_NF_READINGS@GOTPAGE
Lloh5:
	ldr	x26, [x26, _NUM_NF_READINGS@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x21, #0
	orr	w27, w20, w20, lsl #3
	mov	w22, #24
Lloh6:
	adrp	x23, l_.str.3@PAGE
Lloh7:
	add	x23, x23, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_seq_puts
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x26]
	cmp	x21, x8
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	lsr	w8, w27, w21
	tbz	w8, #0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh10:
	adrp	x8, _AR5416_MAX_CHAINS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AR5416_MAX_CHAINS@GOTPAGEOFF]
Lloh12:
	ldrsw	x8, [x8]
	cmp	x21, x8
	b.lt	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_conf_is_ht40
	cbz	w0, LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh13:
	adrp	x8, _AR_PHY_CCA_FILTERWINDOW_LENGTH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AR_PHY_CCA_FILTERWINDOW_LENGTH@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	madd	x9, x21, x22, x25
	ldr	w10, [x9]
	sub	w28, w8, w10
	ldr	w8, [x9, #16]
	mov	x9, x28
	stp	x8, x9, [sp]
	mov	x0, x19
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_seq_printf
	cmp	w28, #1
	b.lt	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, #0
	madd	x8, x21, x22, x25
	add	x20, x8, #8
	lsl	x28, x28, #2
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20]
	ldr	w2, [x8, x24]
	mov	x0, x19
	mov	x1, x23
	bl	_seq_printf
	add	x24, x24, #4
	cmp	x28, x24
	b.ne	LBB0_9
	b	LBB0_2
LBB0_10:
	mov	w0, #0
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Channel Noise Floor : %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Chain | privNF | # Readings | NF Readings\n"

	.comm	_NUM_NF_READINGS,4,2            ; @NUM_NF_READINGS
	.comm	_AR5416_MAX_CHAINS,4,2          ; @AR5416_MAX_CHAINS
	.comm	_AR_PHY_CCA_FILTERWINDOW_LENGTH,4,2 ; @AR_PHY_CCA_FILTERWINDOW_LENGTH
l_.str.2:                               ; @.str.2
	.asciz	" %d\t %d\t %d\t\t"

l_.str.3:                               ; @.str.3
	.asciz	" %d"

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

	.no_dead_strip	_read_file_dump_nfcal
.subsections_via_symbols
