	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vx_load_command
_vx_load_command:                       ## @vx_load_command
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_2:
	movq	%rbx, %rdi
	callq	_tilde_expand
	movq	%rax, %rbx
	movq	_xfree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_make_cleanup
	xorl	%eax, %eax
	callq	_dont_repeat
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PIDGET
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	_target_has_execution@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_query
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_target_kill
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	callq	_error
LBB0_7:
	movq	_immediate_quit@GOTPCREL(%rip), %r15
	incl	(%r15)
	leaq	-36(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_net_load
	cmpl	$-1, %eax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rdi
	callq	_error
LBB0_9:
	decl	(%r15)
	movl	-36(%rbp), %edx
	movl	-32(%rbp), %ecx
	movl	-28(%rbp), %r8d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_vx_add_symbols
	xorl	%eax, %eax
	callq	_reinit_frame_cache
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"The load command takes a file name"

	.comm	_xfree,4,2                      ## @xfree
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_target_has_execution,8,3       ## @target_has_execution
L_.str.1:                               ## @.str.1
	.asciz	"You may not load a module while the target task is running.\nKill the target task? "

L_.str.2:                               ## @.str.2
	.asciz	"Load canceled."

	.comm	_QUIT,4,2                       ## @QUIT
	.comm	_immediate_quit,4,2             ## @immediate_quit
L_.str.3:                               ## @.str.3
	.asciz	"Load failed on target machine"

	.no_dead_strip	_vx_load_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vx_load_command
_vx_load_command:                       ; @vx_load_command
	.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, x1
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
	mov	x0, x20
	bl	_tilde_expand
	mov	x20, x0
Lloh2:
	adrp	x8, _xfree@GOTPAGE
Lloh3:
	ldr	x8, [x8, _xfree@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_make_cleanup
	bl	_dont_repeat
Lloh5:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh6:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_PIDGET
Lloh8:
	adrp	x8, _target_has_execution@GOTPAGE
Lloh9:
	ldr	x8, [x8, _target_has_execution@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_6
; %bb.3:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_query
	cbz	x0, LBB0_5
; %bb.4:
	bl	_target_kill
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
LBB0_6:
Lloh15:
	adrp	x21, _immediate_quit@GOTPAGE
Lloh16:
	ldr	x21, [x21, _immediate_quit@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	add	x1, sp, #12
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x20
	bl	_net_load
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.7:
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_error
LBB0_8:
	ldr	w8, [x21]
	sub	w8, w8, #1
	str	w8, [x21]
	ldp	w3, w2, [sp, #8]
	ldr	w4, [sp, #4]
	mov	x0, x20
	mov	x1, x19
	bl	_vx_add_symbols
	bl	_reinit_frame_cache
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"The load command takes a file name"

	.comm	_xfree,4,2                      ; @xfree
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_target_has_execution,8,3       ; @target_has_execution
l_.str.1:                               ; @.str.1
	.asciz	"You may not load a module while the target task is running.\nKill the target task? "

l_.str.2:                               ; @.str.2
	.asciz	"Load canceled."

	.comm	_QUIT,4,2                       ; @QUIT
	.comm	_immediate_quit,4,2             ; @immediate_quit
l_.str.3:                               ; @.str.3
	.asciz	"Load failed on target machine"

	.no_dead_strip	_vx_load_command
.subsections_via_symbols
