	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function accumulate_16bit_val
_accumulate_16bit_val:                  ## @accumulate_16bit_val
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edi
	movzwl	%di, %eax
	movl	%edi, %ecx
	andl	$-65536, %ecx                   ## imm = 0xFFFF0000
	leal	(%rcx,%rsi), %edx
	cmpq	%rsi, %rax
	leal	65536(%rcx,%rsi), %esi
	cmovlel	%edx, %esi
                                        ## kill: def $edi killed $edi killed $rdi
	popq	%rbp
	jmp	_WRITE_ONCE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_accumulate_16bit_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function accumulate_16bit_val
_accumulate_16bit_val:                  ; @accumulate_16bit_val
	.cfi_startproc
; %bb.0:
	ldr	w0, [x0]
	and	w8, w0, #0xffff0000
	add	w8, w8, w1
	add	w9, w8, #16, lsl #12            ; =65536
	cmp	x1, w0, uxth
	csel	w1, w9, w8, lt
                                        ; kill: def $w0 killed $w0 killed $x0
	b	_WRITE_ONCE
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_accumulate_16bit_val
.subsections_via_symbols
