	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amradio_get_stat
_amradio_get_stat:                      ## @amradio_get_stat
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_AMRADIO_GET_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_amradio_send_cmd
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rcx
	movl	8(%rcx), %edx
	sarl	$7, %edx
	movl	%edx, (%r15)
	movl	12(%rcx), %ecx
	shll	$8, %ecx
	andl	$61440, %ecx                    ## imm = 0xF000
	movl	%ecx, (%r14)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AMRADIO_GET_SIGNAL,4,2         ## @AMRADIO_GET_SIGNAL
	.no_dead_strip	_amradio_get_stat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amradio_get_stat
_amradio_get_stat:                      ; @amradio_get_stat
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _AMRADIO_GET_SIGNAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AMRADIO_GET_SIGNAL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	mov	w5, #1
	bl	_amradio_send_cmd
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldr	w9, [x8, #8]
	asr	w9, w9, #7
	str	w9, [x20]
	ldr	w8, [x8, #12]
	lsl	w8, w8, #8
	and	w8, w8, #0xf000
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AMRADIO_GET_SIGNAL,4,2         ; @AMRADIO_GET_SIGNAL
	.no_dead_strip	_amradio_get_stat
.subsections_via_symbols
