	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_get_signal_strength
_iwl_mvm_get_signal_strength:           ## @iwl_mvm_get_signal_strength
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	negl	%r14d
	movq	_S8_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmovael	%eax, %r14d
	movl	%r8d, %ebx
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	negl	%ebx
	cmovael	%eax, %ebx
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_max
	movl	%eax, %r13d
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_IWL_DEBUG_STATS
	movl	%r13d, (%r15)
	movq	_RATE_MCS_ANT_AB_MSK@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movq	_RATE_MCS_ANT_POS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r12d
	movl	%r12d, 4(%r15)
	movq	8(%r15), %rax
	movl	%r14d, (%rax)
	movl	%ebx, 4(%rax)
	movq	_S8_MIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S8_MIN,4,2                     ## @S8_MIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"energy In A %d B %d, and max %d\n"

	.comm	_RATE_MCS_ANT_AB_MSK,4,2        ## @RATE_MCS_ANT_AB_MSK
	.comm	_RATE_MCS_ANT_POS,4,2           ## @RATE_MCS_ANT_POS
	.no_dead_strip	_iwl_mvm_get_signal_strength
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_get_signal_strength
_iwl_mvm_get_signal_strength:           ; @iwl_mvm_get_signal_strength
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	cmp	w3, #0
Lloh0:
	adrp	x25, _S8_MIN@GOTPAGE
Lloh1:
	ldr	x25, [x25, _S8_MIN@GOTPAGEOFF]
	ldr	w8, [x25]
	csneg	w22, w8, w3, eq
	cmp	w4, #0
	csneg	w23, w8, w4, eq
	mov	x0, x22
	mov	x1, x23
	bl	_max
	mov	x24, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	bl	_IWL_DEBUG_STATS
	str	w24, [x20]
Lloh4:
	adrp	x8, _RATE_MCS_ANT_AB_MSK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RATE_MCS_ANT_AB_MSK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	and	w8, w8, w19
Lloh7:
	adrp	x9, _RATE_MCS_ANT_POS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _RATE_MCS_ANT_POS@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	asr	w8, w8, w9
	str	w8, [x20, #4]
	ldr	x8, [x20, #8]
	stp	w22, w23, [x8]
	ldr	w9, [x25]
	str	w9, [x8, #8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_S8_MIN,4,2                     ; @S8_MIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"energy In A %d B %d, and max %d\n"

	.comm	_RATE_MCS_ANT_AB_MSK,4,2        ; @RATE_MCS_ANT_AB_MSK
	.comm	_RATE_MCS_ANT_POS,4,2           ; @RATE_MCS_ANT_POS
	.no_dead_strip	_iwl_mvm_get_signal_strength
.subsections_via_symbols
