	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tse_get_drvinfo
_tse_get_drvinfo:                       ## @tse_get_drvinfo
	.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	(%rax), %rdi
	callq	_ioread32
	movl	%eax, %ebx
	movl	12(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
	movl	8(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcpy
	movl	4(%r14), %edi
	movq	_ETHTOOL_FWVERS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzwl	%bx, %ecx
	shrl	$16, %ebx
	leaq	L_.str.2(%rip), %rdx
	movl	%ebx, %r8d
	callq	_snprintf
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"altera_tse"

L_.str.1:                               ## @.str.1
	.asciz	"v8.0"

	.comm	_ETHTOOL_FWVERS_LEN,4,2         ## @ETHTOOL_FWVERS_LEN
L_.str.2:                               ## @.str.2
	.asciz	"v%d.%d"

L_.str.3:                               ## @.str.3
	.asciz	"platform"

	.no_dead_strip	_tse_get_drvinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tse_get_drvinfo
_tse_get_drvinfo:                       ; @tse_get_drvinfo
	.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
	ldr	x0, [x0]
	bl	_ioread32
	mov	x20, x0
	ldr	w0, [x19, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcpy
	ldr	w0, [x19, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcpy
	ldr	w0, [x19, #4]
Lloh4:
	adrp	x8, _ETHTOOL_FWVERS_LEN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ETHTOOL_FWVERS_LEN@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	and	w3, w20, #0xffff
	lsr	w4, w20, #16
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_snprintf
	ldr	w0, [x19]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sprintf
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"altera_tse"

l_.str.1:                               ; @.str.1
	.asciz	"v8.0"

	.comm	_ETHTOOL_FWVERS_LEN,4,2         ; @ETHTOOL_FWVERS_LEN
l_.str.2:                               ; @.str.2
	.asciz	"v%d.%d"

l_.str.3:                               ; @.str.3
	.asciz	"platform"

	.no_dead_strip	_tse_get_drvinfo
.subsections_via_symbols
