	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_report_count                   ## -- Begin function report_count
	.p2align	4, 0x90
_report_count:                          ## @report_count
	.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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, -24(%rbp)
	movq	_ret_count@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	_slvpipe@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_WRITE_PIPE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	-20(%rbp), %rsi
	movl	$4, %edx
	callq	_write
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	-24(%rbp), %rsi
	movl	$4, %edx
	callq	_write
	testq	%rax, %rax
	js	LBB0_4
## %bb.3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_err                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ret_count,4,2                  ## @ret_count
	.comm	_slvpipe,8,3                    ## @slvpipe
	.comm	_WRITE_PIPE,8,3                 ## @WRITE_PIPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"command pipe write for count type failed"

L_.str.1:                               ## @.str.1
	.asciz	"command pipe write for count"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_report_count                   ; -- Begin function report_count
	.p2align	2
_report_count:                          ; @report_count
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	str	w0, [sp, #12]
Lloh0:
	adrp	x8, _ret_count@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ret_count@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh3:
	adrp	x19, _slvpipe@GOTPAGE
Lloh4:
	ldr	x19, [x19, _slvpipe@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh5:
	adrp	x20, _WRITE_PIPE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _WRITE_PIPE@GOTPAGEOFF]
	ldr	x9, [x20]
	ldr	w0, [x8, x9, lsl #2]
	add	x1, sp, #8
	mov	w2, #4
	bl	_write
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	w0, [x8, x9, lsl #2]
	add	x1, sp, #12
	mov	w2, #4
	bl	_write
	tbnz	x0, #63, LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_err
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ret_count,4,2                  ; @ret_count
	.comm	_slvpipe,8,3                    ; @slvpipe
	.comm	_WRITE_PIPE,8,3                 ; @WRITE_PIPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"command pipe write for count type failed"

l_.str.1:                               ; @.str.1
	.asciz	"command pipe write for count"

.subsections_via_symbols
