	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function monitor_sum_mem
_monitor_sum_mem:                       ## @monitor_sum_mem
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	-24(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	callq	_get_hex2
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	-24(%rbp), %ebx
	xorl	%r14d, %r14d
	cmpl	-20(%rbp), %ebx
	jg	LBB0_4
## %bb.2:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_MEMORY_SafeGetByte
	addl	%eax, %r14d
	leal	1(%rbx), %eax
	cmpl	-20(%rbp), %ebx
	movl	%eax, %ebx
	jl	LBB0_3
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_printf
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SUM: %X\n"

	.no_dead_strip	_monitor_sum_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function monitor_sum_mem
_monitor_sum_mem:                       ; @monitor_sum_mem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_get_hex2
	cbz	x0, LBB0_6
; %bb.1:
	ldp	w8, w19, [sp, #8]
	cmp	w19, w8
	b.le	LBB0_3
; %bb.2:
	mov	w20, #0
	b	LBB0_5
LBB0_3:
	mov	w20, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_MEMORY_SafeGetByte
	add	w20, w20, w0
	add	w8, w19, #1
	ldr	w9, [sp, #8]
	cmp	w19, w9
	mov	x19, x8
	b.lt	LBB0_4
LBB0_5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_printf
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SUM: %X\n"

	.no_dead_strip	_monitor_sum_mem
.subsections_via_symbols
