	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function oct_ptp_open
_oct_ptp_open:                          ## @oct_ptp_open
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_GET_LIO
	movq	%rax, %rbx
	movq	88(%rax), %r12
	leaq	80(%rax), %rdi
	callq	_spin_lock_init
	leaq	8(%rbx), %r14
	movl	68(%rbx), %edi
	movq	(%r15), %rcx
	leaq	L_.str(%rip), %rdx
	movl	$16, %esi
	callq	_snprintf
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movl	$250000000, 8(%rbx)             ## imm = 0xEE6B280
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rbx)
	movups	%xmm0, 32(%rbx)
	movq	_liquidio_ptp_adjfreq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_liquidio_ptp_adjtime@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_liquidio_ptp_gettime@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_liquidio_ptp_settime@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_liquidio_ptp_enable@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	$0, 72(%rbx)
	movq	(%r12), %rsi
	movq	%r14, %rdi
	callq	_ptp_clock_register
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	$0, (%rbx)
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_liquidio_ptp_adjfreq,4,2       ## @liquidio_ptp_adjfreq
	.comm	_liquidio_ptp_adjtime,4,2       ## @liquidio_ptp_adjtime
	.comm	_liquidio_ptp_gettime,4,2       ## @liquidio_ptp_gettime
	.comm	_liquidio_ptp_settime,4,2       ## @liquidio_ptp_settime
	.comm	_liquidio_ptp_enable,4,2        ## @liquidio_ptp_enable
	.no_dead_strip	_oct_ptp_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function oct_ptp_open
_oct_ptp_open:                          ; @oct_ptp_open
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	bl	_GET_LIO
	mov	x19, x0
	ldr	x21, [x0, #88]
	add	x0, x0, #80
	bl	_spin_lock_init
	ldr	w0, [x19, #68]
	ldr	x3, [x20]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #16
	bl	_snprintf
Lloh2:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #64]
	mov	w8, #45696
	movk	w8, #3814, lsl #16
	mov	x0, x19
	str	w8, [x0, #8]!
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #32]
Lloh5:
	adrp	x8, _liquidio_ptp_adjfreq@GOTPAGE
Lloh6:
	ldr	x8, [x8, _liquidio_ptp_adjfreq@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #28]
Lloh8:
	adrp	x8, _liquidio_ptp_adjtime@GOTPAGE
Lloh9:
	ldr	x8, [x8, _liquidio_ptp_adjtime@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _liquidio_ptp_gettime@GOTPAGE
Lloh12:
	ldr	x9, [x9, _liquidio_ptp_gettime@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #20]
Lloh14:
	adrp	x8, _liquidio_ptp_settime@GOTPAGE
Lloh15:
	ldr	x8, [x8, _liquidio_ptp_settime@GOTPAGEOFF]
Lloh16:
	adrp	x9, _liquidio_ptp_enable@GOTPAGE
Lloh17:
	ldr	x9, [x9, _liquidio_ptp_enable@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #12]
	str	xzr, [x19, #72]
	ldr	x1, [x21]
	bl	_ptp_clock_register
	str	x0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	str	xzr, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_liquidio_ptp_adjfreq,4,2       ; @liquidio_ptp_adjfreq
	.comm	_liquidio_ptp_adjtime,4,2       ; @liquidio_ptp_adjtime
	.comm	_liquidio_ptp_gettime,4,2       ; @liquidio_ptp_gettime
	.comm	_liquidio_ptp_settime,4,2       ; @liquidio_ptp_settime
	.comm	_liquidio_ptp_enable,4,2        ; @liquidio_ptp_enable
	.no_dead_strip	_oct_ptp_open
.subsections_via_symbols
