	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_clock
_init_clock:                            ## @init_clock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_getpid
	movq	_clock_attr@GOTPCREL(%rip), %rdi
	movl	%eax, %esi
	movl	$-1, %edx
	movl	$-1, %ecx
	xorl	%r8d, %r8d
	callq	_sys_perf_event_open
	movq	_clock_fd@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jns	LBB0_3
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_ENOSYS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_die                            ## TAILCALL
LBB0_3:
	shrq	$63, %rax
	movl	%eax, %edi
	popq	%rbp
	jmp	_BUG_ON                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_clock_attr,4,2                 ## @clock_attr
	.comm	_clock_fd,8,3                   ## @clock_fd
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOSYS,8,3                     ## @ENOSYS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No CONFIG_PERF_EVENTS=y kernel support configured?\n"

	.no_dead_strip	_init_clock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_clock
_init_clock:                            ; @init_clock
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_getpid
	mov	x1, x0
Lloh0:
	adrp	x0, _clock_attr@GOTPAGE
Lloh1:
	ldr	x0, [x0, _clock_attr@GOTPAGEOFF]
	mov	w2, #-1
	mov	w3, #-1
	mov	w4, #0
	bl	_sys_perf_event_open
Lloh2:
	adrp	x8, _clock_fd@GOTPAGE
Lloh3:
	ldr	x8, [x8, _clock_fd@GOTPAGEOFF]
Lloh4:
	str	x0, [x8]
	tbz	x0, #63, LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _ENOSYS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ENOSYS@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_die
LBB0_3:
	lsr	x0, x0, #63
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_BUG_ON
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_clock_attr,4,2                 ; @clock_attr
	.comm	_clock_fd,8,3                   ; @clock_fd
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOSYS,8,3                     ; @ENOSYS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No CONFIG_PERF_EVENTS=y kernel support configured?\n"

	.no_dead_strip	_init_clock
.subsections_via_symbols
