	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function log_deadchild
_log_deadchild:                         ## @log_deadchild
	.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	%rbx
	subq	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movl	%esi, %edi
	callq	_WIFSIGNALED
	movl	%ebx, %edi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	callq	_WTERMSIG
	leaq	L_.str(%rip), %r9
	jmp	LBB0_4
LBB0_2:
	callq	_WEXITSTATUS
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %r9
LBB0_4:
	movl	%eax, (%rsp)
	leaq	L_.str.2(%rip), %rdx
	leaq	-288(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	movl	%r15d, %ecx
	movq	%r14, %r8
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_logerror
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"due to signal"

L_.str.1:                               ## @.str.1
	.asciz	"with status"

L_.str.2:                               ## @.str.2
	.asciz	"Logging subprocess %d (%s) exited %s %d."

	.no_dead_strip	_log_deadchild
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function log_deadchild
_log_deadchild:                         ; @log_deadchild
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	str	xzr, [x8]
	mov	x0, x1
	bl	_WIFSIGNALED
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_WTERMSIG
	mov	x6, x0
Lloh6:
	adrp	x5, l_.str@PAGE
Lloh7:
	add	x5, x5, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	mov	x0, x21
	bl	_WEXITSTATUS
	cbz	w0, LBB0_5
; %bb.3:
	mov	x6, x0
Lloh8:
	adrp	x5, l_.str.1@PAGE
Lloh9:
	add	x5, x5, l_.str.1@PAGEOFF
LBB0_4:
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #8
	mov	w1, #256
	mov	x3, x20
	mov	x4, x19
	bl	_snprintf
	add	x0, sp, #8
	bl	_logerror
LBB0_5:
	ldur	x8, [x29, #-40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"due to signal"

l_.str.1:                               ; @.str.1
	.asciz	"with status"

l_.str.2:                               ; @.str.2
	.asciz	"Logging subprocess %d (%s) exited %s %d."

	.no_dead_strip	_log_deadchild
.subsections_via_symbols
