	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kill_wait_callback
_kill_wait_callback:                    ## @kill_wait_callback
	.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	%rdi, %r15
	cmpq	$0, 8(%rdi)
	je	LBB0_7
## %bb.1:
	movq	___WCLONE@GOTPCREL(%rip), %r13
	movq	_debug_lin_lwp@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %edi
	callq	_GET_LWP
	cmpl	%eax, %ebx
	jne	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_GET_LWP
	movl	(%r13), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_waitpid
	movl	%eax, %ebx
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_gdb_stdlog@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r15), %edi
	callq	_target_pid_to_str
	movl	%r12d, %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_fprintf_unfiltered
	jmp	LBB0_5
LBB0_6:
	cmpl	$-1, %ebx
	sete	%al
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_ECHILD@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_gdb_assert
LBB0_7:
	movq	_debug_lin_lwp@GOTPCREL(%rip), %r13
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r15), %edi
	callq	_GET_LWP
	cmpl	%eax, %ebx
	jne	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_GET_LWP
	movl	%eax, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_waitpid
	movl	%eax, %ebx
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, (%r13)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_gdb_stdlog@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r15), %edi
	callq	_target_pid_to_str
	movl	%r12d, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_fprintf_unfiltered
	jmp	LBB0_11
LBB0_12:
	cmpl	$-1, %ebx
	sete	%al
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_ECHILD@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_gdb_assert
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___WCLONE,4,2                   ## @__WCLONE
	.comm	_debug_lin_lwp,8,3              ## @debug_lin_lwp
	.comm	_gdb_stdlog,4,2                 ## @gdb_stdlog
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"KWC: wait %s received unknown.\n"

	.comm	_errno,8,3                      ## @errno
	.comm	_ECHILD,8,3                     ## @ECHILD
L_.str.1:                               ## @.str.1
	.asciz	"KWC: wait %s received unk.\n"

	.no_dead_strip	_kill_wait_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kill_wait_callback
_kill_wait_callback:                    ; @kill_wait_callback
	.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, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x25, _debug_lin_lwp@GOTPAGE
Lloh1:
	ldr	x25, [x25, _debug_lin_lwp@GOTPAGEOFF]
Lloh2:
	adrp	x26, _gdb_stdlog@GOTPAGE
Lloh3:
	ldr	x26, [x26, _gdb_stdlog@GOTPAGEOFF]
Lloh4:
	adrp	x23, _errno@GOTPAGE
Lloh5:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
Lloh6:
	adrp	x24, _ECHILD@GOTPAGE
Lloh7:
	ldr	x24, [x24, _ECHILD@GOTPAGEOFF]
	cbz	x8, LBB0_6
; %bb.1:
Lloh8:
	adrp	x27, ___WCLONE@GOTPAGE
Lloh9:
	ldr	x27, [x27, ___WCLONE@GOTPAGEOFF]
Lloh10:
	adrp	x20, l_.str@PAGE
Lloh11:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19]
	bl	_GET_LWP
	cmp	w21, w0
	b.ne	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	bl	_GET_LWP
	ldr	w2, [x27]
	mov	x1, #0
	bl	_waitpid
	mov	x21, x0
	ldr	x8, [x25]
	cmn	w0, #1
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w22, [x26]
	ldr	w0, [x19]
	bl	_target_pid_to_str
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
	bl	_fprintf_unfiltered
	b	LBB0_2
LBB0_5:
	cmn	w21, #1
	ldr	x8, [x23]
	ldr	x9, [x24]
	ccmp	x8, x9, #0, eq
	cset	w0, eq
	bl	_gdb_assert
LBB0_6:
Lloh12:
	adrp	x20, l_.str.1@PAGE
Lloh13:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x19]
	bl	_GET_LWP
	cmp	w21, w0
	b.ne	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	bl	_GET_LWP
	mov	x1, #0
	mov	w2, #0
	bl	_waitpid
	mov	x21, x0
	ldr	x8, [x25]
	cmn	w0, #1
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w22, [x26]
	ldr	w0, [x19]
	bl	_target_pid_to_str
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
	bl	_fprintf_unfiltered
	b	LBB0_7
LBB0_10:
	cmn	w21, #1
	ldr	x8, [x23]
	ldr	x9, [x24]
	ccmp	x8, x9, #0, eq
	cset	w0, eq
	bl	_gdb_assert
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	___WCLONE,4,2                   ; @__WCLONE
	.comm	_debug_lin_lwp,8,3              ; @debug_lin_lwp
	.comm	_gdb_stdlog,4,2                 ; @gdb_stdlog
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"KWC: wait %s received unknown.\n"

	.comm	_errno,8,3                      ; @errno
	.comm	_ECHILD,8,3                     ; @ECHILD
l_.str.1:                               ; @.str.1
	.asciz	"KWC: wait %s received unk.\n"

	.no_dead_strip	_kill_wait_callback
.subsections_via_symbols
