	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gnu_xfer_memory
_gnu_xfer_memory:                       ## @gnu_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, %r13d
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_current_inferior@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	(%rax), %rbx
	jmp	LBB0_5
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	_MACH_PORT_NULL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	testl	%r13d, %r13d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %r9
	cmoveq	%rax, %r9
	movq	%r15, (%rsp)
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rcx
	movl	%r14d, %r8d
	callq	_inf_debug
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	addq	$8, %rsp
	testl	%r13d, %r13d
	je	LBB0_9
## %bb.8:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gnu_write_inferior             ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gnu_read_inferior              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_current_inferior,8,3           ## @current_inferior
	.comm	_MACH_PORT_NULL,8,3             ## @MACH_PORT_NULL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %p[%d] %s %p"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"<--"

L_.str.4:                               ## @.str.4
	.asciz	"-->"

	.no_dead_strip	_gnu_xfer_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gnu_xfer_memory
_gnu_xfer_memory:                       ; @gnu_xfer_memory
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _current_inferior@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_inferior@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x23, [x8]
	b	LBB0_4
LBB0_3:
	mov	x23, #0
LBB0_4:
Lloh3:
	adrp	x8, _MACH_PORT_NULL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MACH_PORT_NULL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x23, x8
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh6:
	adrp	x8, l_.str.1@PAGE
Lloh7:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh8:
	adrp	x9, l_.str.2@PAGE
Lloh9:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w22, #0
	csel	x2, x9, x8, eq
Lloh10:
	adrp	x8, l_.str.3@PAGE
Lloh11:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh12:
	adrp	x9, l_.str.4@PAGE
Lloh13:
	add	x9, x9, l_.str.4@PAGEOFF
	csel	x5, x9, x8, eq
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x21
	mov	x4, x19
	mov	x6, x20
	bl	_inf_debug
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	cbz	w22, LBB0_8
; %bb.7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_gnu_write_inferior
LBB0_8:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_gnu_read_inferior
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_current_inferior,8,3           ; @current_inferior
	.comm	_MACH_PORT_NULL,8,3             ; @MACH_PORT_NULL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %p[%d] %s %p"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"<--"

l_.str.4:                               ; @.str.4
	.asciz	"-->"

	.no_dead_strip	_gnu_xfer_memory
.subsections_via_symbols
