	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function monitor_change_mem
_monitor_change_mem:                    ## @monitor_change_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$0, -36(%rbp)
	callq	_get_hex
	leaq	-36(%rbp), %rdi
	callq	_get_hex
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	_MEMORY_attrib@GOTPCREL(%rip), %r15
	movq	_MEMORY_HARDWARE@GOTPCREL(%rip), %r12
	leaq	-36(%rbp), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_MEMORY_dPutByte
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	(%rbx)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_get_hex
	testq	%rax, %rax
	je	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movslq	(%rbx), %rdi
	movq	(%rax,%rdi,8), %rax
	movl	-36(%rbp), %esi
	cmpq	(%r12), %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_MEMORY_HwPutByte
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_MEMORY_dPutByte
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%rbx), %rax
	leal	1(%rax), %edi
	movl	%edi, (%rbx)
	movl	-36(%rbp), %esi
	cmpl	$256, %esi                      ## imm = 0x100
	jl	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rcx
	movq	8(%rcx,%rax,8), %rax
	shrl	$8, %esi
	cmpq	(%r12), %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_MEMORY_HwPutByte
	jmp	LBB0_9
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEMORY_attrib,8,3              ## @MEMORY_attrib
	.comm	_MEMORY_HARDWARE,8,3            ## @MEMORY_HARDWARE
	.no_dead_strip	_monitor_change_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function monitor_change_mem
_monitor_change_mem:                    ; @monitor_change_mem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	str	wzr, [sp, #12]
	bl	_get_hex
	add	x0, sp, #12
	bl	_get_hex
	cbz	x0, LBB0_11
; %bb.1:
Lloh0:
	adrp	x20, _MEMORY_attrib@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MEMORY_attrib@GOTPAGEOFF]
Lloh2:
	adrp	x21, _MEMORY_HARDWARE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MEMORY_HARDWARE@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_MEMORY_dPutByte
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #12
	bl	_get_hex
	cbz	x0, LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldrsw	x0, [x19]
	ldr	x8, [x8, x0, lsl #3]
	ldr	x9, [x21]
	ldr	w1, [sp, #12]
                                        ; kill: def $w0 killed $w0 killed $x0
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_MEMORY_HwPutByte
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_MEMORY_dPutByte
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x8, [x19]
	add	x0, x8, #1
	str	w0, [x19]
	ldr	w8, [sp, #12]
	cmp	w8, #256
	b.lt	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x20]
	ldr	x9, [x9, x0, lsl #3]
	ldr	x10, [x21]
	lsr	w1, w8, #8
                                        ; kill: def $w0 killed $w0 killed $x0
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_MEMORY_HwPutByte
	b	LBB0_3
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MEMORY_attrib,8,3              ; @MEMORY_attrib
	.comm	_MEMORY_HARDWARE,8,3            ; @MEMORY_HARDWARE
	.no_dead_strip	_monitor_change_mem
.subsections_via_symbols
