	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_openpfile                      ## -- Begin function openpfile
	.p2align	4, 0x90
_openpfile:                             ## @openpfile
	.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
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	%r15, %rdx
	callq	_err
LBB0_2:
	leaq	-80(%rbp), %rdi
	movl	$40, %esi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_fread
	movq	_s_highpc@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	je	LBB0_7
## %bb.3:
	movq	-80(%rbp), %rcx
	movq	_gmonhdr@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_6
## %bb.4:
	movq	-72(%rbp), %rcx
	cmpq	8(%rax), %rcx
	jne	LBB0_6
## %bb.5:
	movq	-64(%rbp), %rcx
	cmpq	16(%rax), %rcx
	je	LBB0_7
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_7:
	movups	-80(%rbp), %xmm0
	movups	-64(%rbp), %xmm1
	movq	_gmonhdr@GOTPCREL(%rip), %r12
	movups	%xmm1, 16(%r12)
	movq	-48(%rbp), %rax
	movq	%rax, 32(%r12)
	movups	%xmm0, (%r12)
	movq	24(%r12), %rax
	movq	_GMONVERSION@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_9
## %bb.8:
	movl	32(%r12), %eax
	movq	$-40, %rbx
	jmp	LBB0_10
LBB0_9:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_fseek
	xorl	%eax, %eax
	callq	_hertz
	movl	%eax, 32(%r12)
	movq	(%rbx), %rcx
	movq	%rcx, 24(%r12)
	movq	$-4, %rbx
LBB0_10:
	movq	_hz@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	testl	%r9d, %r9d
	je	LBB0_11
## %bb.12:
	cmpl	%eax, %r9d
	je	LBB0_14
## %bb.13:
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.4(%rip), %r8
	xorl	%edi, %edi
	movq	%r15, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_14
LBB0_11:
	movl	%eax, (%rcx)
LBB0_14:
	movl	36(%r12), %ecx
	movq	_histcounter_type@GOTPCREL(%rip), %rax
	testl	%ecx, %ecx
	je	LBB0_15
## %bb.16:
	movl	%ecx, (%rax)
	movl	%ecx, %eax
	negl	%eax
	cmovsl	%ecx, %eax
	movq	_CHAR_BIT@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %ecx
	jmp	LBB0_17
LBB0_15:
	movl	$16, (%rax)
	movl	$2, %ecx
LBB0_17:
	movq	_histcounter_size@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	movq	(%r12), %rax
	movq	8(%r12), %rsi
	movq	_s_lowpc@GOTPCREL(%rip), %rdx
	movq	%rax, (%rdx)
	movq	%rsi, (%r13)
	movq	_HISTORICAL_SCALE_2@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
	movq	%rax, %rdx
	orq	%rdi, %rdx
	shrq	$32, %rdx
	je	LBB0_18
## %bb.19:
	xorl	%edx, %edx
	divq	%rdi
	jmp	LBB0_20
LBB0_18:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
LBB0_20:
	movq	_lowpc@GOTPCREL(%rip), %rdx
	movq	%rax, (%rdx)
	movq	%rsi, %rax
	orq	%rdi, %rax
	shrq	$32, %rax
	je	LBB0_21
## %bb.22:
	movq	%rsi, %rax
	xorl	%edx, %edx
	divq	%rdi
	jmp	LBB0_23
LBB0_21:
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
LBB0_23:
	movq	_highpc@GOTPCREL(%rip), %rdx
	movq	%rax, (%rdx)
	addl	16(%r12), %ebx
	movq	_sampbytes@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	movq	_nsamples@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.comm	_s_highpc,8,3                   ## @s_highpc
	.comm	_gmonhdr,40,3                   ## @gmonhdr
L_.str.2:                               ## @.str.2
	.asciz	"%s: incompatible with first gmon file"

	.comm	_GMONVERSION,8,3                ## @GMONVERSION
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_hz,4,2                         ## @hz
L_.str.3:                               ## @.str.3
	.asciz	"%s: profile clock rate (%d) %s (%ld) in first gmon file"

L_.str.4:                               ## @.str.4
	.asciz	"incompatible with clock rate"

	.comm	_histcounter_type,4,2           ## @histcounter_type
	.comm	_histcounter_size,4,2           ## @histcounter_size
	.comm	_CHAR_BIT,4,2                   ## @CHAR_BIT
	.comm	_s_lowpc,8,3                    ## @s_lowpc
	.comm	_HISTORICAL_SCALE_2,8,3         ## @HISTORICAL_SCALE_2
	.comm	_lowpc,8,3                      ## @lowpc
	.comm	_highpc,8,3                     ## @highpc
	.comm	_sampbytes,4,2                  ## @sampbytes
	.comm	_nsamples,4,2                   ## @nsamples
	.comm	_SAMPLEDEBUG,4,2                ## @SAMPLEDEBUG
	.comm	_debug,4,2                      ## @debug
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_openpfile                      ; -- Begin function openpfile
	.p2align	2
_openpfile:                             ; @openpfile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x20
	bl	_err
LBB0_2:
	add	x0, sp, #24
	mov	w1, #40
	mov	w2, #1
	mov	x3, x19
	bl	_fread
Lloh4:
	adrp	x22, _s_highpc@GOTPAGE
Lloh5:
	ldr	x22, [x22, _s_highpc@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh6:
	adrp	x21, _gmonhdr@GOTPAGE
Lloh7:
	ldr	x21, [x21, _gmonhdr@GOTPAGEOFF]
	cbz	x8, LBB0_7
; %bb.3:
	ldr	x8, [sp, #24]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [sp, #32]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [sp, #40]
	ldr	x9, [x21, #16]
	cmp	x8, x9
	b.eq	LBB0_7
LBB0_6:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	mov	x2, x20
	bl	_errx
LBB0_7:
	ldur	q0, [sp, #40]
	ldur	q1, [sp, #24]
	stp	q1, q0, [x21]
	ldr	x8, [sp, #56]
	str	x8, [x21, #32]
	ldr	x8, [x21, #24]
Lloh10:
	adrp	x23, _GMONVERSION@GOTPAGE
Lloh11:
	ldr	x23, [x23, _GMONVERSION@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	ldr	w0, [x21, #32]
	mov	x23, #-40
	b	LBB0_10
LBB0_9:
Lloh12:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #4
	bl	_fseek
	bl	_hertz
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [x21, #32]
	ldr	x8, [x23]
	str	x8, [x21, #24]
	mov	x23, #-4
LBB0_10:
Lloh15:
	adrp	x9, _hz@GOTPAGE
Lloh16:
	ldr	x9, [x9, _hz@GOTPAGEOFF]
	ldr	w8, [x9]
	cbz	w8, LBB0_15
; %bb.11:
	cmp	w8, w0
	b.eq	LBB0_13
; %bb.12:
	str	x8, [sp, #16]
Lloh17:
	adrp	x8, l_.str.4@PAGE
Lloh18:
	add	x8, x8, l_.str.4@PAGEOFF
	stp	x0, x8, [sp]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #0
	mov	x2, x20
	bl	_errx
LBB0_13:
	ldr	w8, [x21, #36]
	cbz	w8, LBB0_16
LBB0_14:
Lloh21:
	adrp	x9, _histcounter_type@GOTPAGE
Lloh22:
	ldr	x9, [x9, _histcounter_type@GOTPAGEOFF]
Lloh23:
	str	w8, [x9]
	cmp	w8, #0
	cneg	w8, w8, mi
Lloh24:
	adrp	x9, _CHAR_BIT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _CHAR_BIT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	b	LBB0_17
LBB0_15:
	str	w0, [x9]
	ldr	w8, [x21, #36]
	cbnz	w8, LBB0_14
LBB0_16:
Lloh27:
	adrp	x8, _histcounter_type@GOTPAGE
Lloh28:
	ldr	x8, [x8, _histcounter_type@GOTPAGEOFF]
	mov	w9, #16
Lloh29:
	str	w9, [x8]
	mov	w8, #2
LBB0_17:
Lloh30:
	adrp	x9, _histcounter_size@GOTPAGE
Lloh31:
	ldr	x9, [x9, _histcounter_size@GOTPAGEOFF]
Lloh32:
	str	w8, [x9]
Lloh33:
	adrp	x9, _s_lowpc@GOTPAGE
Lloh34:
	ldr	x9, [x9, _s_lowpc@GOTPAGEOFF]
	ldp	x10, x11, [x21]
Lloh35:
	str	x10, [x9]
	str	x11, [x22]
Lloh36:
	adrp	x9, _HISTORICAL_SCALE_2@GOTPAGE
Lloh37:
	ldr	x9, [x9, _HISTORICAL_SCALE_2@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	udiv	x10, x10, x9
Lloh39:
	adrp	x12, _lowpc@GOTPAGE
Lloh40:
	ldr	x12, [x12, _lowpc@GOTPAGEOFF]
Lloh41:
	str	x10, [x12]
Lloh42:
	adrp	x10, _highpc@GOTPAGE
Lloh43:
	ldr	x10, [x10, _highpc@GOTPAGEOFF]
	udiv	x9, x11, x9
Lloh44:
	str	x9, [x10]
	ldr	w9, [x21, #16]
	add	w9, w9, w23
Lloh45:
	adrp	x10, _sampbytes@GOTPAGE
Lloh46:
	ldr	x10, [x10, _sampbytes@GOTPAGEOFF]
Lloh47:
	str	w9, [x10]
Lloh48:
	adrp	x10, _nsamples@GOTPAGE
Lloh49:
	ldr	x10, [x10, _nsamples@GOTPAGEOFF]
	sdiv	w8, w9, w8
Lloh50:
	str	w8, [x10]
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotStr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotStr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotStr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.comm	_s_highpc,8,3                   ; @s_highpc
	.comm	_gmonhdr,40,3                   ; @gmonhdr
l_.str.2:                               ; @.str.2
	.asciz	"%s: incompatible with first gmon file"

	.comm	_GMONVERSION,8,3                ; @GMONVERSION
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_hz,4,2                         ; @hz
l_.str.3:                               ; @.str.3
	.asciz	"%s: profile clock rate (%d) %s (%ld) in first gmon file"

l_.str.4:                               ; @.str.4
	.asciz	"incompatible with clock rate"

	.comm	_histcounter_type,4,2           ; @histcounter_type
	.comm	_histcounter_size,4,2           ; @histcounter_size
	.comm	_CHAR_BIT,4,2                   ; @CHAR_BIT
	.comm	_s_lowpc,8,3                    ; @s_lowpc
	.comm	_HISTORICAL_SCALE_2,8,3         ; @HISTORICAL_SCALE_2
	.comm	_lowpc,8,3                      ; @lowpc
	.comm	_highpc,8,3                     ; @highpc
	.comm	_sampbytes,4,2                  ; @sampbytes
	.comm	_nsamples,4,2                   ; @nsamples
	.comm	_SAMPLEDEBUG,4,2                ; @SAMPLEDEBUG
	.comm	_debug,4,2                      ; @debug
.subsections_via_symbols
