	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function procstat_get_pipe_info_kvm
_procstat_get_pipe_info_kvm:            ## @procstat_get_pipe_info_kvm
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_assert
	movq	%r12, %rdi
	callq	_assert
	movq	%rbx, %rdi
	callq	_assert
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_bzero
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$16, %ecx
	callq	_kvm_read_all
	testl	%eax, %eax
	je	LBB0_2
## %bb.6:
	movq	%rbx, (%r12)
	movq	-40(%rbp), %rax
	movq	%rax, 8(%r12)
	movl	-48(%rbp), %eax
	movl	%eax, 16(%r12)
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_warnx
LBB0_3:
	movl	$1, %ebx
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movq	__POSIX2_LINE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_snprintf
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't read pipe at %p"

	.comm	__POSIX2_LINE_MAX,4,2           ## @_POSIX2_LINE_MAX
L_.str.1:                               ## @.str.1
	.asciz	"error"

	.no_dead_strip	_procstat_get_pipe_info_kvm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function procstat_get_pipe_info_kvm
_procstat_get_pipe_info_kvm:            ; @procstat_get_pipe_info_kvm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	bl	_assert
	mov	x0, x20
	bl	_assert
	mov	x0, x22
	bl	_assert
	mov	x0, x20
	mov	w1, #32
	bl	_bzero
	ldr	x22, [x22, #24]
	cbz	x22, LBB0_4
; %bb.1:
	mov	x2, sp
	mov	x0, x21
	mov	x1, x22
	mov	w3, #16
	bl	_kvm_read_all
	cbz	w0, LBB0_3
; %bb.2:
	mov	w0, #0
	ldr	x8, [sp, #8]
	stp	x22, x8, [x20]
	ldr	w8, [sp]
	str	w8, [x20, #16]
	b	LBB0_7
LBB0_3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_warnx
LBB0_4:
	cbz	x19, LBB0_6
; %bb.5:
Lloh2:
	adrp	x8, __POSIX2_LINE_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, __POSIX2_LINE_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_snprintf
LBB0_6:
	mov	w0, #1
LBB0_7:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't read pipe at %p"

	.comm	__POSIX2_LINE_MAX,4,2           ; @_POSIX2_LINE_MAX
l_.str.1:                               ; @.str.1
	.asciz	"error"

	.no_dead_strip	_procstat_get_pipe_info_kvm
.subsections_via_symbols
