	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sys_t_clock_sync
_sys_t_clock_sync:                      ## @sys_t_clock_sync
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_CLOCK_SYNC_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movb	$0, -25(%rbp)
	movq	_STP_PACKET_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_STP_PACKET_TIMESTAMPED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-32(%rbp), %rax
	movq	%rax, (%rsp)
	movl	$4, %r9d
	callq	*(%rdi)
	testq	%rax, %rax
	jle	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_ktime_get_real_ns
	movl	%eax, -40(%rbp)
	movq	_NSEC_PER_SEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	leaq	-40(%rbp), %r8
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	movl	$8, %r9d
	callq	_stm_data_write
	testq	%rax, %rax
	jle	LBB0_3
## %bb.2:
	movq	_STP_PACKET_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-25(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	*(%rbx)
	movl	$12, %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLOCK_SYNC_HEADER,4,2          ## @CLOCK_SYNC_HEADER
	.comm	_STP_PACKET_DATA,4,2            ## @STP_PACKET_DATA
	.comm	_STP_PACKET_TIMESTAMPED,4,2     ## @STP_PACKET_TIMESTAMPED
	.comm	_NSEC_PER_SEC,4,2               ## @NSEC_PER_SEC
	.comm	_STP_PACKET_FLAG,4,2            ## @STP_PACKET_FLAG
	.no_dead_strip	_sys_t_clock_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sys_t_clock_sync
_sys_t_clock_sync:                      ; @sys_t_clock_sync
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _CLOCK_SYNC_HEADER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLOCK_SYNC_HEADER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	strb	wzr, [sp, #11]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _STP_PACKET_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STP_PACKET_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x9]
Lloh6:
	adrp	x9, _STP_PACKET_TIMESTAMPED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _STP_PACKET_TIMESTAMPED@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x9]
	add	x6, sp, #12
	mov	w5, #4
	blr	x8
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.1:
	bl	_ktime_get_real_ns
Lloh9:
	adrp	x8, _NSEC_PER_SEC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NSEC_PER_SEC@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w0, w8, [sp]
	mov	x4, sp
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	mov	w5, #8
	bl	_stm_data_write
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.2:
	ldr	x8, [x21]
Lloh12:
	adrp	x9, _STP_PACKET_FLAG@GOTPAGE
Lloh13:
	ldr	x9, [x9, _STP_PACKET_FLAG@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x9]
	add	x6, sp, #11
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w4, #0
	mov	w5, #0
	blr	x8
	mov	w0, #12
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_CLOCK_SYNC_HEADER,4,2          ; @CLOCK_SYNC_HEADER
	.comm	_STP_PACKET_DATA,4,2            ; @STP_PACKET_DATA
	.comm	_STP_PACKET_TIMESTAMPED,4,2     ; @STP_PACKET_TIMESTAMPED
	.comm	_NSEC_PER_SEC,4,2               ; @NSEC_PER_SEC
	.comm	_STP_PACKET_FLAG,4,2            ; @STP_PACKET_FLAG
	.no_dead_strip	_sys_t_clock_sync
.subsections_via_symbols
