	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_kill                        ## -- Begin function do_kill
	.p2align	4, 0x90
_do_kill:                               ## @do_kill
	.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	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_STRACE
	movq	_NUM_SIGS@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jle	LBB0_8
## %bb.1:
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	8(%rcx), %edx
	movl	12(%rcx), %r14d
	movq	_SI_USER_@GOTPCREL(%rip), %rax
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.2:
	movq	(%rcx), %rcx
	xorl	%ebx, %ebx
	subq	(%rcx), %rbx
LBB0_3:
	movl	(%rax), %r13d
	testq	%rbx, %rbx
	js	LBB0_9
## %bb.4:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	_pids_lock@GOTPCREL(%rip), %rdi
	callq	_lock
	movq	%rbx, %rdi
	callq	_pid_get_task
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	cmpq	%r15, (%rax)
	jne	LBB0_10
LBB0_7:
	shlq	$32, %r14
	addq	-48(%rbp), %r14                 ## 8-byte Folded Reload
	movq	%rax, %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	callq	_send_signal
	movq	_pids_lock@GOTPCREL(%rip), %rdi
	callq	_unlock
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_8:
	movq	__EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	negq	%rbx
	shlq	$32, %r14
	orq	%rdx, %r14
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_send_group_signal              ## TAILCALL
LBB0_10:
	movq	_pids_lock@GOTPCREL(%rip), %rdi
	callq	_unlock
	movq	__ESRCH@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kill(%d, %d)"

	.comm	_NUM_SIGS,4,2                   ## @NUM_SIGS
	.comm	__EINVAL,4,2                    ## @_EINVAL
	.comm	_current,8,3                    ## @current
	.comm	_SI_USER_,4,2                   ## @SI_USER_
	.comm	_pids_lock,4,2                  ## @pids_lock
	.comm	__ESRCH,4,2                     ## @_ESRCH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_kill                        ; -- Begin function do_kill
	.p2align	2
_do_kill:                               ; @do_kill
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	mov	x2, x19
	bl	_STRACE
Lloh2:
	adrp	x8, _NUM_SIGS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NUM_SIGS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w19
	b.le	LBB0_7
; %bb.1:
Lloh5:
	adrp	x8, _current@GOTPAGE
Lloh6:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldp	w21, w24, [x8, #8]
Lloh8:
	adrp	x9, _SI_USER_@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SI_USER_@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x9]
	cbz	x23, LBB0_8
; %bb.2:
	tbnz	x23, #63, LBB0_9
LBB0_3:
Lloh11:
	adrp	x0, _pids_lock@GOTPAGE
Lloh12:
	ldr	x0, [x0, _pids_lock@GOTPAGEOFF]
	bl	_lock
	mov	x0, x23
	bl	_pid_get_task
	cbz	x0, LBB0_10
; %bb.4:
	cbz	x20, LBB0_6
; %bb.5:
	ldr	x8, [x0]
	cmp	x8, x20
	b.ne	LBB0_10
LBB0_6:
	bfi	x21, x24, #32, #32
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	bl	_send_signal
Lloh13:
	adrp	x0, _pids_lock@GOTPAGE
Lloh14:
	ldr	x0, [x0, _pids_lock@GOTPAGEOFF]
	bl	_unlock
	mov	w0, #0
	b	LBB0_12
LBB0_7:
Lloh15:
	adrp	x8, __EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, __EINVAL@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
	ldr	x8, [x8]
	ldr	x8, [x8]
	neg	x23, x8
	tbz	x23, #63, LBB0_3
LBB0_9:
	neg	x0, x23
	bfi	x21, x24, #32, #32
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_send_group_signal
LBB0_10:
Lloh17:
	adrp	x0, _pids_lock@GOTPAGE
Lloh18:
	ldr	x0, [x0, _pids_lock@GOTPAGEOFF]
	bl	_unlock
Lloh19:
	adrp	x8, __ESRCH@GOTPAGE
Lloh20:
	ldr	x8, [x8, __ESRCH@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kill(%d, %d)"

	.comm	_NUM_SIGS,4,2                   ; @NUM_SIGS
	.comm	__EINVAL,4,2                    ; @_EINVAL
	.comm	_current,8,3                    ; @current
	.comm	_SI_USER_,4,2                   ; @SI_USER_
	.comm	_pids_lock,4,2                  ; @pids_lock
	.comm	__ESRCH,4,2                     ; @_ESRCH
.subsections_via_symbols
