	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdbr_kill_pid                  ## -- Begin function gdbr_kill_pid
	.p2align	4, 0x90
_gdbr_kill_pid:                         ## @gdbr_kill_pid
	.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
	movl	$-1, %r14d
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, 16(%rdi)
	je	LBB0_13
## %bb.2:
	cmpl	$0, 12(%rbx)
	je	LBB0_13
## %bb.3:
	movq	%rbx, %rdi
	callq	_gdbr_lock_enter
	movl	$-1, %r14d
	testl	%eax, %eax
	je	LBB0_12
## %bb.4:
	movq	_reg_cache@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movl	$0, 8(%rbx)
	movq	_CMD_KILL_MP@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_strlen
	movslq	%eax, %r12
	addq	$9, %r12
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movq	%rax, %r15
	movq	(%r13), %rcx
	movl	4(%rbx), %r8d
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_snprintf
	testq	%rax, %rax
	js	LBB0_6
## %bb.7:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_send_msg
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_read_packet
	movq	%rbx, %rdi
	callq	_send_ack
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_11
## %bb.10:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edx
	callq	_strncmp
	negq	%rax
	sbbl	%r12d, %r12d
	orl	%r12d, %r14d
	jmp	LBB0_11
LBB0_6:
	movl	$-1, %r14d
	jmp	LBB0_11
LBB0_8:
	movl	%eax, %r14d
LBB0_11:
	movq	%r15, %rdi
	callq	_free
LBB0_12:
	movq	%rbx, %rdi
	callq	_gdbr_lock_leave
LBB0_13:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_reg_cache,4,2                  ## @reg_cache
	.comm	_CMD_KILL_MP,8,3                ## @CMD_KILL_MP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%x"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdbr_kill_pid                  ; -- Begin function gdbr_kill_pid
	.p2align	2
_gdbr_kill_pid:                         ; @gdbr_kill_pid
	.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
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_9
; %bb.2:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_9
; %bb.3:
	mov	x0, x19
	bl	_gdbr_lock_enter
	cbz	w0, LBB0_10
; %bb.4:
Lloh0:
	adrp	x8, _reg_cache@GOTPAGE
Lloh1:
	ldr	x8, [x8, _reg_cache@GOTPAGEOFF]
Lloh2:
	str	wzr, [x8]
	str	wzr, [x19, #8]
Lloh3:
	adrp	x22, _CMD_KILL_MP@GOTPAGE
Lloh4:
	ldr	x22, [x22, _CMD_KILL_MP@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x21, x8, #9
	mov	x0, x21
	mov	w1, #1
	bl	_calloc
	cbz	x0, LBB0_10
; %bb.5:
	mov	x20, x0
	ldr	x3, [x22]
	ldr	w4, [x19, #4]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x21
	bl	_snprintf
	tbnz	x0, #63, LBB0_11
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	_send_msg
	tbnz	w0, #31, LBB0_12
; %bb.7:
	mov	x0, x19
	mov	w1, #0
	bl	_read_packet
	mov	x0, x19
	bl	_send_ack
	mov	x21, x0
	tbnz	w0, #31, LBB0_13
; %bb.8:
	ldr	w0, [x19]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #2
	bl	_strncmp
	cmp	x0, #0
	csinv	w21, w21, wzr, eq
	b	LBB0_13
LBB0_9:
	mov	w21, #-1
	b	LBB0_15
LBB0_10:
	mov	w21, #-1
	b	LBB0_14
LBB0_11:
	mov	w21, #-1
	b	LBB0_13
LBB0_12:
	mov	x21, x0
LBB0_13:
	mov	x0, x20
	bl	_free
LBB0_14:
	mov	x0, x19
	bl	_gdbr_lock_leave
LBB0_15:
	mov	x0, x21
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_reg_cache,4,2                  ; @reg_cache
	.comm	_CMD_KILL_MP,8,3                ; @CMD_KILL_MP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%x"

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

.subsections_via_symbols
