	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_captured_thread_select
_do_captured_thread_select:             ## @do_captured_thread_select
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_parse_and_eval
	movl	%eax, %edi
	callq	_value_as_long
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_find_thread_id
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_error
LBB0_2:
	movq	%rbx, %rdi
	callq	_thread_alive
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	callq	_error
LBB0_4:
	movl	(%rbx), %edi
	callq	_switch_to_thread
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_ui_out_text
	movq	_inferior_ptid@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_pid_to_thread_id
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_ui_out_field_int
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_ui_out_text
	movl	(%rbx), %edi
	callq	_target_pid_to_str
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ui_out_text
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_ui_out_text
	movq	_deprecated_selected_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_frame_relative_level
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_print_stack_frame
	movq	_GDB_RC_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Thread ID %d not known."

L_.str.1:                               ## @.str.1
	.asciz	"Thread ID %d has terminated.\n"

L_.str.2:                               ## @.str.2
	.asciz	"[Switching to thread "

L_.str.3:                               ## @.str.3
	.asciz	"new-thread-id"

	.comm	_inferior_ptid,4,2              ## @inferior_ptid
L_.str.4:                               ## @.str.4
	.asciz	" ("

L_.str.5:                               ## @.str.5
	.asciz	")]"

	.comm	_deprecated_selected_frame,4,2  ## @deprecated_selected_frame
	.comm	_GDB_RC_OK,4,2                  ## @GDB_RC_OK
	.no_dead_strip	_do_captured_thread_select
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_captured_thread_select
_do_captured_thread_select:             ; @do_captured_thread_select
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	mov	x0, x1
	bl	_parse_and_eval
	bl	_value_as_long
	mov	x20, x0
	bl	_find_thread_id
	mov	x21, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_error
LBB0_2:
	mov	x0, x21
	bl	_thread_alive
	cbnz	w0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_error
LBB0_4:
	ldr	w0, [x21]
	bl	_switch_to_thread
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ui_out_text
Lloh6:
	adrp	x20, _inferior_ptid@GOTPAGE
Lloh7:
	ldr	x20, [x20, _inferior_ptid@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_pid_to_thread_id
	mov	x2, x0
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_ui_out_field_int
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_ui_out_text
	ldr	w0, [x20]
	bl	_target_pid_to_str
	mov	x1, x0
	mov	x0, x19
	bl	_ui_out_text
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_ui_out_text
Lloh14:
	adrp	x8, _deprecated_selected_frame@GOTPAGE
Lloh15:
	ldr	x8, [x8, _deprecated_selected_frame@GOTPAGEOFF]
Lloh16:
	ldr	w19, [x8]
	mov	x0, x19
	bl	_frame_relative_level
	mov	x1, x0
	mov	x0, x19
	mov	w2, #1
	bl	_print_stack_frame
Lloh17:
	adrp	x8, _GDB_RC_OK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GDB_RC_OK@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Thread ID %d not known."

l_.str.1:                               ; @.str.1
	.asciz	"Thread ID %d has terminated.\n"

l_.str.2:                               ; @.str.2
	.asciz	"[Switching to thread "

l_.str.3:                               ; @.str.3
	.asciz	"new-thread-id"

	.comm	_inferior_ptid,4,2              ; @inferior_ptid
l_.str.4:                               ; @.str.4
	.asciz	" ("

l_.str.5:                               ; @.str.5
	.asciz	")]"

	.comm	_deprecated_selected_frame,4,2  ; @deprecated_selected_frame
	.comm	_GDB_RC_OK,4,2                  ; @GDB_RC_OK
	.no_dead_strip	_do_captured_thread_select
.subsections_via_symbols
