	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gem_ptp_init_timer
_gem_ptp_init_timer:                    ## @gem_ptp_init_timer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	$0, -16(%rbp)
	movq	_NSEC_PER_SEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	leaq	-16(%rbp), %rdx
	callq	_div_u64_rem
	movl	%eax, 4(%rbx)
	movq	-16(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	_GEM_SUBNSINCR_SIZE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlq	%cl, %rdi
	movl	8(%rbx), %esi
	callq	_div_u64
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NSEC_PER_SEC,4,2               ## @NSEC_PER_SEC
	.comm	_GEM_SUBNSINCR_SIZE,8,3         ## @GEM_SUBNSINCR_SIZE
	.no_dead_strip	_gem_ptp_init_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gem_ptp_init_timer
_gem_ptp_init_timer:                    ; @gem_ptp_init_timer
	.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
	mov	x19, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _NSEC_PER_SEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NSEC_PER_SEC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	add	x2, sp, #8
	bl	_div_u64_rem
	str	w0, [x19, #4]
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _GEM_SUBNSINCR_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GEM_SUBNSINCR_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	lsl	x0, x8, x9
	ldr	w1, [x19, #8]
	bl	_div_u64
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	str	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NSEC_PER_SEC,4,2               ; @NSEC_PER_SEC
	.comm	_GEM_SUBNSINCR_SIZE,8,3         ; @GEM_SUBNSINCR_SIZE
	.no_dead_strip	_gem_ptp_init_timer
.subsections_via_symbols
