	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfr_get_tstats                 ## -- Begin function pfr_get_tstats
	.p2align	4, 0x90
_pfr_get_tstats:                        ## @pfr_get_tstats
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.1:
	movq	%rdx, %rbx
	movl	(%rdx), %r13d
	testl	%r13d, %r13d
	js	LBB0_4
## %bb.2:
	movl	%ecx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r15
	testq	%rsi, %rsi
	jne	LBB0_5
## %bb.3:
	testl	%r13d, %r13d
	je	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	-72(%rbp), %rdi
	movl	$32, %esi
	callq	_bzero
	movl	%r12d, -72(%rbp)
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	movl	(%r15), %eax
	movl	%eax, -48(%rbp)
LBB0_7:
	movq	%r14, -56(%rbp)
	movl	$4, -68(%rbp)
	movl	%r13d, -64(%rbp)
	movq	_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DIOCRGETTSTATS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	callq	_ioctl
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_9
## %bb.8:
	movl	-64(%rbp), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_dev,4,2                        ## @dev
	.comm	_DIOCRGETTSTATS,4,2             ## @DIOCRGETTSTATS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfr_get_tstats                 ; -- Begin function pfr_get_tstats
	.p2align	2
_pfr_get_tstats:                        ; @pfr_get_tstats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	x2, LBB0_4
; %bb.1:
	mov	x19, x2
	ldr	w23, [x2]
	tbnz	w23, #31, LBB0_4
; %bb.2:
	mov	x22, x3
	mov	x20, x1
	mov	x21, x0
	cbnz	x1, LBB0_7
; %bb.3:
	cbz	w23, LBB0_7
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _errno@GOTPAGE
Lloh4:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:
	mov	x0, sp
	mov	w1, #32
	bl	_bzero
	str	w22, [sp]
	cbz	x21, LBB0_9
; %bb.8:
	ldr	w8, [x21]
	str	w8, [sp, #24]
LBB0_9:
	str	x20, [sp, #16]
	mov	w8, #4
	stp	w8, w23, [sp, #4]
Lloh6:
	adrp	x8, _dev@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dev@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _DIOCRGETTSTATS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DIOCRGETTSTATS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_ioctl
	cbnz	x0, LBB0_5
; %bb.10:
	ldr	w8, [sp, #8]
	str	w8, [x19]
	b	LBB0_6
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_dev,4,2                        ; @dev
	.comm	_DIOCRGETTSTATS,4,2             ; @DIOCRGETTSTATS
.subsections_via_symbols
