	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_local_stats             ## -- Begin function update_local_stats
	.p2align	4, 0x90
_update_local_stats:                    ## @update_local_stats
	.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	_slave_mode@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	leaq	_update_local_stats.slave_cnt(%rip), %rbx
	movq	%rbx, %rdi
	callq	_compute_slaves_stats
	movq	_WStats@GOTPCREL(%rip), %r14
	movq	_worker_id@GOTPCREL(%rip), %r15
	movslq	(%r15), %rdi
	addq	%rdi, %rdi
	addq	(%r14), %rdi
	movq	%rbx, %rsi
	callq	_update_local_stats_copy
	movq	(%r14), %rax
	movslq	(%r15), %rcx
	leaq	(%rax,%rcx,2), %rdi
	incq	%rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_update_local_stats_copy        ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_slave_mode,4,2                 ## @slave_mode
.zerofill __DATA,__bss,_update_local_stats.slave_cnt,16,4 ## @update_local_stats.slave_cnt
	.comm	_WStats,8,3                     ## @WStats
	.comm	_worker_id,4,2                  ## @worker_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_local_stats             ; -- Begin function update_local_stats
	.p2align	2
_update_local_stats:                    ; @update_local_stats
	.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
Lloh0:
	adrp	x8, _slave_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _slave_mode@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x19, _update_local_stats.slave_cnt@PAGE
Lloh4:
	add	x19, x19, _update_local_stats.slave_cnt@PAGEOFF
	mov	x0, x19
	bl	_compute_slaves_stats
Lloh5:
	adrp	x20, _WStats@GOTPAGE
Lloh6:
	ldr	x20, [x20, _WStats@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh7:
	adrp	x21, _worker_id@GOTPAGE
Lloh8:
	ldr	x21, [x21, _worker_id@GOTPAGEOFF]
	ldrsw	x9, [x21]
	add	x0, x8, x9, lsl #1
	mov	x1, x19
	bl	_update_local_stats_copy
	ldr	x8, [x20]
	ldrsw	x9, [x21]
	add	x8, x8, x9, lsl #1
	add	x0, x8, #1
	mov	x1, x19
	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
	b	_update_local_stats_copy
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
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_slave_mode,4,2                 ; @slave_mode
.zerofill __DATA,__bss,_update_local_stats.slave_cnt,16,2 ; @update_local_stats.slave_cnt
	.comm	_WStats,8,3                     ; @WStats
	.comm	_worker_id,4,2                  ; @worker_id
.subsections_via_symbols
