	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function updateAddr
_updateAddr:                            ## @updateAddr
	.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
	movq	%rcx, %r12
                                        ## kill: def $esi killed $esi def $rsi
	movl	$0, -44(%rbp)
	movq	_THRESHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	-7(%rax), %ecx
	leal	(%rax,%rsi), %ebx
	cmpl	%esi, %ecx
	movl	$999, %ecx                      ## imm = 0x3E7
	cmovgl	%ecx, %ebx
	cmpl	%esi, %eax
	cmovlel	%ecx, %ebx
	cmpl	$4, %ebx
	jb	LBB0_7
## %bb.1:
	movq	%r8, %r14
	movl	%edx, %r15d
	movq	%rdi, %r13
	leaq	-44(%rbp), %rdi
	movq	%r13, %rsi
	movl	$4, %edx
	movl	%r15d, %ecx
	callq	_r_mem_swaporcopy
	testq	%r12, %r12
	je	LBB0_4
## %bb.2:
	cmpl	$4, %ebx
	jl	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_r_read_ble32
	movq	%rax, (%r12)
LBB0_4:
	testq	%r14, %r14
	je	LBB0_7
## %bb.5:
	cmpl	$8, %ebx
	jl	LBB0_7
## %bb.6:
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_r_read_ble64
	movq	%rax, (%r14)
LBB0_7:
	movss	-44(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THRESHOLD,4,2                  ## @THRESHOLD
	.no_dead_strip	_updateAddr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function updateAddr
_updateAddr:                            ; @updateAddr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _THRESHOLD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _THRESHOLD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w9, w8, #7
	cmp	w9, w1
	ccmp	w8, w1, #4, le
	add	w8, w8, w1
	mov	w9, #999
	csel	w23, w8, w9, gt
	cmp	w23, #4
	b.lo	LBB0_7
; %bb.1:
	mov	x19, x4
	mov	x22, x3
	mov	x20, x2
	mov	x21, x0
	add	x0, sp, #12
	mov	x1, x21
	mov	w2, #4
	mov	x3, x20
	bl	_r_mem_swaporcopy
	cbz	x22, LBB0_4
; %bb.2:
	cmp	w23, #4
	b.lt	LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x20
	bl	_r_read_ble32
	str	x0, [x22]
LBB0_4:
	cbz	x19, LBB0_7
; %bb.5:
	cmp	w23, #8
	b.lt	LBB0_7
; %bb.6:
	mov	x0, x21
	mov	x1, x20
	bl	_r_read_ble64
	str	x0, [x19]
LBB0_7:
	ldr	s0, [sp, #12]
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_THRESHOLD,4,2                  ; @THRESHOLD
	.no_dead_strip	_updateAddr
.subsections_via_symbols
