	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_get_ts_info
_tg3_get_ts_info:                       ## @tg3_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	%rsi, %r14
	callq	_netdev_priv
	movq	_SOF_TIMESTAMPING_TX_SOFTWARE@GOTPCREL(%rip), %rcx
	movq	_SOF_TIMESTAMPING_RX_SOFTWARE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_SOF_TIMESTAMPING_SOFTWARE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	%rax, %rbx
	movl	%edx, (%r14)
	movq	_PTP_CAPABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tg3_flag
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_SOF_TIMESTAMPING_TX_HARDWARE@GOTPCREL(%rip), %rax
	movq	_SOF_TIMESTAMPING_RX_HARDWARE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SOF_TIMESTAMPING_RAW_HARDWARE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, (%r14)
LBB0_2:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	callq	_ptp_clock_index
	jmp	LBB0_5
LBB0_3:
	movl	$-1, %eax
LBB0_5:
	movl	%eax, 4(%r14)
	movq	_HWTSTAMP_TX_OFF@GOTPCREL(%rip), %rax
	movq	_HWTSTAMP_TX_ON@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movb	(%rax), %al
	movl	$1, %esi
	btsl	%eax, %edx
	movl	%edx, 8(%r14)
	movq	_HWTSTAMP_FILTER_NONE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_HWTSTAMP_FILTER_PTP_V1_L4_EVENT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	btsl	%eax, %esi
	movq	_HWTSTAMP_FILTER_PTP_V2_L2_EVENT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %esi
	movq	_HWTSTAMP_FILTER_PTP_V2_L4_EVENT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %esi
	movl	%esi, 12(%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOF_TIMESTAMPING_TX_SOFTWARE,4,2 ## @SOF_TIMESTAMPING_TX_SOFTWARE
	.comm	_SOF_TIMESTAMPING_RX_SOFTWARE,4,2 ## @SOF_TIMESTAMPING_RX_SOFTWARE
	.comm	_SOF_TIMESTAMPING_SOFTWARE,4,2  ## @SOF_TIMESTAMPING_SOFTWARE
	.comm	_PTP_CAPABLE,4,2                ## @PTP_CAPABLE
	.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
	.comm	_HWTSTAMP_FILTER_NONE,4,2       ## @HWTSTAMP_FILTER_NONE
	.comm	_HWTSTAMP_FILTER_PTP_V1_L4_EVENT,4,2 ## @HWTSTAMP_FILTER_PTP_V1_L4_EVENT
	.comm	_HWTSTAMP_FILTER_PTP_V2_L2_EVENT,4,2 ## @HWTSTAMP_FILTER_PTP_V2_L2_EVENT
	.comm	_HWTSTAMP_FILTER_PTP_V2_L4_EVENT,4,2 ## @HWTSTAMP_FILTER_PTP_V2_L4_EVENT
	.no_dead_strip	_tg3_get_ts_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_get_ts_info
_tg3_get_ts_info:                       ; @tg3_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
	mov	x19, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _SOF_TIMESTAMPING_TX_SOFTWARE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOF_TIMESTAMPING_TX_SOFTWARE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SOF_TIMESTAMPING_RX_SOFTWARE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SOF_TIMESTAMPING_RX_SOFTWARE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _SOF_TIMESTAMPING_SOFTWARE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SOF_TIMESTAMPING_SOFTWARE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
Lloh9:
	adrp	x8, _PTP_CAPABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PTP_CAPABLE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_tg3_flag
	cbz	x0, LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _SOF_TIMESTAMPING_TX_HARDWARE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SOF_TIMESTAMPING_TX_HARDWARE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _SOF_TIMESTAMPING_RX_HARDWARE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SOF_TIMESTAMPING_RX_HARDWARE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _SOF_TIMESTAMPING_RAW_HARDWARE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _SOF_TIMESTAMPING_RAW_HARDWARE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh20:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_2:
	ldr	x0, [x20]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_ptp_clock_index
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
Lloh21:
	adrp	x8, _HWTSTAMP_TX_OFF@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HWTSTAMP_TX_OFF@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh24:
	adrp	x10, _HWTSTAMP_TX_ON@GOTPAGE
Lloh25:
	ldr	x10, [x10, _HWTSTAMP_TX_ON@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
	stp	w0, w8, [x19, #4]
Lloh27:
	adrp	x8, _HWTSTAMP_FILTER_NONE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HWTSTAMP_FILTER_NONE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	lsl	w8, w9, w8
Lloh30:
	adrp	x10, _HWTSTAMP_FILTER_PTP_V1_L4_EVENT@GOTPAGE
Lloh31:
	ldr	x10, [x10, _HWTSTAMP_FILTER_PTP_V1_L4_EVENT@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh33:
	adrp	x10, _HWTSTAMP_FILTER_PTP_V2_L2_EVENT@GOTPAGE
Lloh34:
	ldr	x10, [x10, _HWTSTAMP_FILTER_PTP_V2_L2_EVENT@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	lsl	w10, w9, w10
Lloh36:
	adrp	x11, _HWTSTAMP_FILTER_PTP_V2_L4_EVENT@GOTPAGE
Lloh37:
	ldr	x11, [x11, _HWTSTAMP_FILTER_PTP_V2_L4_EVENT@GOTPAGEOFF]
	orr	w8, w8, w10
Lloh38:
	ldr	w10, [x11]
	lsl	w9, w9, w10
	orr	w8, w8, w9
	str	w8, [x19, #12]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_SOF_TIMESTAMPING_TX_SOFTWARE,4,2 ; @SOF_TIMESTAMPING_TX_SOFTWARE
	.comm	_SOF_TIMESTAMPING_RX_SOFTWARE,4,2 ; @SOF_TIMESTAMPING_RX_SOFTWARE
	.comm	_SOF_TIMESTAMPING_SOFTWARE,4,2  ; @SOF_TIMESTAMPING_SOFTWARE
	.comm	_PTP_CAPABLE,4,2                ; @PTP_CAPABLE
	.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
	.comm	_HWTSTAMP_FILTER_NONE,4,2       ; @HWTSTAMP_FILTER_NONE
	.comm	_HWTSTAMP_FILTER_PTP_V1_L4_EVENT,4,2 ; @HWTSTAMP_FILTER_PTP_V1_L4_EVENT
	.comm	_HWTSTAMP_FILTER_PTP_V2_L2_EVENT,4,2 ; @HWTSTAMP_FILTER_PTP_V2_L2_EVENT
	.comm	_HWTSTAMP_FILTER_PTP_V2_L4_EVENT,4,2 ; @HWTSTAMP_FILTER_PTP_V2_L4_EVENT
	.no_dead_strip	_tg3_get_ts_info
.subsections_via_symbols
