	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function debug_to_xfer_memory
_debug_to_xfer_memory:                  ## @debug_to_xfer_memory
	.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
	movl	%ecx, %r12d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	_debug_target@GOTPCREL(%rip), %rax
	callq	*(%rax)
	movl	%eax, %r15d
	movq	_gdb_stdlog@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	testl	%r12d, %r12d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r8
	cmoveq	%rax, %r8
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r9d
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_5
## %bb.1:
	movl	(%r14), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_fputs_unfiltered
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	leaq	L_.str.5(%rip), %r12
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %edi
	movzbl	(%rbx,%r15), %edx
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
	incq	%r15
	cmpq	%r15, %r13
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rbx,%r15), %eax
	testb	$15, %al
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
	jmp	LBB0_4
LBB0_5:
	movl	(%r14), %esi
	movl	$10, %edi
	callq	_fputc_unfiltered
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_debug_target,8,3               ## @debug_target
	.comm	_gdb_stdlog,4,2                 ## @gdb_stdlog
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"target_xfer_memory (0x%x, xxx, %d, %s, xxx) = %d"

L_.str.1:                               ## @.str.1
	.asciz	"write"

L_.str.2:                               ## @.str.2
	.asciz	"read"

L_.str.3:                               ## @.str.3
	.asciz	", bytes ="

L_.str.4:                               ## @.str.4
	.asciz	"\n"

L_.str.5:                               ## @.str.5
	.asciz	" %02x"

	.no_dead_strip	_debug_to_xfer_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function debug_to_xfer_memory
_debug_to_xfer_memory:                  ; @debug_to_xfer_memory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _debug_target@GOTPAGE
Lloh1:
	ldr	x8, [x8, _debug_target@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	blr	x8
	mov	x20, x0
Lloh3:
	adrp	x24, _gdb_stdlog@GOTPAGE
Lloh4:
	ldr	x24, [x24, _gdb_stdlog@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh7:
	adrp	x9, l_.str.2@PAGE
Lloh8:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w21, #0
	csel	x8, x9, x8, eq
	stp	x8, x20, [sp, #16]
	stp	x23, x22, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf_unfiltered
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.1:
	ldr	w1, [x24]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_fputs_unfiltered
	mov	w23, w20
Lloh13:
	adrp	x21, l_.str.4@PAGE
Lloh14:
	add	x21, x21, l_.str.4@PAGEOFF
	mov	x25, x19
Lloh15:
	adrp	x22, l_.str.5@PAGE
Lloh16:
	add	x22, x22, l_.str.5@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x24]
	ldrb	w8, [x19], #1
	str	x8, [sp]
	mov	x1, x22
	bl	_fprintf_unfiltered
	add	x25, x25, #1
	subs	x23, x23, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	tst	x25, #0xf
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x24]
	mov	x1, x21
	bl	_fprintf_unfiltered
	b	LBB0_2
LBB0_5:
	ldr	w1, [x24]
	mov	w0, #10
	bl	_fputc_unfiltered
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_debug_target,8,3               ; @debug_target
	.comm	_gdb_stdlog,4,2                 ; @gdb_stdlog
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"target_xfer_memory (0x%x, xxx, %d, %s, xxx) = %d"

l_.str.1:                               ; @.str.1
	.asciz	"write"

l_.str.2:                               ; @.str.2
	.asciz	"read"

l_.str.3:                               ; @.str.3
	.asciz	", bytes ="

l_.str.4:                               ; @.str.4
	.asciz	"\n"

l_.str.5:                               ; @.str.5
	.asciz	" %02x"

	.no_dead_strip	_debug_to_xfer_memory
.subsections_via_symbols
