	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function monitor_set_ROM
_monitor_set_ROM:                       ## @monitor_set_ROM
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	leaq	-8(%rbp), %rdi
	leaq	-4(%rbp), %rsi
	callq	_get_attrib_range
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	-8(%rbp), %edi
	movl	-4(%rbp), %esi
	callq	_MEMORY_SetROM
	movl	-8(%rbp), %esi
	movl	-4(%rbp), %edx
	leaq	L_.str(%rip), %rdi
	callq	_printf
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Changed memory from %04X to %04X into ROM\n"

	.no_dead_strip	_monitor_set_ROM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function monitor_set_ROM
_monitor_set_ROM:                       ; @monitor_set_ROM
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	x0, x29, #4
	add	x1, sp, #8
	bl	_get_attrib_range
	cbz	x0, LBB0_2
; %bb.1:
	ldur	w0, [x29, #-4]
	ldr	w1, [sp, #8]
	bl	_MEMORY_SetROM
	ldur	w1, [x29, #-4]
	ldr	w2, [sp, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Changed memory from %04X to %04X into ROM\n"

	.no_dead_strip	_monitor_set_ROM
.subsections_via_symbols
