	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spectral_get
_spectral_get:                          ## @spectral_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_SPECTRAL_CONTROL_GET_PARAMS@GOTPCREL(%rip), %rax
	movq	_ATH_DIAG_DYN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rdi)
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movq	%r14, 16(%rbx)
	movl	$32, 4(%rbx)
	movl	40(%rbx), %edi
	movq	_SIOCGATHSPECTRAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_ioctl
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	movl	8(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	-48(%rbp), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	-44(%rbp), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	-40(%rbp), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	-36(%rbp), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	-32(%rbp), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	-28(%rbp), %esi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	-24(%rbp), %esi
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	-20(%rbp), %esi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPECTRAL_CONTROL_GET_PARAMS,4,2 ## @SPECTRAL_CONTROL_GET_PARAMS
	.comm	_ATH_DIAG_DYN,4,2               ## @ATH_DIAG_DYN
	.comm	_SIOCGATHSPECTRAL,4,2           ## @SIOCGATHSPECTRAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.2:                               ## @.str.2
	.asciz	"   ss_enabled: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"   ss_active: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"   ss_count: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"   ss_fft_period: %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"   ss_period: %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"   ss_short_report: %d\n"

L_.str.8:                               ## @.str.8
	.asciz	"   ss_spectral_pri: %d\n"

L_.str.9:                               ## @.str.9
	.asciz	"   radar_bin_thresh_sel: %d\n"

L_str:                                  ## @str
	.asciz	"Spectral parameters (raw):"

	.no_dead_strip	_spectral_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spectral_get
_spectral_get:                          ; @spectral_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
Lloh0:
	adrp	x8, _SPECTRAL_CONTROL_GET_PARAMS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPECTRAL_CONTROL_GET_PARAMS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ATH_DIAG_DYN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ATH_DIAG_DYN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x0]
	add	x20, sp, #16
	mov	w21, #32
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	stp	xzr, xzr, [x19, #24]
	str	x20, [x19, #16]
	str	w21, [x19, #4]
	ldr	w0, [x19, #40]
Lloh6:
	adrp	x8, _SIOCGATHSPECTRAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIOCGATHSPECTRAL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_ioctl
	tbz	x0, #63, LBB0_2
; %bb.1:
	ldr	w2, [x19, #8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
Lloh11:
	adrp	x0, l_str@PAGE
Lloh12:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldr	w8, [sp, #16]
	str	x8, [sp]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w8, [sp, #20]
	str	x8, [sp]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w8, [sp, #24]
	str	x8, [sp]
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	ldr	w8, [sp, #28]
	str	x8, [sp]
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	ldr	w8, [sp, #32]
	str	x8, [sp]
Lloh21:
	adrp	x0, l_.str.6@PAGE
Lloh22:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	ldr	w8, [sp, #36]
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
	ldr	w8, [sp, #40]
	str	x8, [sp]
Lloh25:
	adrp	x0, l_.str.8@PAGE
Lloh26:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	ldr	w8, [sp, #44]
	str	x8, [sp]
Lloh27:
	adrp	x0, l_.str.9@PAGE
Lloh28:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SPECTRAL_CONTROL_GET_PARAMS,4,2 ; @SPECTRAL_CONTROL_GET_PARAMS
	.comm	_ATH_DIAG_DYN,4,2               ; @ATH_DIAG_DYN
	.comm	_SIOCGATHSPECTRAL,4,2           ; @SIOCGATHSPECTRAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.2:                               ; @.str.2
	.asciz	"   ss_enabled: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"   ss_active: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"   ss_count: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"   ss_fft_period: %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"   ss_period: %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"   ss_short_report: %d\n"

l_.str.8:                               ; @.str.8
	.asciz	"   ss_spectral_pri: %d\n"

l_.str.9:                               ; @.str.9
	.asciz	"   radar_bin_thresh_sel: %d\n"

l_str:                                  ; @str
	.asciz	"Spectral parameters (raw):"

	.no_dead_strip	_spectral_get
.subsections_via_symbols
