	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_ptp_get_ts_info            ## -- Begin function efx_ptp_get_ts_info
	.p2align	4, 0x90
_efx_ptp_get_ts_info:                   ## @efx_ptp_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movq	16(%rdi), %r12
	xorl	%eax, %eax
	callq	_ASSERT_RTNL
	testq	%r15, %r15
	je	LBB0_9
## %bb.1:
	movq	_SOF_TIMESTAMPING_TX_HARDWARE@GOTPCREL(%rip), %r13
	movq	_SOF_TIMESTAMPING_RX_HARDWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r13), %eax
	movq	_SOF_TIMESTAMPING_RAW_HARDWARE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	%eax, (%r14)
	movq	%rbx, %rdi
	callq	_efx_ptp_use_mac_tx_timestamps
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movq	_LICENSED_V3_FEATURES_TX_TIMESTAMPS_LBN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	jb	LBB0_4
## %bb.3:
	movl	(%r13), %eax
	notl	%eax
	andl	%eax, (%r14)
LBB0_4:
	testq	%r12, %r12
	je	LBB0_8
## %bb.5:
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_ptp_clock_index
	movl	%eax, 12(%r14)
LBB0_8:
	movq	_HWTSTAMP_TX_ON@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movq	_HWTSTAMP_TX_OFF@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movl	%eax, 4(%r14)
	movq	(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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	_LICENSED_V3_FEATURES_TX_TIMESTAMPS_LBN,4,2 ## @LICENSED_V3_FEATURES_TX_TIMESTAMPS_LBN
	.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	_efx_ptp_get_ts_info            ; -- Begin function efx_ptp_get_ts_info
	.p2align	2
_efx_ptp_get_ts_info:                   ; @efx_ptp_get_ts_info
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0]
	ldr	x22, [x0, #16]
	bl	_ASSERT_RTNL
	cbz	x21, LBB0_9
; %bb.1:
Lloh0:
	adrp	x23, _SOF_TIMESTAMPING_TX_HARDWARE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SOF_TIMESTAMPING_TX_HARDWARE@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh2:
	adrp	x9, _SOF_TIMESTAMPING_RX_HARDWARE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SOF_TIMESTAMPING_RX_HARDWARE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _SOF_TIMESTAMPING_RAW_HARDWARE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SOF_TIMESTAMPING_RAW_HARDWARE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh7:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	mov	x0, x20
	bl	_efx_ptp_use_mac_tx_timestamps
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _LICENSED_V3_FEATURES_TX_TIMESTAMPS_LBN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LICENSED_V3_FEATURES_TX_TIMESTAMPS_LBN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	lsr	w8, w8, w9
	tbnz	w8, #0, LBB0_4
; %bb.3:
	ldr	w8, [x23]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
LBB0_4:
	cbz	x22, LBB0_8
; %bb.5:
	ldr	x8, [x22]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_ptp_clock_index
	str	w0, [x19, #12]
LBB0_8:
Lloh11:
	adrp	x8, _HWTSTAMP_TX_OFF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HWTSTAMP_TX_OFF@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh14:
	adrp	x10, _HWTSTAMP_TX_ON@GOTPAGE
Lloh15:
	ldr	x10, [x10, _HWTSTAMP_TX_ON@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
	ldr	x9, [x21]
	ldr	x9, [x9]
	ldr	w9, [x9]
	stp	w8, w9, [x19, #4]
LBB0_9:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.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	_LICENSED_V3_FEATURES_TX_TIMESTAMPS_LBN,4,2 ; @LICENSED_V3_FEATURES_TX_TIMESTAMPS_LBN
	.comm	_HWTSTAMP_TX_OFF,4,2            ; @HWTSTAMP_TX_OFF
	.comm	_HWTSTAMP_TX_ON,4,2             ; @HWTSTAMP_TX_ON
.subsections_via_symbols
