	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_full_stats_to_pipe       ## -- Begin function write_full_stats_to_pipe
	.p2align	4, 0x90
_write_full_stats_to_pipe:              ## @write_full_stats_to_pipe
	.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	_master_pipe_write@GOTPCREL(%rip), %r13
	cmpl	$-1, (%r13)
	je	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	callq	_prepare_full_stats
	movq	_stats_len@GOTPCREL(%rip), %r15
	movslq	(%r15), %rbx
	addq	$24, %rbx
	andq	$-4, %rbx
	movq	%rbx, %rdi
	callq	_malloc
	movq	%rax, %r14
	movq	%rax, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_memset
	movq	_RPC_PHP_FULL_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	leaq	12(%r14), %rdi
	movq	_stats@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	(%r15), %rdx
	callq	_memcpy
	movq	_pipe_packet_id@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leal	1(%rdi), %ecx
	movl	%ecx, (%rax)
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_prepare_rpc_query_raw
	movl	(%r13), %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_write
	movq	%rax, %r15
	xorl	%r12d, %r12d
	cmpl	%r15d, %ebx
	sete	%r12b
	movl	(%r13), %esi
	leaq	L_.str(%rip), %rdi
	callq	_dl_pstr
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_dl_passert
	cmpl	%r15d, %ebx
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_getppid
	movl	%eax, %edi
	movl	$9, %esi
	callq	_kill
LBB0_3:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_master_pipe_write,4,2          ## @master_pipe_write
	.comm	_stats_len,4,2                  ## @stats_len
	.comm	_RPC_PHP_FULL_STATS,4,2         ## @RPC_PHP_FULL_STATS
	.comm	_stats,4,2                      ## @stats
	.comm	_pipe_packet_id,4,2             ## @pipe_packet_id
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error during write to pipe [%d]\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_full_stats_to_pipe       ; -- Begin function write_full_stats_to_pipe
	.p2align	2
_write_full_stats_to_pipe:              ; @write_full_stats_to_pipe
	.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
Lloh0:
	adrp	x23, _master_pipe_write@GOTPAGE
Lloh1:
	ldr	x23, [x23, _master_pipe_write@GOTPAGEOFF]
	ldr	w8, [x23]
	cmn	w8, #1
	b.eq	LBB0_4
; %bb.1:
	bl	_prepare_full_stats
Lloh2:
	adrp	x21, _stats_len@GOTPAGE
Lloh3:
	ldr	x21, [x21, _stats_len@GOTPAGEOFF]
	ldrsw	x8, [x21]
	add	x8, x8, #24
	and	x20, x8, #0xfffffffffffffffc
	mov	x0, x20
	bl	_malloc
	mov	x19, x0
	mov	w1, #0
	mov	x2, x20
	bl	_memset
Lloh4:
	adrp	x8, _RPC_PHP_FULL_STATS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RPC_PHP_FULL_STATS@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	add	x0, x19, #12
Lloh7:
	adrp	x8, _stats@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stats@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldrsw	x2, [x21]
	bl	_memcpy
Lloh10:
	adrp	x8, _pipe_packet_id@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pipe_packet_id@GOTPAGEOFF]
	ldr	w0, [x8]
	add	w9, w0, #1
	str	w9, [x8]
	mov	x1, x19
	mov	x2, x20
	bl	_prepare_rpc_query_raw
	ldr	w0, [x23]
	mov	x1, x19
	mov	x2, x20
	bl	_write
	mov	x21, x0
	cmp	w20, w21
	cset	w22, eq
	ldr	w1, [x23]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dl_pstr
	mov	x1, x0
	mov	x0, x22
	bl	_dl_passert
	cmp	w20, w21
	b.eq	LBB0_3
; %bb.2:
	bl	_getppid
	mov	w1, #9
	bl	_kill
LBB0_3:
	mov	x0, x19
	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	_free
LBB0_4:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_master_pipe_write,4,2          ; @master_pipe_write
	.comm	_stats_len,4,2                  ; @stats_len
	.comm	_RPC_PHP_FULL_STATS,4,2         ; @RPC_PHP_FULL_STATS
	.comm	_stats,4,2                      ; @stats
	.comm	_pipe_packet_id,4,2             ; @pipe_packet_id
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error during write to pipe [%d]\n"

.subsections_via_symbols
