	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parent_attach_all              ## -- Begin function parent_attach_all
	.p2align	4, 0x90
_parent_attach_all:                     ## @parent_attach_all
	.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
	movq	_TT_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	_TT_PROC_SETTRC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TT_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%ecx, %esi
	movl	%ecx, %edx
	movl	%ebx, %r8d
	movq	%rcx, %r9
	callq	_call_real_ttrace
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	_startup_semaphore@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_SEM_TALK@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	-56(%rbp), %rsi
	movl	$8, %edx
	callq	_write
	movq	8(%r15), %rax
	movq	_SEM_LISTEN@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	callq	_read
	cmpq	-48(%rbp), %rbx
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_warning
LBB0_3:
	movq	8(%r15), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_close
	movq	8(%r15), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_close
	movq	(%r15), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_close
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_close
LBB0_4:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TT_VERSION,8,3                 ## @TT_VERSION
	.comm	_TT_PROC_SETTRC,4,2             ## @TT_PROC_SETTRC
	.comm	_TT_NIL,8,3                     ## @TT_NIL
	.comm	_startup_semaphore,16,3         ## @startup_semaphore
	.comm	_SEM_TALK,8,3                   ## @SEM_TALK
	.comm	_SEM_LISTEN,8,3                 ## @SEM_LISTEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mismatched semaphore magic"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parent_attach_all              ; -- Begin function parent_attach_all
	.p2align	2
_parent_attach_all:                     ; @parent_attach_all
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _TT_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TT_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	stp	xzr, x20, [sp]
Lloh3:
	adrp	x8, _TT_PROC_SETTRC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TT_PROC_SETTRC@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _TT_NIL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TT_NIL@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
	mov	x2, x1
	mov	x3, x1
	mov	x4, x20
	mov	x5, x1
	bl	_call_real_ttrace
	mov	x19, x0
	tbnz	w0, #31, LBB0_4
; %bb.1:
Lloh9:
	adrp	x21, _startup_semaphore@GOTPAGE
Lloh10:
	ldr	x21, [x21, _startup_semaphore@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh11:
	adrp	x22, _SEM_TALK@GOTPAGE
Lloh12:
	ldr	x22, [x22, _SEM_TALK@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	add	x1, sp, #8
	mov	w2, #8
	bl	_write
	ldr	x8, [x21, #8]
Lloh13:
	adrp	x23, _SEM_LISTEN@GOTPAGE
Lloh14:
	ldr	x23, [x23, _SEM_LISTEN@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	w0, [x8, x9, lsl #2]
	mov	x1, sp
	mov	w2, #8
	bl	_read
	ldr	x8, [sp]
	cmp	x20, x8
	b.eq	LBB0_3
; %bb.2:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warning
LBB0_3:
	ldr	x8, [x21, #8]
	ldr	x9, [x23]
	ldr	w0, [x8, x9, lsl #2]
	bl	_close
	ldr	x8, [x21, #8]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	bl	_close
	ldr	x8, [x21]
	ldr	x9, [x23]
	ldr	w0, [x8, x9, lsl #2]
	bl	_close
	ldr	x8, [x21]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	bl	_close
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_TT_VERSION,8,3                 ; @TT_VERSION
	.comm	_TT_PROC_SETTRC,4,2             ; @TT_PROC_SETTRC
	.comm	_TT_NIL,8,3                     ; @TT_NIL
	.comm	_startup_semaphore,16,3         ; @startup_semaphore
	.comm	_SEM_TALK,8,3                   ; @SEM_TALK
	.comm	_SEM_LISTEN,8,3                 ; @SEM_LISTEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mismatched semaphore magic"

.subsections_via_symbols
