	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ag71xx_debugfs_init            ## -- Begin function ag71xx_debugfs_init
	.p2align	4, 0x90
_ag71xx_debugfs_init:                   ## @ag71xx_debugfs_init
	.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	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_dev_name
	movq	_ag71xx_debugfs_root@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_debugfs_create_dir
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_S_IRUGO@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	movq	_ag71xx_fops_int_stats@GOTPCREL(%rip), %r8
	movl	%eax, %edx
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movl	(%r14), %esi
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rdi
	movq	_ag71xx_fops_napi_stats@GOTPCREL(%rip), %r8
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movl	(%r14), %esi
	movl	(%rbx), %edx
	leaq	L_.str.3(%rip), %rdi
	movq	_ag71xx_fops_tx_ring@GOTPCREL(%rip), %r8
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movl	(%r14), %esi
	movl	(%rbx), %edx
	leaq	L_.str.4(%rip), %rdi
	movq	_ag71xx_fops_rx_ring@GOTPCREL(%rip), %r8
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ag71xx_debugfs_root,4,2        ## @ag71xx_debugfs_root
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to create debugfs directory\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"int_stats"

	.comm	_S_IRUGO,4,2                    ## @S_IRUGO
	.comm	_ag71xx_fops_int_stats,4,2      ## @ag71xx_fops_int_stats
L_.str.2:                               ## @.str.2
	.asciz	"napi_stats"

	.comm	_ag71xx_fops_napi_stats,4,2     ## @ag71xx_fops_napi_stats
L_.str.3:                               ## @.str.3
	.asciz	"tx_ring"

	.comm	_ag71xx_fops_tx_ring,4,2        ## @ag71xx_fops_tx_ring
L_.str.4:                               ## @.str.4
	.asciz	"rx_ring"

	.comm	_ag71xx_fops_rx_ring,4,2        ## @ag71xx_fops_rx_ring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ag71xx_debugfs_init            ; -- Begin function ag71xx_debugfs_init
	.p2align	2
_ag71xx_debugfs_init:                   ; @ag71xx_debugfs_init
	.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, x0
	ldr	x20, [x0, #8]
	mov	x0, x20
	bl	_dev_name
Lloh0:
	adrp	x8, _ag71xx_debugfs_root@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ag71xx_debugfs_root@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_debugfs_create_dir
	str	w0, [x19]
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh3:
	adrp	x20, _S_IRUGO@GOTPAGE
Lloh4:
	ldr	x20, [x20, _S_IRUGO@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh7:
	adrp	x4, _ag71xx_fops_int_stats@GOTPAGE
Lloh8:
	ldr	x4, [x4, _ag71xx_fops_int_stats@GOTPAGEOFF]
	mov	x3, x19
	bl	_debugfs_create_file
	ldr	w1, [x20]
	ldr	w2, [x19]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh11:
	adrp	x4, _ag71xx_fops_napi_stats@GOTPAGE
Lloh12:
	ldr	x4, [x4, _ag71xx_fops_napi_stats@GOTPAGEOFF]
	mov	x3, x19
	bl	_debugfs_create_file
	ldr	w1, [x20]
	ldr	w2, [x19]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh15:
	adrp	x4, _ag71xx_fops_tx_ring@GOTPAGE
Lloh16:
	ldr	x4, [x4, _ag71xx_fops_tx_ring@GOTPAGEOFF]
	mov	x3, x19
	bl	_debugfs_create_file
	ldr	w1, [x20]
	ldr	w2, [x19]
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh19:
	adrp	x4, _ag71xx_fops_rx_ring@GOTPAGE
Lloh20:
	ldr	x4, [x4, _ag71xx_fops_rx_ring@GOTPAGEOFF]
	mov	x3, x19
	bl	_debugfs_create_file
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh23:
	adrp	x8, _ENOENT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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 AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ag71xx_debugfs_root,4,2        ; @ag71xx_debugfs_root
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to create debugfs directory\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"int_stats"

	.comm	_S_IRUGO,4,2                    ; @S_IRUGO
	.comm	_ag71xx_fops_int_stats,4,2      ; @ag71xx_fops_int_stats
l_.str.2:                               ; @.str.2
	.asciz	"napi_stats"

	.comm	_ag71xx_fops_napi_stats,4,2     ; @ag71xx_fops_napi_stats
l_.str.3:                               ; @.str.3
	.asciz	"tx_ring"

	.comm	_ag71xx_fops_tx_ring,4,2        ; @ag71xx_fops_tx_ring
l_.str.4:                               ; @.str.4
	.asciz	"rx_ring"

	.comm	_ag71xx_fops_rx_ring,4,2        ; @ag71xx_fops_rx_ring
.subsections_via_symbols
