	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs_update_last_rssi            ## -- Begin function rs_update_last_rssi
	.p2align	4, 0x90
_rs_update_last_rssi:                   ## @rs_update_last_rssi
	.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	%rsi, %r14
	movl	(%rdx), %eax
	movl	%eax, (%rsi)
	movq	8(%rdx), %rax
	movq	(%rax), %rcx
	movq	8(%rsi), %rdi
	movq	%rcx, (%rdi)
	movq	8(%rax), %rcx
	movq	%rcx, 8(%rdi)
	movq	16(%rax), %rax
	movq	%rax, 16(%rdi)
	movq	_S8_MIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rsi)
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %r15d
	movl	%ebx, %edi
	callq	_BIT
	movq	8(%r14), %rdi
	testl	%r15d, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdi,%rbx,8), %rax
	cmpq	16(%r14), %rax
	jle	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, 16(%r14)
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S8_MIN,8,3                     ## @S8_MIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs_update_last_rssi            ; -- Begin function rs_update_last_rssi
	.p2align	2
_rs_update_last_rssi:                   ; @rs_update_last_rssi
	.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, x1
	ldr	w8, [x2]
	str	w8, [x1]
	ldr	x8, [x2, #8]
	ldr	x9, [x8]
	ldr	x0, [x1, #8]
	str	x9, [x0]
	ldr	x9, [x8, #8]
	str	x9, [x0, #8]
	ldr	x8, [x8, #16]
	str	x8, [x0, #16]
Lloh0:
	adrp	x8, _S8_MIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S8_MIN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x1, #16]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x20, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	bl	_ARRAY_SIZE
	cmp	x20, w0, sxtw
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x19]
	mov	x0, x20
	bl	_BIT
	mov	x8, x0
	ldr	x0, [x19, #8]
	tst	w8, w21
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x0, x20, lsl #3]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.le	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x8, [x19, #16]
	b	LBB0_2
LBB0_6:
	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	_S8_MIN,8,3                     ; @S8_MIN
.subsections_via_symbols
