	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function monitor_write_memory_longlongs
_monitor_write_memory_longlongs:        ## @monitor_write_memory_longlongs
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movl	%edx, %ebx
	movq	%rsi, %r15
	movl	%edi, %esi
	movq	_current_monitor@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movslq	4(%rax), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_monitor_printf
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_monitor_expect_prompt
	cmpl	$8, %ebx
	jl	LBB0_6
## %bb.3:
	addl	$8, %ebx
	leaq	_monitor_write_memory_longlongs.hexstage(%rip), %r12
	leaq	L_.str(%rip), %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%r14), %rdi
	movq	%r12, %rsi
	callq	_longlong_hexchars
	movb	$0, (%rax)
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_monitor_printf
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_monitor_expect_prompt
	addq	$8, %r14
	addl	$-8, %ebx
	cmpl	$15, %ebx
	ja	LBB0_4
## %bb.5:
	movq	_current_monitor@GOTPCREL(%rip), %r12
LBB0_6:
	movq	(%r12), %rax
	movslq	(%rax), %rdi
	xorl	%eax, %eax
	callq	_monitor_printf
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_monitor_expect_prompt
	jmp	LBB0_7
LBB0_1:
	xorl	%r14d, %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_monitor_write_memory_longlongs.hexstage,20,4 ## @monitor_write_memory_longlongs.hexstage
	.comm	_current_monitor,8,3            ## @current_monitor
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\r"

	.no_dead_strip	_monitor_write_memory_longlongs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function monitor_write_memory_longlongs
_monitor_write_memory_longlongs:        ; @monitor_write_memory_longlongs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w2, LBB0_5
; %bb.1:
	mov	x21, x2
	mov	x19, x1
Lloh0:
	adrp	x23, _current_monitor@GOTPAGE
Lloh1:
	ldr	x23, [x23, _current_monitor@GOTPAGEOFF]
	ldr	x8, [x23]
	ldrsw	x8, [x8, #4]
	str	x0, [sp]
	mov	x0, x8
	bl	_monitor_printf
	mov	x0, #0
	mov	w1, #0
	bl	_monitor_expect_prompt
	mov	w20, #0
	cmp	w21, #8
	b.lt	LBB0_4
; %bb.2:
	mov	x20, #0
	add	w24, w21, #8
Lloh2:
	adrp	x21, _monitor_write_memory_longlongs.hexstage@PAGE
Lloh3:
	add	x21, x21, _monitor_write_memory_longlongs.hexstage@PAGEOFF
Lloh4:
	adrp	x22, l_.str@PAGE
Lloh5:
	add	x22, x22, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, x20]
	mov	x1, x21
	bl	_longlong_hexchars
	strb	wzr, [x0]
	str	x21, [sp]
	mov	x0, x22
	bl	_monitor_printf
	mov	x0, #0
	mov	w1, #0
	bl	_monitor_expect_prompt
	add	x20, x20, #8
	sub	w24, w24, #8
	cmp	w24, #15
	b.hi	LBB0_3
LBB0_4:
	ldr	x8, [x23]
	ldrsw	x0, [x8]
	bl	_monitor_printf
	mov	x0, #0
	mov	w1, #0
	bl	_monitor_expect_prompt
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_monitor_write_memory_longlongs.hexstage,20,0 ; @monitor_write_memory_longlongs.hexstage
	.comm	_current_monitor,8,3            ; @current_monitor
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\r"

	.no_dead_strip	_monitor_write_memory_longlongs
.subsections_via_symbols
