	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function terminate_with_pending_sigstop
_terminate_with_pending_sigstop:        ## @terminate_with_pending_sigstop
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movq	_P_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_getpid
	movq	_PROC_REAP_ACQUIRE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_procctl
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ATF_REQUIRE
	xorl	%eax, %eax
	callq	_fork
	movq	%rax, %rbx
	movq	%rax, %rdi
	shrq	$63, %rdi
	xorl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ATF_REQUIRE
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.1:
	leaq	-28(%rbp), %rdi
	callq	_wait
	movl	-28(%rbp), %edi
	cmpq	%rbx, %rax
	jne	LBB0_4
## %bb.2:
	callq	_WIFEXITED
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movl	-28(%rbp), %edi
	callq	_WEXITSTATUS
	testq	%rax, %rax
	jmp	LBB0_6
LBB0_4:
	callq	_WIFSIGNALED
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movl	-28(%rbp), %edi
	callq	_WTERMSIG
	movq	_SIGKILL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
LBB0_6:
	sete	%al
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	movzbl	%al, %edi
	callq	_ATF_REQUIRE
	leaq	-28(%rbp), %rdi
	callq	_wait
	movl	-28(%rbp), %edi
	cmpq	%rbx, %rax
	jne	LBB0_12
## %bb.10:
	callq	_WIFEXITED
	testq	%rax, %rax
	je	LBB0_16
## %bb.11:
	movl	-28(%rbp), %edi
	callq	_WEXITSTATUS
	testq	%rax, %rax
	jmp	LBB0_14
LBB0_12:
	callq	_WIFSIGNALED
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:
	movl	-28(%rbp), %edi
	callq	_WTERMSIG
	movq	_SIGKILL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
LBB0_14:
	sete	%al
	jmp	LBB0_17
LBB0_16:
	xorl	%eax, %eax
LBB0_17:
	movzbl	%al, %edi
	callq	_ATF_REQUIRE
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	xorl	%eax, %eax
	callq	_fork
	movq	%rax, %r14
	movq	%rax, %rdi
	shrq	$63, %rdi
	xorl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_CHILD_REQUIRE
	testq	%r14, %r14
	jne	LBB0_21
## %bb.19:
	xorl	%eax, %eax
	callq	_trace_me
	leaq	-28(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_CPU_ZERO
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_CPU_SET
	leaq	-36(%rbp), %rdi
	callq	_cpuset
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHILD_REQUIRE
	movq	_CPU_LEVEL_CPUSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CPU_WHICH_CPUSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-36(%rbp), %edx
	movl	$4, %ecx
	movq	%rbx, %r8
	callq	_cpuset_setaffinity
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHILD_REQUIRE
	testl	%r15d, %r15d
	jne	LBB0_22
## %bb.20:
	movq	_raise_sigstop_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_pthread_create
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHILD_REQUIRE
	movl	$60, %edi
	callq	_sleep
	xorl	%edi, %edi
	callq	_exit
LBB0_21:
	leaq	-28(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_waitpid
	xorl	%edi, %edi
	cmpq	%r14, %rax
	sete	%dil
	callq	_CHILD_REQUIRE
	movl	-28(%rbp), %edi
	callq	_WIFSTOPPED
	movl	%eax, %edi
	callq	_CHILD_REQUIRE
	movl	-28(%rbp), %edi
	callq	_WSTOPSIG
	movq	_SIGSTOP@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_CHILD_REQUIRE
	movq	_PT_CONTINUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_ptrace
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHILD_REQUIRE
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_waitpid
	xorl	%edi, %edi
	cmpq	%r14, %rax
	sete	%dil
	callq	_CHILD_REQUIRE
	movl	-28(%rbp), %edi
	callq	_WIFSTOPPED
	movl	%eax, %edi
	callq	_CHILD_REQUIRE
	movl	-28(%rbp), %edi
	callq	_WSTOPSIG
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_CHILD_REQUIRE
	xorl	%edi, %edi
	callq	_exit
LBB0_22:
	movq	_sleep_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_pthread_create
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_CHILD_REQUIRE
	movq	_SIGSTOP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_raise
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_P_PID,4,2                      ## @P_PID
	.comm	_PROC_REAP_ACQUIRE,4,2          ## @PROC_REAP_ACQUIRE
	.comm	_CPU_LEVEL_CPUSET,4,2           ## @CPU_LEVEL_CPUSET
	.comm	_CPU_WHICH_CPUSET,4,2           ## @CPU_WHICH_CPUSET
	.comm	_sleep_thread,4,2               ## @sleep_thread
	.comm	_SIGSTOP,8,3                    ## @SIGSTOP
	.comm	_raise_sigstop_thread,4,2       ## @raise_sigstop_thread
	.comm	_PT_CONTINUE,4,2                ## @PT_CONTINUE
	.comm	_SIGKILL,8,3                    ## @SIGKILL
	.no_dead_strip	_terminate_with_pending_sigstop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function terminate_with_pending_sigstop
_terminate_with_pending_sigstop:        ; @terminate_with_pending_sigstop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _P_PID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P_PID@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_getpid
	mov	x1, x0
Lloh3:
	adrp	x8, _PROC_REAP_ACQUIRE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PROC_REAP_ACQUIRE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, #0
	bl	_procctl
	cmp	x0, #0
	cset	w0, eq
	bl	_ATF_REQUIRE
	bl	_fork
	mov	x20, x0
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	bl	_ATF_REQUIRE
	cbz	x20, LBB0_14
; %bb.1:
	add	x0, sp, #12
	bl	_wait
	mov	x8, x0
	ldr	w0, [sp, #12]
	cmp	x8, x20
	b.ne	LBB0_4
; %bb.2:
	bl	_WIFEXITED
	cbz	x0, LBB0_7
; %bb.3:
	ldr	w0, [sp, #12]
	bl	_WEXITSTATUS
	cmp	x0, #0
	b	LBB0_6
LBB0_4:
	bl	_WIFSIGNALED
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w0, [sp, #12]
	bl	_WTERMSIG
Lloh6:
	adrp	x8, _SIGKILL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGKILL@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
LBB0_6:
	cset	w0, eq
LBB0_7:
	bl	_ATF_REQUIRE
	add	x0, sp, #12
	bl	_wait
	mov	x8, x0
	ldr	w0, [sp, #12]
	cmp	x8, x20
	b.ne	LBB0_10
; %bb.8:
	bl	_WIFEXITED
	cbz	x0, LBB0_13
; %bb.9:
	ldr	w0, [sp, #12]
	bl	_WEXITSTATUS
	cmp	x0, #0
	b	LBB0_12
LBB0_10:
	bl	_WIFSIGNALED
	cbz	x0, LBB0_13
; %bb.11:
	ldr	w0, [sp, #12]
	bl	_WTERMSIG
Lloh9:
	adrp	x8, _SIGKILL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SIGKILL@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
LBB0_12:
	cset	w0, eq
LBB0_13:
	bl	_ATF_REQUIRE
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_14:
	bl	_fork
	mov	x20, x0
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	bl	_CHILD_REQUIRE
	cbnz	x20, LBB0_17
; %bb.15:
	bl	_trace_me
	add	x0, sp, #12
	bl	_CPU_ZERO
	add	x1, sp, #12
	mov	w0, #0
	bl	_CPU_SET
	add	x0, sp, #8
	bl	_cpuset
	cmp	x0, #0
	cset	w0, eq
	bl	_CHILD_REQUIRE
Lloh12:
	adrp	x8, _CPU_LEVEL_CPUSET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CPU_LEVEL_CPUSET@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _CPU_WHICH_CPUSET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CPU_WHICH_CPUSET@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [sp, #8]
	add	x4, sp, #12
	mov	w3, #4
	bl	_cpuset_setaffinity
	cmp	x0, #0
	cset	w0, eq
	bl	_CHILD_REQUIRE
	cbnz	w19, LBB0_18
; %bb.16:
Lloh18:
	adrp	x8, _raise_sigstop_thread@GOTPAGE
Lloh19:
	ldr	x8, [x8, _raise_sigstop_thread@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	add	x0, sp, #4
	mov	x1, #0
	mov	x3, #0
	bl	_pthread_create
	cmp	x0, #0
	cset	w0, eq
	bl	_CHILD_REQUIRE
	mov	w0, #60
	bl	_sleep
	mov	w0, #0
	bl	_exit
LBB0_17:
	add	x1, sp, #12
	mov	x0, x20
	mov	w2, #0
	bl	_waitpid
	cmp	x0, x20
	cset	w0, eq
	bl	_CHILD_REQUIRE
	ldr	w0, [sp, #12]
	bl	_WIFSTOPPED
	bl	_CHILD_REQUIRE
	ldr	w0, [sp, #12]
	bl	_WSTOPSIG
Lloh21:
	adrp	x19, _SIGSTOP@GOTPAGE
Lloh22:
	ldr	x19, [x19, _SIGSTOP@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x0, x8
	cset	w0, eq
	bl	_CHILD_REQUIRE
Lloh23:
	adrp	x8, _PT_CONTINUE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PT_CONTINUE@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	mov	x1, x20
	mov	w2, #1
	mov	w3, #0
	bl	_ptrace
	cmp	x0, #0
	cset	w0, eq
	bl	_CHILD_REQUIRE
	add	x1, sp, #12
	mov	x0, x20
	mov	w2, #0
	bl	_waitpid
	cmp	x0, x20
	cset	w0, eq
	bl	_CHILD_REQUIRE
	ldr	w0, [sp, #12]
	bl	_WIFSTOPPED
	bl	_CHILD_REQUIRE
	ldr	w0, [sp, #12]
	bl	_WSTOPSIG
	ldr	x8, [x19]
	cmp	x0, x8
	cset	w0, eq
	bl	_CHILD_REQUIRE
	mov	w0, #0
	bl	_exit
LBB0_18:
Lloh26:
	adrp	x8, _sleep_thread@GOTPAGE
Lloh27:
	ldr	x8, [x8, _sleep_thread@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	add	x0, sp, #4
	mov	x1, #0
	mov	x3, #0
	bl	_pthread_create
	cmp	x0, #0
	cset	w0, eq
	bl	_CHILD_REQUIRE
Lloh29:
	adrp	x8, _SIGSTOP@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SIGSTOP@GOTPAGEOFF]
Lloh31:
	ldr	x0, [x8]
	bl	_raise
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_P_PID,4,2                      ; @P_PID
	.comm	_PROC_REAP_ACQUIRE,4,2          ; @PROC_REAP_ACQUIRE
	.comm	_CPU_LEVEL_CPUSET,4,2           ; @CPU_LEVEL_CPUSET
	.comm	_CPU_WHICH_CPUSET,4,2           ; @CPU_WHICH_CPUSET
	.comm	_sleep_thread,4,2               ; @sleep_thread
	.comm	_SIGSTOP,8,3                    ; @SIGSTOP
	.comm	_raise_sigstop_thread,4,2       ; @raise_sigstop_thread
	.comm	_PT_CONTINUE,4,2                ; @PT_CONTINUE
	.comm	_SIGKILL,8,3                    ; @SIGKILL
	.no_dead_strip	_terminate_with_pending_sigstop
.subsections_via_symbols
