	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function call_ttrace
_call_ttrace:                           ## @call_ttrace
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	je	LBB0_13
## %bb.1:
	movl	%r8d, %r15d
	movl	%ecx, %ebx
	movl	%edx, %r12d
	movl	%esi, %r14d
	movl	%edi, %r13d
	xorl	%eax, %eax
	callq	_any_thread_records
	testl	%eax, %eax
	je	LBB0_13
## %bb.2:
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	%r14d, %edi
	callq	_map_from_gdb_tid
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_get_pid_for
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r15d
LBB0_11:
	movl	%ebx, %r14d
LBB0_12:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%r13d, %edi
	callq	_is_process_ttrace_request
	xorl	%edx, %edx
	testq	%rax, %rax
	cmovel	%r14d, %edx
	movl	%r13d, %edi
	movl	%r15d, %esi
	movl	%r12d, %ecx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	%ebx, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_call_real_ttrace               ## TAILCALL
LBB0_13:
	movq	_ESRCH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%r13d, %edi
	callq	_is_process_ttrace_request
	movl	%r13d, %edi
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	callq	_make_process_version
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.6:
	movl	%r14d, %r15d
	xorl	%r14d, %r14d
	movl	%eax, %r13d
	jmp	LBB0_12
LBB0_10:
	callq	_get_printable_name_of_ttrace_request
	leaq	L_.str.1(%rip), %rdi
	xorl	%r15d, %r15d
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_11
LBB0_7:
	movq	_saved_real_ptid@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_null_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ptid_equal
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_11
LBB0_8:
	movl	(%r15), %edi
	callq	_PIDGET
	movl	%eax, %r15d
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	_errno,4,2                      ## @errno
	.comm	_saved_real_ptid,4,2            ## @saved_real_ptid
	.comm	_null_ptid,4,2                  ## @null_ptid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to perform thread operation"

L_.str.1:                               ## @.str.1
	.asciz	"Thread request with no threads (%s)"

	.comm	_TT_LWP_RUREGS,4,2              ## @TT_LWP_RUREGS
	.comm	_TT_PROC_SETTRC,4,2             ## @TT_PROC_SETTRC
	.comm	_debug_on,8,3                   ## @debug_on
	.no_dead_strip	_call_ttrace
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function call_ttrace
_call_ttrace:                           ; @call_ttrace
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	cbz	w1, LBB0_4
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x22, x0
	bl	_any_thread_records
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x23
	bl	_map_from_gdb_tid
	mov	x24, x0
	bl	_get_pid_for
	cbz	w0, LBB0_5
; %bb.3:
	mov	x25, x0
	b	LBB0_12
LBB0_4:
Lloh0:
	adrp	x8, _ESRCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _errno@GOTPAGE
Lloh4:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
	mov	w0, #-1
	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
	add	sp, sp, #96
	ret
LBB0_5:
	mov	x0, x22
	bl	_is_process_ttrace_request
	cbz	x0, LBB0_8
; %bb.6:
	mov	x0, x22
	bl	_make_process_version
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.7:
	mov	x25, x23
	mov	x22, x0
	mov	w23, #0
	b	LBB0_13
LBB0_8:
	mov	x0, x22
	bl	_get_printable_name_of_ttrace_request
	str	x0, [sp]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh8:
	adrp	x25, _saved_real_ptid@GOTPAGE
Lloh9:
	ldr	x25, [x25, _saved_real_ptid@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh10:
	adrp	x8, _null_ptid@GOTPAGE
Lloh11:
	ldr	x8, [x8, _null_ptid@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_ptid_equal
	cbz	x0, LBB0_14
; %bb.10:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
LBB0_11:
	bl	_error
	mov	w25, #0
LBB0_12:
	mov	x23, x24
LBB0_13:
	mov	x0, x22
	bl	_is_process_ttrace_request
	cmp	x0, #0
	csel	w2, w23, wzr, eq
	mov	x0, x22
	mov	x1, x25
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	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
	add	sp, sp, #96
	b	_call_real_ttrace
LBB0_14:
	ldr	w0, [x25]
	bl	_PIDGET
	mov	x25, x0
	b	LBB0_13
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	_errno,4,2                      ; @errno
	.comm	_saved_real_ptid,4,2            ; @saved_real_ptid
	.comm	_null_ptid,4,2                  ; @null_ptid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to perform thread operation"

l_.str.1:                               ; @.str.1
	.asciz	"Thread request with no threads (%s)"

	.comm	_TT_LWP_RUREGS,4,2              ; @TT_LWP_RUREGS
	.comm	_TT_PROC_SETTRC,4,2             ; @TT_PROC_SETTRC
	.comm	_debug_on,8,3                   ; @debug_on
	.no_dead_strip	_call_ttrace
.subsections_via_symbols
