	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fe_get_drvinfo
_fe_get_drvinfo:                        ## @fe_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	8(%rbx), %r12
	movl	12(%r14), %edi
	movq	(%rax), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	8(%r14), %edi
	movq	_MTK_FE_DRV_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	4(%r14), %r15d
	movq	(%rbx), %rdi
	callq	_dev_name
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	(%r12), %rax
	movq	_FE_REG_FE_COUNTER_BASE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_2
## %bb.1:
	movq	_fe_gdma_str@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	movl	%eax, (%r14)
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MTK_FE_DRV_VERSION,4,2         ## @MTK_FE_DRV_VERSION
	.comm	_FE_REG_FE_COUNTER_BASE,8,3     ## @FE_REG_FE_COUNTER_BASE
	.comm	_fe_gdma_str,4,2                ## @fe_gdma_str
	.no_dead_strip	_fe_get_drvinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fe_get_drvinfo
_fe_get_drvinfo:                        ; @fe_get_drvinfo
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	w0, [x19, #12]
	ldp	x8, x22, [x20]
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
	ldr	w0, [x19, #8]
Lloh0:
	adrp	x8, _MTK_FE_DRV_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTK_FE_DRV_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
	ldr	w21, [x19, #4]
	ldr	x0, [x20]
	bl	_dev_name
	mov	x1, x0
	mov	x0, x21
	mov	w2, #4
	bl	_strlcpy
	ldr	x8, [x22]
Lloh3:
	adrp	x9, _FE_REG_FE_COUNTER_BASE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FE_REG_FE_COUNTER_BASE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _fe_gdma_str@GOTPAGE
Lloh7:
	ldr	x8, [x8, _fe_gdma_str@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_ARRAY_SIZE
	str	w0, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MTK_FE_DRV_VERSION,4,2         ; @MTK_FE_DRV_VERSION
	.comm	_FE_REG_FE_COUNTER_BASE,8,3     ; @FE_REG_FE_COUNTER_BASE
	.comm	_fe_gdma_str,4,2                ; @fe_gdma_str
	.no_dead_strip	_fe_get_drvinfo
.subsections_via_symbols
