	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pprof_init                     ## -- Begin function pprof_init
	.p2align	4, 0x90
_pprof_init:                            ## @pprof_init
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_pprof_get_one
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_pprof_get_one
	subl	%ebx, %eax
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.1(%rip), %rdi
	movl	$44811054, %esi                 ## imm = 0x2ABC32E
	callq	_ftok
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.3:
	movl	%eax, %ebx
	movq	_IPC_CREAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IPC_EXCL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	orl	$420, %edx                      ## imm = 0x1A4
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_shmget
	movq	_shmemid@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.6:
	movl	%eax, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_shmat
	cmpq	$-1, %rax
	je	LBB0_7
## %bb.10:
	movq	_pp_counters@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_memset
	leaq	L_str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_puts                           ## TAILCALL
LBB0_4:
	movl	%ebx, %edi
	movl	$1, %esi
	movl	$420, %edx                      ## imm = 0x1A4
	callq	_shmget
	movl	%eax, (%r14)
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.8:
	movl	%eax, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_shmat
	cmpq	$-1, %rax
	je	LBB0_7
## %bb.9:
	movq	_pp_counters@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_2
LBB0_7:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_2
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_perror                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pprof: measured diff is %u\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"pprof: ftok failed"

	.comm	_IPC_CREAT,4,2                  ## @IPC_CREAT
	.comm	_IPC_EXCL,4,2                   ## @IPC_EXCL
	.comm	_shmemid,4,2                    ## @shmemid
L_.str.3:                               ## @.str.3
	.asciz	"pprof: shmget failed"

L_.str.4:                               ## @.str.4
	.asciz	"pprof: shmat failed"

	.comm	_pp_counters,8,3                ## @pp_counters
L_str:                                  ## @str
	.asciz	"pprof: pp_counters cleared."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pprof_init                     ; -- Begin function pprof_init
	.p2align	2
_pprof_init:                            ; @pprof_init
	.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
	bl	_pprof_get_one
	mov	x19, x0
	bl	_pprof_get_one
	sub	w8, w0, w19
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #49966
	movk	w1, #683, lsl #16
	bl	_ftok
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.1:
	mov	x19, x0
Lloh4:
	adrp	x8, _IPC_CREAT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IPC_CREAT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _IPC_EXCL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IPC_EXCL@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w8, w9
	mov	w9, #420
	orr	w2, w8, w9
	mov	w1, #1
	bl	_shmget
Lloh10:
	adrp	x20, _shmemid@GOTPAGE
Lloh11:
	ldr	x20, [x20, _shmemid@GOTPAGEOFF]
	str	w0, [x20]
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
	mov	x1, #0
	mov	w2, #0
	bl	_shmat
	cmn	x0, #1
	b.eq	LBB0_8
; %bb.3:
Lloh12:
	adrp	x8, _pp_counters@GOTPAGE
Lloh13:
	ldr	x8, [x8, _pp_counters@GOTPAGEOFF]
Lloh14:
	str	x0, [x8]
	mov	w1, #0
	mov	w2, #1
	bl	_memset
Lloh15:
	adrp	x0, l_str@PAGE
Lloh16:
	add	x0, x0, l_str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_puts
LBB0_4:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #420
	bl	_shmget
	str	w0, [x20]
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.5:
	mov	x1, #0
	mov	w2, #0
	bl	_shmat
	cmn	x0, #1
	b.eq	LBB0_8
; %bb.6:
Lloh17:
	adrp	x8, _pp_counters@GOTPAGE
Lloh18:
	ldr	x8, [x8, _pp_counters@GOTPAGEOFF]
Lloh19:
	str	x0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_8:
Lloh22:
	adrp	x0, l_.str.4@PAGE
Lloh23:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_perror
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pprof: measured diff is %u\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"pprof: ftok failed"

	.comm	_IPC_CREAT,4,2                  ; @IPC_CREAT
	.comm	_IPC_EXCL,4,2                   ; @IPC_EXCL
	.comm	_shmemid,4,2                    ; @shmemid
l_.str.3:                               ; @.str.3
	.asciz	"pprof: shmget failed"

l_.str.4:                               ; @.str.4
	.asciz	"pprof: shmat failed"

	.comm	_pp_counters,8,3                ; @pp_counters
l_str:                                  ; @str
	.asciz	"pprof: pp_counters cleared."

.subsections_via_symbols
