	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __vdso_init_hpet
___vdso_init_hpet:                      ## @__vdso_init_hpet
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movabsq	$7309456748281422895, %rax      ## imm = 0x6570682F7665642F
	movq	%rax, -112(%rbp)
	movw	$116, -104(%rbp)
	leaq	-105(%rbp), %rax
	movl	$3, %ecx
	movl	%edi, %edx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%edx, %rbx
	imulq	$1717986919, %rbx, %rdx         ## imm = 0x66666667
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$34, %rdx
	addl	%esi, %edx
	leal	(%rdx,%rdx), %esi
	leal	(%rsi,%rsi,4), %r8d
	movl	%ebx, %esi
	subl	%r8d, %esi
	addb	$48, %sil
	movb	%sil, 2(%rax)
	addl	$9, %ebx
	decq	%rcx
	incq	%rax
	cmpl	$18, %ebx
	ja	LBB0_1
## %bb.2:
	movb	$0, 2(%rax)
	cmpq	$2, %rcx
	je	LBB0_6
## %bb.3:
	movb	-103(%rbp), %dl
	movb	%sil, -103(%rbp)
	movb	%dl, 1(%rax)
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.4:
	leaq	-101(%rbp), %rcx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %edx
	movzbl	-1(%rcx), %ebx
	movb	%dl, -1(%rcx)
	movb	%bl, (%rax)
	decq	%rax
	leaq	1(%rcx), %rdx
	cmpq	%rax, %rcx
	movq	%rdx, %rcx
	jne	LBB0_5
LBB0_6:
	movq	_hpet_dev_map@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movslq	%edi, %rbx
	cmpq	$0, (%rax,%rbx,8)
	jne	LBB0_14
## %bb.7:
	leaq	-116(%rbp), %rdi
	callq	_cap_getmode
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	cmpl	$0, -116(%rbp)
	jne	LBB0_10
LBB0_9:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-112(%rbp), %rdi
	callq	__open
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.11:
	movl	%eax, %r15d
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_PROT_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MAP_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	movl	%r15d, %r8d
	xorl	%r9d, %r9d
	callq	_mmap
	movq	%rax, %r14
	movl	%r15d, %edi
	callq	__close
	shlq	$3, %rbx
	addq	(%r12), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_atomic_cmpset_rel_ptr
	testq	%rax, %rax
	jne	LBB0_14
## %bb.12:
	movq	_MAP_FAILED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_14
## %bb.13:
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_munmap
	jmp	LBB0_14
LBB0_10:
	shlq	$3, %rbx
	addq	(%r12), %rbx
	movq	_MAP_FAILED@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_atomic_cmpset_rel_ptr
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
___vdso_init_hpet.devprefix:            ## @__vdso_init_hpet.devprefix
	.asciz	"/dev/hpet"

	.comm	_hpet_dev_map,8,3               ## @hpet_dev_map
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_MAP_FAILED,8,3                 ## @MAP_FAILED
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.comm	_MAP_SHARED,4,2                 ## @MAP_SHARED
	.no_dead_strip	___vdso_init_hpet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __vdso_init_hpet
___vdso_init_hpet:                      ; @__vdso_init_hpet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
                                        ; kill: def $w0 killed $w0 def $x0
	mov	x8, #0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-56]
	mov	w9, #116
	strh	w9, [sp, #16]
Lloh3:
	adrp	x9, ___vdso_init_hpet.devprefix@PAGE
Lloh4:
	add	x9, x9, ___vdso_init_hpet.devprefix@PAGEOFF
Lloh5:
	ldr	x9, [x9]
	str	x9, [sp, #8]
	add	x9, sp, #8
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mov	w11, #10
	mov	x13, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x14, x9, x8
	smull	x12, w13, w10
	lsr	x15, x12, #63
	asr	x12, x12, #34
	add	w15, w12, w15
	msub	w12, w15, w11, w13
	add	w12, w12, #48
	strb	w12, [x14, #9]
	add	w14, w13, #9
	add	x8, x8, #1
	mov	x13, x15
	cmp	w14, #18
	b.hi	LBB0_1
; %bb.2:
	add	x9, sp, #8
	add	x9, x9, x8
	strb	wzr, [x9, #9]
	cmp	x8, #1
	b.eq	LBB0_6
; %bb.3:
	ldrb	w10, [sp, #17]
	strb	w12, [sp, #17]
	strb	w10, [x9, #8]
	cmp	x8, #3
	b.eq	LBB0_6
; %bb.4:
	add	x8, x9, #7
	add	x9, sp, #8
	add	x9, x9, #11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x8]
	ldurb	w11, [x9, #-1]
	sturb	w10, [x9, #-1]
	strb	w11, [x8], #-1
	add	x10, x9, #1
	cmp	x9, x8
	mov	x9, x10
	b.ne	LBB0_5
LBB0_6:
Lloh6:
	adrp	x21, _hpet_dev_map@GOTPAGE
Lloh7:
	ldr	x21, [x21, _hpet_dev_map@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x8, w0, sxtw #3]
	cbnz	x8, LBB0_13
; %bb.7:
	sxtw	x22, w0
	add	x0, sp, #4
	bl	_cap_getmode
	cbnz	x0, LBB0_9
; %bb.8:
	ldr	w8, [sp, #4]
	cbnz	w8, LBB0_12
LBB0_9:
Lloh8:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	__open
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.10:
	mov	x19, x0
Lloh11:
	adrp	x23, _PAGE_SIZE@GOTPAGE
Lloh12:
	ldr	x23, [x23, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh13:
	adrp	x8, _PROT_READ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PROT_READ@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _MAP_SHARED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MAP_SHARED@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, #0
	mov	x4, x19
	mov	w5, #0
	bl	_mmap
	mov	x20, x0
	mov	x0, x19
	bl	__close
	ldr	x8, [x21]
	add	x0, x8, x22, lsl #3
	mov	x1, #0
	mov	x2, x20
	bl	_atomic_cmpset_rel_ptr
Lloh19:
	adrp	x8, _MAP_FAILED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MAP_FAILED@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x0, #0
	ccmp	x20, x8, #4, eq
	b.eq	LBB0_13
; %bb.11:
	ldr	w1, [x23]
	mov	x0, x20
	bl	_munmap
	b	LBB0_13
LBB0_12:
	ldr	x8, [x21]
	add	x0, x8, x22, lsl #3
Lloh22:
	adrp	x8, _MAP_FAILED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MAP_FAILED@GOTPAGEOFF]
Lloh24:
	ldr	x2, [x8]
	mov	x1, #0
	bl	_atomic_cmpset_rel_ptr
LBB0_13:
	ldur	x8, [x29, #-56]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
___vdso_init_hpet.devprefix:            ; @__vdso_init_hpet.devprefix
	.asciz	"/dev/hpet"

	.comm	_hpet_dev_map,8,3               ; @hpet_dev_map
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_MAP_FAILED,8,3                 ; @MAP_FAILED
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.comm	_MAP_SHARED,4,2                 ; @MAP_SHARED
	.no_dead_strip	___vdso_init_hpet
.subsections_via_symbols
