	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_sig_thread_cmd
_set_sig_thread_cmd:                    ## @set_sig_thread_cmd
	.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, %rbx
	xorl	%eax, %eax
	callq	_cur_inf
	movq	%rax, %r14
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	movsbl	(%rbx), %edi
	callq	_isdigit
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, %edi
	callq	_thread_id_to_pid
	movl	%eax, %edi
	callq	_PIDGET
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_error
LBB0_8:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_inf_tid_to_thread
	jmp	LBB0_9
LBB0_5:
	xorl	%eax, %eax
LBB0_9:
	movq	%rax, (%r14)
	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	"none"

L_.str.1:                               ## @.str.1
	.asciz	"Illegal argument to \"set signal-thread\" command.\nShould be an integer thread ID, or `none'."

L_.str.2:                               ## @.str.2
	.asciz	"Thread ID %s not known.  Use the \"info threads\" command to\nsee the IDs of currently known threads."

	.no_dead_strip	_set_sig_thread_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_sig_thread_cmd
_set_sig_thread_cmd:                    ; @set_sig_thread_cmd
	.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	x20, x0
	bl	_cur_inf
	mov	x19, x0
	cbz	x20, LBB0_3
; %bb.1:
	ldrsb	w0, [x20]
	bl	_isdigit
	cbnz	w0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_4
LBB0_3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
LBB0_4:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_atoi
	bl	_thread_id_to_pid
	bl	_PIDGET
	mov	x21, x0
	tbz	w0, #31, LBB0_7
; %bb.6:
	str	x20, [sp]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	bl	_inf_tid_to_thread
LBB0_8:
	str	x0, [x19]
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"none"

l_.str.1:                               ; @.str.1
	.asciz	"Illegal argument to \"set signal-thread\" command.\nShould be an integer thread ID, or `none'."

l_.str.2:                               ; @.str.2
	.asciz	"Thread ID %s not known.  Use the \"info threads\" command to\nsee the IDs of currently known threads."

	.no_dead_strip	_set_sig_thread_cmd
.subsections_via_symbols
