	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function debug_to_wait
_debug_to_wait:                         ## @debug_to_wait
	.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
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	_debug_target@GOTPCREL(%rip), %rax
	callq	*(%rax)
	movl	%eax, %r14d
	movq	_gdb_stdlog@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	movl	%ebx, %edi
	callq	_PIDGET
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_PIDGET
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
	movl	(%r15), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_12
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movl	(%r13), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_13
LBB0_12:
	movl	(%r13), %edi
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_13
LBB0_3:
	movl	(%r13), %ebx
	movl	4(%r15), %edi
	callq	_target_signal_to_name
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_4
LBB0_11:
	movl	(%r13), %edi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_13
LBB0_6:
	movl	(%r13), %ebx
	movl	4(%r15), %edi
	callq	_target_signal_to_name
	leaq	L_.str.4(%rip), %rsi
LBB0_4:
	movl	%ebx, %edi
	movl	%eax, %edx
	jmp	LBB0_5
LBB0_7:
	movl	(%r13), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_13
LBB0_8:
	movl	(%r13), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_13
LBB0_2:
	movl	(%r13), %edi
	movl	8(%r15), %edx
	leaq	L_.str.2(%rip), %rsi
LBB0_5:
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
	jmp	LBB0_14
LBB0_10:
	movl	(%r13), %edi
	leaq	L_.str.8(%rip), %rsi
LBB0_13:
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_11
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_debug_target,8,3               ## @debug_target
	.comm	_gdb_stdlog,4,2                 ## @gdb_stdlog
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"target_wait (%d, status) = %d,   "

L_.str.1:                               ## @.str.1
	.asciz	"status->kind = "

L_.str.2:                               ## @.str.2
	.asciz	"exited, status = %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"stopped, signal = %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"signalled, signal = %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"loaded\n"

L_.str.6:                               ## @.str.6
	.asciz	"forked\n"

L_.str.7:                               ## @.str.7
	.asciz	"vforked\n"

L_.str.8:                               ## @.str.8
	.asciz	"execd\n"

L_.str.9:                               ## @.str.9
	.asciz	"spurious\n"

L_.str.10:                              ## @.str.10
	.asciz	"unknown???\n"

	.no_dead_strip	_debug_to_wait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function debug_to_wait
_debug_to_wait:                         ; @debug_to_wait
	.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
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _debug_target@GOTPAGE
Lloh1:
	ldr	x8, [x8, _debug_target@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	blr	x8
	mov	x19, x0
Lloh3:
	adrp	x23, _gdb_stdlog@GOTPAGE
Lloh4:
	ldr	x23, [x23, _gdb_stdlog@GOTPAGEOFF]
	ldr	w22, [x23]
	mov	x0, x21
	bl	_PIDGET
	mov	x21, x0
	mov	x0, x19
	bl	_PIDGET
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_fprintf_unfiltered
	ldr	w0, [x23]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf_unfiltered
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_3
; %bb.1:
Lloh9:
	adrp	x9, lJTI0_0@PAGE
Lloh10:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w0, [x23]
Lloh11:
	adrp	x1, l_.str.7@PAGE
Lloh12:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_11
LBB0_3:
	ldr	w0, [x23]
Lloh13:
	adrp	x1, l_.str.10@PAGE
Lloh14:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_11
LBB0_4:
	ldr	w21, [x23]
	ldr	w0, [x20, #4]
	bl	_target_signal_to_name
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	b	LBB0_11
LBB0_5:
	ldr	w0, [x23]
Lloh17:
	adrp	x1, l_.str.9@PAGE
Lloh18:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_11
LBB0_6:
	ldr	w21, [x23]
	ldr	w0, [x20, #4]
	bl	_target_signal_to_name
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	b	LBB0_11
LBB0_7:
	ldr	w0, [x23]
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_11
LBB0_8:
	ldr	w0, [x23]
Lloh23:
	adrp	x1, l_.str.6@PAGE
Lloh24:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_11
LBB0_9:
	ldr	w0, [x23]
	ldr	w8, [x20, #8]
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_10:
	ldr	w0, [x23]
Lloh27:
	adrp	x1, l_.str.8@PAGE
Lloh28:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_11:
	bl	_fprintf_unfiltered
	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 AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_debug_target,8,3               ; @debug_target
	.comm	_gdb_stdlog,4,2                 ; @gdb_stdlog
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"target_wait (%d, status) = %d,   "

l_.str.1:                               ; @.str.1
	.asciz	"status->kind = "

l_.str.2:                               ; @.str.2
	.asciz	"exited, status = %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"stopped, signal = %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"signalled, signal = %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"loaded\n"

l_.str.6:                               ; @.str.6
	.asciz	"forked\n"

l_.str.7:                               ; @.str.7
	.asciz	"vforked\n"

l_.str.8:                               ; @.str.8
	.asciz	"execd\n"

l_.str.9:                               ; @.str.9
	.asciz	"spurious\n"

l_.str.10:                              ; @.str.10
	.asciz	"unknown???\n"

	.no_dead_strip	_debug_to_wait
.subsections_via_symbols
