	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function thread_apply_command
_thread_apply_command:                  ## @thread_apply_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movb	(%r15), %al
	testb	%al, %al
	jne	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
	movb	(%r15), %al
	movq	%r15, %r13
	testb	%al, %al
	je	LBB0_7
LBB0_3:
	movq	%r15, %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_isalpha
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movzbl	1(%r13), %eax
	incq	%r13
	testb	%al, %al
	jne	LBB0_4
	jmp	LBB0_7
LBB0_6:
	cmpb	$0, (%r13)
	jne	LBB0_8
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_8:
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_make_cleanup_restore_current_thread
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_xstrdup
	movq	%rax, %rsi
	movq	_xfree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	callq	_make_cleanup
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpq	%r15, %r13
	ja	LBB0_12
LBB0_9:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_do_cleanups
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_do_cleanups                    ## TAILCALL
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpq	%r13, %r15
	jae	LBB0_9
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_24 Depth 2
	movq	%r15, %rdi
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, %r12d
	movq	-48(%rbp), %rbx
	cmpq	%r15, %rbx
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_14 Depth=2
	incq	%rbx
LBB0_14:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %eax
	cmpb	$9, %al
	je	LBB0_31
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	cmpb	$32, %al
	je	LBB0_31
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpb	$45, %al
	jne	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, %r14d
	movq	-48(%rbp), %r15
	cmpq	%r15, %rbx
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=2
	incq	%r15
LBB0_19:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r15), %eax
	cmpb	$32, %al
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	cmpb	$9, %al
	je	LBB0_21
## %bb.10:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	%r14d, %r12d
	jg	LBB0_11
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	%r12d, %r14d
	movq	%rbx, %r15
LBB0_23:                                ##   in Loop: Header=BB0_12 Depth=1
	incl	%r14d
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_24 Depth=2
	movl	4(%rbx), %edi
	callq	_switch_to_thread
	movl	(%rbx), %ebx
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_target_pid_to_str
	leaq	L_.str.5(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_printf_filtered
	movq	%r13, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_execute_command
	movq	%r13, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcpy
LBB0_30:                                ##   in Loop: Header=BB0_24 Depth=2
	incl	%r12d
	cmpl	%r12d, %r14d
	je	LBB0_11
LBB0_24:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r12d, %edi
	callq	_find_thread_id
	testq	%rax, %rax
	je	LBB0_25
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=2
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_thread_alive
	testl	%eax, %eax
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_24 Depth=2
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_24 Depth=2
	leaq	L_.str.3(%rip), %rdi
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=2
	movl	%r12d, %esi
	callq	_warning
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Please specify a thread ID list"

L_.str.1:                               ## @.str.1
	.asciz	"Please specify a command following the thread ID list"

	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_xfree,4,2                      ## @xfree
L_.str.2:                               ## @.str.2
	.asciz	"Error parsing %s"

L_.str.3:                               ## @.str.3
	.asciz	"Unknown thread %d."

L_.str.4:                               ## @.str.4
	.asciz	"Thread %d has terminated."

L_.str.5:                               ## @.str.5
	.asciz	"\nThread %d (%s):\n"

	.no_dead_strip	_thread_apply_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function thread_apply_command
_thread_apply_command:                  ; @thread_apply_command
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldrb	w8, [x20]
	cbnz	w8, LBB0_3
LBB0_2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
	ldrb	w8, [x20]
	mov	x21, x20
	cbz	w8, LBB0_7
LBB0_3:
	mov	x21, x20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_isalpha
	cbnz	w0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x21, #1]!
	cbnz	w8, LBB0_4
	b	LBB0_7
LBB0_6:
	ldrb	w8, [x21]
	cbnz	w8, LBB0_8
LBB0_7:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
LBB0_8:
Lloh4:
	adrp	x27, _inferior_ptid@GOTPAGE
Lloh5:
	ldr	x27, [x27, _inferior_ptid@GOTPAGEOFF]
	ldr	w0, [x27]
	bl	_make_cleanup_restore_current_thread
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	mov	x0, x21
	bl	_xstrdup
	mov	x23, x0
Lloh6:
	adrp	x8, _xfree@GOTPAGE
Lloh7:
	ldr	x8, [x8, _xfree@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_make_cleanup
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	cmp	x21, x20
	b.ls	LBB0_32
; %bb.9:
Lloh9:
	adrp	x26, l_.str.3@PAGE
Lloh10:
	add	x26, x26, l_.str.3@PAGEOFF
Lloh11:
	adrp	x28, l_.str.5@PAGE
Lloh12:
	add	x28, x28, l_.str.5@PAGEOFF
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	x20, x21
	b.hs	LBB0_32
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_21 Depth 2
                                        ;     Child Loop BB0_27 Depth 2
	add	x1, sp, #24
	mov	x0, x20
	mov	w2, #10
	bl	_strtol
	mov	x22, x0
	ldr	x24, [sp, #24]
	cmp	x24, x20
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	str	x20, [sp]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x20, x24
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	add	x20, x20, #1
LBB0_15:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x20]
	cmp	w8, #9
	b.eq	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	cmp	w8, #32
	b.eq	LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w8, #45
	b.ne	LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x25, x20, #1
	add	x1, sp, #24
	mov	x0, x25
	mov	w2, #10
	bl	_strtol
	mov	x24, x0
	ldr	x20, [sp, #24]
	cmp	x25, x20
	b.ne	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_11 Depth=1
	str	x25, [sp]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=2
	add	x20, x20, #1
LBB0_21:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x20]
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.eq	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w22, w24
	b.gt	LBB0_10
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x24, x22
LBB0_24:                                ;   in Loop: Header=BB0_11 Depth=1
	add	w25, w24, #1
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_27 Depth=2
	ldr	w0, [x24, #4]
	bl	_switch_to_thread
	ldr	w24, [x24]
	ldr	w0, [x27]
	bl	_target_pid_to_str
	mov	x2, x0
	mov	x0, x28
	mov	x1, x24
	bl	_printf_filtered
	mov	x0, x21
	mov	x1, x19
	bl	_execute_command
	mov	x0, x21
	mov	x1, x23
	bl	_strcpy
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=2
	add	w22, w22, #1
	cmp	w25, w22
	b.eq	LBB0_10
LBB0_27:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	bl	_find_thread_id
	cbz	x0, LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=2
	mov	x24, x0
	bl	_thread_alive
	cbnz	w0, LBB0_25
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=2
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_27 Depth=2
	mov	x0, x26
LBB0_31:                                ;   in Loop: Header=BB0_27 Depth=2
	mov	x1, x22
	bl	_warning
	b	LBB0_26
LBB0_32:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_do_cleanups
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_do_cleanups
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Please specify a thread ID list"

l_.str.1:                               ; @.str.1
	.asciz	"Please specify a command following the thread ID list"

	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_xfree,4,2                      ; @xfree
l_.str.2:                               ; @.str.2
	.asciz	"Error parsing %s"

l_.str.3:                               ; @.str.3
	.asciz	"Unknown thread %d."

l_.str.4:                               ; @.str.4
	.asciz	"Thread %d has terminated."

l_.str.5:                               ; @.str.5
	.asciz	"\nThread %d (%s):\n"

	.no_dead_strip	_thread_apply_command
.subsections_via_symbols
