	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hv_timesync_init
_hv_timesync_init:                      ## @hv_timesync_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
	movq	_hyperv_cs@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_host_ts@GOTPCREL(%rip), %rdi
	callq	_spin_lock_init
	movq	_hv_set_host_time@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_adj_time_work@GOTPCREL(%rip), %rdi
	callq	_INIT_WORK
	movq	_ptp_hyperv_info@GOTPCREL(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_ptp_clock_register
	movq	_hv_ptp_clock@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%r14), %rdi
	callq	_PTR_ERR
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_err
	movq	$0, (%r14)
	jmp	LBB0_4
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hyperv_cs,4,2                  ## @hyperv_cs
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_host_ts,4,2                    ## @host_ts
	.comm	_adj_time_work,4,2              ## @adj_time_work
	.comm	_hv_set_host_time,4,2           ## @hv_set_host_time
	.comm	_ptp_hyperv_info,4,2            ## @ptp_hyperv_info
	.comm	_hv_ptp_clock,8,3               ## @hv_ptp_clock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot register PTP clock: %ld\n"

	.no_dead_strip	_hv_timesync_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hv_timesync_init
_hv_timesync_init:                      ; @hv_timesync_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _hyperv_cs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hyperv_cs@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x0, _host_ts@GOTPAGE
Lloh4:
	ldr	x0, [x0, _host_ts@GOTPAGEOFF]
	bl	_spin_lock_init
Lloh5:
	adrp	x8, _hv_set_host_time@GOTPAGE
Lloh6:
	ldr	x8, [x8, _hv_set_host_time@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x0, _adj_time_work@GOTPAGE
Lloh9:
	ldr	x0, [x0, _adj_time_work@GOTPAGEOFF]
	bl	_INIT_WORK
Lloh10:
	adrp	x0, _ptp_hyperv_info@GOTPAGE
Lloh11:
	ldr	x0, [x0, _ptp_hyperv_info@GOTPAGEOFF]
	mov	x1, #0
	bl	_ptp_clock_register
Lloh12:
	adrp	x19, _hv_ptp_clock@GOTPAGE
Lloh13:
	ldr	x19, [x19, _hv_ptp_clock@GOTPAGEOFF]
	str	x0, [x19]
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x0, [x19]
	bl	_PTR_ERR
	mov	x1, x0
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	w0, #0
	str	xzr, [x19]
	b	LBB0_4
LBB0_3:
Lloh16:
	adrp	x8, _ENODEV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_hyperv_cs,4,2                  ; @hyperv_cs
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_host_ts,4,2                    ; @host_ts
	.comm	_adj_time_work,4,2              ; @adj_time_work
	.comm	_hv_set_host_time,4,2           ; @hv_set_host_time
	.comm	_ptp_hyperv_info,4,2            ; @ptp_hyperv_info
	.comm	_hv_ptp_clock,8,3               ; @hv_ptp_clock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot register PTP clock: %ld\n"

	.no_dead_strip	_hv_timesync_init
.subsections_via_symbols
