	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_getrssi              ## -- Begin function ieee80211_getrssi
	.p2align	4, 0x90
_ieee80211_getrssi:                     ## @ieee80211_getrssi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdi, %rsi
	movq	16(%rdi), %rax
	movq	$0, -8(%rbp)
	movl	(%rdi), %ecx
	cmpl	$133, %ecx
	je	LBB0_3
## %bb.1:
	cmpl	$132, %ecx
	je	LBB0_5
## %bb.2:
	cmpl	$131, %ecx
	jne	LBB0_6
LBB0_3:
	addq	$8, %rax
	movq	_get_adhoc_rssi@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_5:
	addq	$8, %rax
	movq	_get_hostap_rssi@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %edx
	leaq	-8(%rbp), %rcx
	movq	%rax, %rdi
	callq	_ieee80211_iterate_nodes_vap
	jmp	LBB0_9
LBB0_6:
	movq	8(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	*(%rax)
	movl	%eax, -8(%rbp)
LBB0_8:
	movl	$1, -4(%rbp)
LBB0_9:
	movl	-8(%rbp), %eax
	movl	-4(%rbp), %ecx
	testl	%ecx, %ecx
	movl	$1, %esi
	cmovnel	%ecx, %esi
	cltd
	idivl	%esi
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_get_adhoc_rssi,4,2             ## @get_adhoc_rssi
	.comm	_get_hostap_rssi,4,2            ## @get_hostap_rssi
	.comm	_get_mesh_rssi,4,2              ## @get_mesh_rssi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_getrssi              ; -- Begin function ieee80211_getrssi
	.p2align	2
_ieee80211_getrssi:                     ; @ieee80211_getrssi
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x1, x0
	ldr	x8, [x0, #16]
	str	xzr, [sp, #8]
	ldr	w9, [x0]
	cmp	w9, #133
	b.eq	LBB0_3
; %bb.1:
	cmp	w9, #132
	b.eq	LBB0_4
; %bb.2:
	cmp	w9, #131
	b.ne	LBB0_6
LBB0_3:
	add	x0, x8, #8
Lloh0:
	adrp	x8, _get_adhoc_rssi@GOTPAGE
Lloh1:
	ldr	x8, [x8, _get_adhoc_rssi@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	add	x0, x8, #8
Lloh2:
	adrp	x8, _get_hostap_rssi@GOTPAGE
Lloh3:
	ldr	x8, [x8, _get_hostap_rssi@GOTPAGEOFF]
LBB0_5:
	ldr	w2, [x8]
	add	x3, sp, #8
	bl	_ieee80211_iterate_nodes_vap
	b	LBB0_9
LBB0_6:
	ldr	x0, [x1, #8]
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x8, [x8]
	blr	x8
	str	w0, [sp, #8]
LBB0_8:
	mov	w8, #1
	str	w8, [sp, #12]
LBB0_9:
	ldp	w8, w9, [sp, #8]
	cmp	w9, #0
	csinc	w9, w9, wzr, ne
	sdiv	w0, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_get_adhoc_rssi,4,2             ; @get_adhoc_rssi
	.comm	_get_hostap_rssi,4,2            ; @get_hostap_rssi
	.comm	_get_mesh_rssi,4,2              ; @get_mesh_rssi
.subsections_via_symbols
