	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kill_callback
_kill_callback:                         ## @kill_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_errno@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	movq	_PTRACE_KILL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%rdi), %edi
	callq	_GET_LWP
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ptrace
	movq	_debug_lin_lwp@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.1:
	movq	_gdb_stdlog@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%r15), %edi
	callq	_target_pid_to_str
	movl	%eax, %ebx
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.3:
	callq	_safe_strerror
	movq	%rax, %rcx
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str.1(%rip), %rcx
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%ebx, %edx
	callq	_fprintf_unfiltered
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_PTRACE_KILL,4,2                ## @PTRACE_KILL
	.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	"KC:  PTRACE_KILL %s, 0, 0 (%s)\n"

L_.str.1:                               ## @.str.1
	.asciz	"OK"

	.no_dead_strip	_kill_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kill_callback
_kill_callback:                         ; @kill_callback
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
Lloh0:
	adrp	x21, _errno@GOTPAGE
Lloh1:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	str	xzr, [x21]
Lloh2:
	adrp	x8, _PTRACE_KILL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PTRACE_KILL@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	ldr	w0, [x0]
	bl	_GET_LWP
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_ptrace
Lloh5:
	adrp	x8, _debug_lin_lwp@GOTPAGE
Lloh6:
	ldr	x8, [x8, _debug_lin_lwp@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
Lloh8:
	adrp	x8, _gdb_stdlog@GOTPAGE
Lloh9:
	ldr	x8, [x8, _gdb_stdlog@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
	ldr	w0, [x20]
	bl	_target_pid_to_str
	mov	x20, x0
	ldr	x0, [x21]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_safe_strerror
	mov	x3, x0
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x3, l_.str.1@PAGE
Lloh12:
	add	x3, x3, l_.str.1@PAGEOFF
LBB0_4:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_fprintf_unfiltered
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_PTRACE_KILL,4,2                ; @PTRACE_KILL
	.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	"KC:  PTRACE_KILL %s, 0, 0 (%s)\n"

l_.str.1:                               ; @.str.1
	.asciz	"OK"

	.no_dead_strip	_kill_callback
.subsections_via_symbols
