	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ani_read_state
_ani_read_state:                        ## @ani_read_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$4, %edx
	callq	_strncpy
	movq	_HAL_DIAG_ANI_CURRENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	-40(%rbp), %rax
	movq	%rax, -56(%rbp)
	movl	$28, -64(%rbp)
	movq	_SIOCGATHDIAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_ath_driver_req_fetch_diag
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	movl	-60(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movl	-40(%rbp), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_printf
	movl	-36(%rbp), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_printf
	movl	-32(%rbp), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_printf
	movl	-28(%rbp), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_printf
	movl	-24(%rbp), %esi
	leaq	L_.str.5(%rip), %rdi
	callq	_printf
	movl	-20(%rbp), %esi
	leaq	L_.str.6(%rip), %rdi
	callq	_printf
	movl	-16(%rbp), %esi
	leaq	L_.str.7(%rip), %rdi
	callq	_printf
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HAL_DIAG_ANI_CURRENT,4,2       ## @HAL_DIAG_ANI_CURRENT
	.comm	_SIOCGATHDIAG,4,2               ## @SIOCGATHDIAG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"  ofdm_noise_immunity_level=%d\n"

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

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

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

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

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

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

	.no_dead_strip	_ani_read_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ani_read_state
_ani_read_state:                        ; @ani_read_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
	mov	w2, #4
	bl	_strncpy
Lloh0:
	adrp	x8, _HAL_DIAG_ANI_CURRENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HAL_DIAG_ANI_CURRENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #56]
	add	x8, sp, #8
	str	x8, [sp, #48]
	mov	w8, #28
	str	w8, [sp, #40]
Lloh3:
	adrp	x8, _SIOCGATHDIAG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIOCGATHDIAG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #40
	mov	x0, x19
	bl	_ath_driver_req_fetch_diag
	tbz	x0, #63, LBB0_2
; %bb.1:
	ldr	w2, [sp, #44]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	ldr	w1, [sp, #8]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	w1, [sp, #12]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w1, [sp, #16]
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w1, [sp, #20]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	ldr	w1, [sp, #24]
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	ldr	w1, [sp, #28]
Lloh18:
	adrp	x0, l_.str.6@PAGE
Lloh19:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	ldr	w1, [sp, #32]
Lloh20:
	adrp	x0, l_.str.7@PAGE
Lloh21:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_HAL_DIAG_ANI_CURRENT,4,2       ; @HAL_DIAG_ANI_CURRENT
	.comm	_SIOCGATHDIAG,4,2               ; @SIOCGATHDIAG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"  ofdm_noise_immunity_level=%d\n"

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

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

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

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

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

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

	.no_dead_strip	_ani_read_state
.subsections_via_symbols
