	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function thread_apply_all_command
_thread_apply_all_command:              ## @thread_apply_all_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	cmpb	$0, (%rbx)
	jne	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_3:
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_make_cleanup_restore_current_thread
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_target_find_new_threads
	movq	%rbx, %rdi
	callq	_xstrdup
	movq	%rax, %r12
	movq	_xfree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_make_cleanup
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_thread_list@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %r15
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r15, %r15
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_thread_alive
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r15), %edi
	callq	_switch_to_thread
	movl	(%r15), %r13d
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_target_pid_to_str
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_printf_filtered
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_execute_command
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_strcpy
	jmp	LBB0_7
LBB0_8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_do_cleanups
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_do_cleanups                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Please specify a command following the thread ID list"

	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_xfree,4,2                      ## @xfree
	.comm	_thread_list,8,3                ## @thread_list
L_.str.1:                               ## @.str.1
	.asciz	"\nThread %d (%s):\n"

	.no_dead_strip	_thread_apply_all_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_all_command
_thread_apply_all_command:              ; @thread_apply_all_command
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
LBB0_3:
Lloh2:
	adrp	x27, _inferior_ptid@GOTPAGE
Lloh3:
	ldr	x27, [x27, _inferior_ptid@GOTPAGEOFF]
	ldr	w0, [x27]
	bl	_make_cleanup_restore_current_thread
	mov	x21, x0
	bl	_target_find_new_threads
	mov	x0, x20
	bl	_xstrdup
	mov	x22, x0
Lloh4:
	adrp	x8, _xfree@GOTPAGE
Lloh5:
	ldr	x8, [x8, _xfree@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_make_cleanup
	mov	x23, x0
Lloh7:
	adrp	x8, _thread_list@GOTPAGE
Lloh8:
	ldr	x8, [x8, _thread_list@GOTPAGEOFF]
Lloh9:
	ldr	x24, [x8]
	cbz	x24, LBB0_8
; %bb.4:
Lloh10:
	adrp	x25, l_.str.1@PAGE
Lloh11:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x24, [x24, #8]
	cbz	x24, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_thread_alive
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x24, #4]
	bl	_switch_to_thread
	ldr	w26, [x24]
	ldr	w0, [x27]
	bl	_target_pid_to_str
	mov	x2, x0
	mov	x0, x25
	mov	x1, x26
	bl	_printf_filtered
	mov	x0, x20
	mov	x1, x19
	bl	_execute_command
	mov	x0, x20
	mov	x1, x22
	bl	_strcpy
	b	LBB0_5
LBB0_8:
	mov	x0, x23
	bl	_do_cleanups
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_do_cleanups
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Please specify a command following the thread ID list"

	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_xfree,4,2                      ; @xfree
	.comm	_thread_list,8,3                ; @thread_list
l_.str.1:                               ; @.str.1
	.asciz	"\nThread %d (%s):\n"

	.no_dead_strip	_thread_apply_all_command
.subsections_via_symbols
