	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_immediate_stats_to_pipe  ## -- Begin function write_immediate_stats_to_pipe
	.p2align	4, 0x90
_write_immediate_stats_to_pipe:         ## @write_immediate_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	%r14
	pushq	%rbx
	subq	$128, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_master_pipe_fast_write@GOTPCREL(%rip), %rbx
	cmpl	$-1, (%rbx)
	je	LBB0_2
## %bb.1:
	leaq	-144(%rbp), %r14
	movl	$28, %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_RPC_PHP_IMMEDIATE_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -136(%rbp)
	leaq	-132(%rbp), %rdi
	movq	_immediate_stats@GOTPCREL(%rip), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_pipe_fast_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	$28, %edx
	callq	_prepare_rpc_query_raw
	movl	(%rbx), %edi
	movl	$28, %edx
	movq	%r14, %rsi
	callq	_write
	xorl	%ebx, %ebx
	cmpl	$28, %eax
	sete	%bl
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_dl_pstr
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_dl_passert
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$128, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_master_pipe_fast_write,4,2     ## @master_pipe_fast_write
	.comm	_RPC_PHP_IMMEDIATE_STATS,4,2    ## @RPC_PHP_IMMEDIATE_STATS
	.comm	_immediate_stats,4,2            ## @immediate_stats
	.comm	_pipe_fast_packet_id,4,2        ## @pipe_fast_packet_id
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error [%d] during write to pipe"

	.comm	_errno,4,2                      ## @errno
	.comm	_QSIZE,4,2                      ## @QSIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_immediate_stats_to_pipe  ; -- Begin function write_immediate_stats_to_pipe
	.p2align	2
_write_immediate_stats_to_pipe:         ; @write_immediate_stats_to_pipe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x19, _master_pipe_fast_write@GOTPAGE
Lloh4:
	ldr	x19, [x19, _master_pipe_fast_write@GOTPAGEOFF]
	ldr	w8, [x19]
	cmn	w8, #1
	b.eq	LBB0_2
; %bb.1:
	add	x20, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #28
	bl	_memset
Lloh5:
	adrp	x8, _RPC_PHP_IMMEDIATE_STATS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RPC_PHP_IMMEDIATE_STATS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	add	x0, x20, #12
Lloh8:
	adrp	x1, _immediate_stats@GOTPAGE
Lloh9:
	ldr	x1, [x1, _immediate_stats@GOTPAGEOFF]
	mov	w2, #4
	bl	_memcpy
Lloh10:
	adrp	x8, _pipe_fast_packet_id@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pipe_fast_packet_id@GOTPAGEOFF]
	ldr	w0, [x8]
	add	w9, w0, #1
	str	w9, [x8]
	add	x1, sp, #8
	mov	w2, #28
	bl	_prepare_rpc_query_raw
	ldr	w0, [x19]
	add	x1, sp, #8
	mov	w2, #28
	bl	_write
	cmp	w0, #28
	cset	w19, eq
Lloh12:
	adrp	x8, _errno@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dl_pstr
	mov	x1, x0
	mov	x0, x19
	bl	_dl_passert
LBB0_2:
	ldur	x8, [x29, #-24]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_master_pipe_fast_write,4,2     ; @master_pipe_fast_write
	.comm	_RPC_PHP_IMMEDIATE_STATS,4,2    ; @RPC_PHP_IMMEDIATE_STATS
	.comm	_immediate_stats,4,2            ; @immediate_stats
	.comm	_pipe_fast_packet_id,4,2        ; @pipe_fast_packet_id
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error [%d] during write to pipe"

	.comm	_errno,4,2                      ; @errno
	.comm	_QSIZE,4,2                      ; @QSIZE
.subsections_via_symbols
