	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfar_get_ts_info
_gfar_get_ts_info:                      ## @gfar_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movl	$-1, (%rbx)
	movq	_FSL_GIANFAR_DEV_HAS_TIMER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_of_find_compatible_node
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %rdi
	callq	_of_find_device_by_node
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %rdi
	callq	_platform_get_drvdata
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_6:
	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
	movl	%ecx, 4(%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
	movl	$1, %esi
	btsl	%eax, %edx
	movl	%edx, 8(%rbx)
	movq	_HWTSTAMP_FILTER_ALL@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	movq	_HWTSTAMP_FILTER_NONE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %esi
	movl	%esi, 12(%rbx)
	jmp	LBB0_7
LBB0_1:
	movq	_SOF_TIMESTAMPING_RX_SOFTWARE@GOTPCREL(%rip), %rax
	movq	_SOF_TIMESTAMPING_SOFTWARE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 4(%rbx)
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FSL_GIANFAR_DEV_HAS_TIMER,4,2  ## @FSL_GIANFAR_DEV_HAS_TIMER
	.comm	_SOF_TIMESTAMPING_RX_SOFTWARE,4,2 ## @SOF_TIMESTAMPING_RX_SOFTWARE
	.comm	_SOF_TIMESTAMPING_SOFTWARE,4,2  ## @SOF_TIMESTAMPING_SOFTWARE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fsl,etsec-ptp"

	.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_ALL,4,2        ## @HWTSTAMP_FILTER_ALL
	.no_dead_strip	_gfar_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 gfar_get_ts_info
_gfar_get_ts_info:                      ; @gfar_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	w8, #-1
	str	w8, [x19]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FSL_GIANFAR_DEV_HAS_TIMER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FSL_GIANFAR_DEV_HAS_TIMER@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.1:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	mov	x1, #0
	bl	_of_find_compatible_node
	cbz	x0, LBB0_5
; %bb.2:
	bl	_of_find_device_by_node
	cbz	x0, LBB0_5
; %bb.3:
	bl	_platform_get_drvdata
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w8, [x0]
	str	w8, [x19]
LBB0_5:
Lloh5:
	adrp	x8, _SOF_TIMESTAMPING_TX_HARDWARE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SOF_TIMESTAMPING_TX_HARDWARE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _SOF_TIMESTAMPING_RX_HARDWARE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SOF_TIMESTAMPING_RX_HARDWARE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _SOF_TIMESTAMPING_RAW_HARDWARE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SOF_TIMESTAMPING_RAW_HARDWARE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _HWTSTAMP_TX_OFF@GOTPAGE
Lloh15:
	ldr	x9, [x9, _HWTSTAMP_TX_OFF@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
Lloh17:
	adrp	x11, _HWTSTAMP_TX_ON@GOTPAGE
Lloh18:
	ldr	x11, [x11, _HWTSTAMP_TX_ON@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	lsl	w11, w10, w11
	orr	w9, w11, w9
	stp	w8, w9, [x19, #4]
Lloh20:
	adrp	x8, _HWTSTAMP_FILTER_NONE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _HWTSTAMP_FILTER_NONE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	lsl	w8, w10, w8
Lloh23:
	adrp	x9, _HWTSTAMP_FILTER_ALL@GOTPAGE
Lloh24:
	ldr	x9, [x9, _HWTSTAMP_FILTER_ALL@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w8, w9, w8
	str	w8, [x19, #12]
	b	LBB0_7
LBB0_6:
Lloh26:
	adrp	x8, _SOF_TIMESTAMPING_RX_SOFTWARE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SOF_TIMESTAMPING_RX_SOFTWARE@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _SOF_TIMESTAMPING_SOFTWARE@GOTPAGE
Lloh30:
	ldr	x9, [x9, _SOF_TIMESTAMPING_SOFTWARE@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_FSL_GIANFAR_DEV_HAS_TIMER,4,2  ; @FSL_GIANFAR_DEV_HAS_TIMER
	.comm	_SOF_TIMESTAMPING_RX_SOFTWARE,4,2 ; @SOF_TIMESTAMPING_RX_SOFTWARE
	.comm	_SOF_TIMESTAMPING_SOFTWARE,4,2  ; @SOF_TIMESTAMPING_SOFTWARE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fsl,etsec-ptp"

	.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_ALL,4,2        ; @HWTSTAMP_FILTER_ALL
	.no_dead_strip	_gfar_get_ts_info
.subsections_via_symbols
