	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_attach_command                 ## -- Begin function attach_command
	.p2align	4, 0x90
_attach_command:                        ## @attach_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	$0, -24(%rbp)
	xorl	%eax, %eax
	callq	_dont_repeat
	movq	_target_has_execution@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_query
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_target_kill
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	callq	_error
LBB0_4:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_target_attach
	xorl	%eax, %eax
	callq	_target_terminal_init
	xorl	%eax, %eax
	callq	_target_terminal_inferior
	xorl	%eax, %eax
	callq	_init_wait_for_inferior
	xorl	%eax, %eax
	callq	_clear_proceed_status
	movq	_STOP_QUIETLY_NO_SIGSTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_stop_soon@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	callq	_wait_for_inferior
	movq	_NO_STOP_QUIETLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%edi, %edi
	callq	_get_exec_file
	testq	%rax, %rax
	jne	LBB0_10
## %bb.5:
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PIDGET
	movl	%eax, %edi
	callq	_target_pid_to_exec_file
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%rax, %rbx
	leaq	-24(%rbp), %rsi
	movq	%rax, %rdi
	callq	_source_full_path_of
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	-24(%rbp), %rdi
	jmp	LBB0_9
LBB0_8:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_savestring
	movq	%rax, %rdi
	movq	%rax, -24(%rbp)
LBB0_9:
	movl	%r14d, %esi
	callq	_exec_file_attach
	movq	-24(%rbp), %rdi
	movl	%r14d, %esi
	callq	_symbol_file_add_main
LBB0_10:
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PIDGET
	movl	%eax, %edi
	callq	_target_post_attach
	xorl	%eax, %eax
	callq	_normal_stop
	xorl	%eax, %eax
	callq	_attach_hook
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_target_has_execution,8,3       ## @target_has_execution
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"A program is being debugged already.  Kill it? "

L_.str.1:                               ## @.str.1
	.asciz	"Not killed."

	.comm	_STOP_QUIETLY_NO_SIGSTOP,4,2    ## @STOP_QUIETLY_NO_SIGSTOP
	.comm	_stop_soon,4,2                  ## @stop_soon
	.comm	_NO_STOP_QUIETLY,4,2            ## @NO_STOP_QUIETLY
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_auto_solib_add,4,2             ## @auto_solib_add
	.comm	_current_target,4,2             ## @current_target
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_attach_command                 ; -- Begin function attach_command
	.p2align	2
_attach_command:                        ; @attach_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
	str	xzr, [sp, #8]
	bl	_dont_repeat
Lloh0:
	adrp	x8, _target_has_execution@GOTPAGE
Lloh1:
	ldr	x8, [x8, _target_has_execution@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_query
	cbz	x0, LBB0_3
; %bb.2:
	bl	_target_kill
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_target_attach
	bl	_target_terminal_init
	bl	_target_terminal_inferior
	bl	_init_wait_for_inferior
	bl	_clear_proceed_status
Lloh7:
	adrp	x8, _STOP_QUIETLY_NO_SIGSTOP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _STOP_QUIETLY_NO_SIGSTOP@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x20, _stop_soon@GOTPAGE
Lloh11:
	ldr	x20, [x20, _stop_soon@GOTPAGEOFF]
	str	w8, [x20]
	bl	_wait_for_inferior
Lloh12:
	adrp	x8, _NO_STOP_QUIETLY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NO_STOP_QUIETLY@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	w0, #0
	bl	_get_exec_file
Lloh15:
	adrp	x21, _inferior_ptid@GOTPAGE
Lloh16:
	ldr	x21, [x21, _inferior_ptid@GOTPAGEOFF]
	cbnz	x0, LBB0_10
; %bb.5:
	ldr	w0, [x21]
	bl	_PIDGET
	bl	_target_pid_to_exec_file
	cbz	x0, LBB0_10
; %bb.6:
	mov	x20, x0
	add	x1, sp, #8
	bl	_source_full_path_of
	cbz	w0, LBB0_8
; %bb.7:
	ldr	x0, [sp, #8]
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_strlen
	mov	x1, x0
	mov	x0, x20
	bl	_savestring
	str	x0, [sp, #8]
LBB0_9:
	mov	x1, x19
	bl	_exec_file_attach
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_symbol_file_add_main
LBB0_10:
	ldr	w0, [x21]
	bl	_PIDGET
	bl	_target_post_attach
	bl	_normal_stop
	bl	_attach_hook
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_target_has_execution,8,3       ; @target_has_execution
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"A program is being debugged already.  Kill it? "

l_.str.1:                               ; @.str.1
	.asciz	"Not killed."

	.comm	_STOP_QUIETLY_NO_SIGSTOP,4,2    ; @STOP_QUIETLY_NO_SIGSTOP
	.comm	_stop_soon,4,2                  ; @stop_soon
	.comm	_NO_STOP_QUIETLY,4,2            ; @NO_STOP_QUIETLY
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_auto_solib_add,4,2             ; @auto_solib_add
	.comm	_current_target,4,2             ; @current_target
.subsections_via_symbols
