	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mv88e6xxx_get_ts_info          ## -- Begin function mv88e6xxx_get_ts_info
	.p2align	4, 0x90
_mv88e6xxx_get_ts_info:                 ## @mv88e6xxx_get_ts_info
	.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	(%rdi), %rax
	movq	8(%rax), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	%rdx, %rbx
	movq	8(%rcx), %rcx
	movq	(%rcx), %r14
	movq	_SOF_TIMESTAMPING_TX_HARDWARE@GOTPCREL(%rip), %rcx
	movq	_SOF_TIMESTAMPING_RX_HARDWARE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_SOF_TIMESTAMPING_RAW_HARDWARE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%edx, (%rbx)
	movl	(%rax), %edi
	callq	_ptp_clock_index
	movl	%eax, 12(%rbx)
	movq	_HWTSTAMP_TX_OFF@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_HWTSTAMP_TX_ON@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	btsl	%eax, %edx
	movl	%edx, 4(%rbx)
	movl	(%r14), %eax
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_SOF_TIMESTAMPING_TX_HARDWARE,4,2 ## @SOF_TIMESTAMPING_TX_HARDWARE
	.comm	_SOF_TIMESTAMPING_RX_HARDWARE,4,2 ## @SOF_TIMESTAMPING_RX_HARDWARE
	.comm	_SOF_TIMESTAMPING_RAW_HARDWARE,4,2 ## @SOF_TIMESTAMPING_RAW_HARDWARE
	.comm	_HWTSTAMP_TX_OFF,4,2            ## @HWTSTAMP_TX_OFF
	.comm	_HWTSTAMP_TX_ON,4,2             ## @HWTSTAMP_TX_ON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mv88e6xxx_get_ts_info          ; -- Begin function mv88e6xxx_get_ts_info
	.p2align	2
_mv88e6xxx_get_ts_info:                 ; @mv88e6xxx_get_ts_info
	.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
	ldr	x8, [x0]
	ldr	x9, [x8, #8]
	ldr	w10, [x9]
	cbz	w10, LBB0_2
; %bb.1:
	mov	x19, x2
	ldr	x9, [x9, #8]
Lloh0:
	adrp	x10, _SOF_TIMESTAMPING_TX_HARDWARE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SOF_TIMESTAMPING_TX_HARDWARE@GOTPAGEOFF]
	ldr	x20, [x9]
Lloh2:
	ldr	w9, [x10]
Lloh3:
	adrp	x10, _SOF_TIMESTAMPING_RX_HARDWARE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SOF_TIMESTAMPING_RX_HARDWARE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh6:
	adrp	x10, _SOF_TIMESTAMPING_RAW_HARDWARE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SOF_TIMESTAMPING_RAW_HARDWARE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x2]
	ldr	w0, [x8]
	bl	_ptp_clock_index
	mov	x8, x0
	mov	w0, #0
Lloh9:
	adrp	x9, _HWTSTAMP_TX_OFF@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HWTSTAMP_TX_OFF@GOTPAGEOFF]
	str	w8, [x19, #12]
Lloh11:
	ldr	w8, [x9]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh12:
	adrp	x10, _HWTSTAMP_TX_ON@GOTPAGE
Lloh13:
	ldr	x10, [x10, _HWTSTAMP_TX_ON@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
	ldr	w9, [x20]
	stp	w8, w9, [x19, #4]
	b	LBB0_3
LBB0_2:
Lloh15:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_SOF_TIMESTAMPING_TX_HARDWARE,4,2 ; @SOF_TIMESTAMPING_TX_HARDWARE
	.comm	_SOF_TIMESTAMPING_RX_HARDWARE,4,2 ; @SOF_TIMESTAMPING_RX_HARDWARE
	.comm	_SOF_TIMESTAMPING_RAW_HARDWARE,4,2 ; @SOF_TIMESTAMPING_RAW_HARDWARE
	.comm	_HWTSTAMP_TX_OFF,4,2            ; @HWTSTAMP_TX_OFF
	.comm	_HWTSTAMP_TX_ON,4,2             ; @HWTSTAMP_TX_ON
.subsections_via_symbols
