	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ocrdma_add_port_stats          ## -- Begin function ocrdma_add_port_stats
	.p2align	4, 0x90
_ocrdma_add_port_stats:                 ## @ocrdma_add_port_stats
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ocrdma_dbgfs_dir@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	184(%rdi), %rdi
	callq	_pci_name
	movl	(%r14), %esi
	movl	%eax, %edi
	callq	_debugfs_create_dir
	movl	%eax, 16(%rbx)
	movq	_OCRDMA_RSRC_STATS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	168(%rbx), %rcx
	movl	%edx, 176(%rbx)
	movq	%rbx, 168(%rbx)
	movq	_S_IRUSR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdi
	movq	_ocrdma_dbg_ops@GOTPCREL(%rip), %r14
	movl	%eax, %edx
	movq	%r14, %r8
	callq	_debugfs_create_file
	movq	_OCRDMA_RXSTATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	152(%rbx), %rcx
	movl	%eax, 160(%rbx)
	movq	%rbx, 152(%rbx)
	movl	(%r15), %esi
	movl	16(%rbx), %edx
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %r8
	callq	_debugfs_create_file
	movq	_OCRDMA_WQESTATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	136(%rbx), %rcx
	movl	%eax, 144(%rbx)
	movq	%rbx, 136(%rbx)
	movl	(%r15), %esi
	movl	16(%rbx), %edx
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %r8
	callq	_debugfs_create_file
	movq	_OCRDMA_TXSTATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	120(%rbx), %rcx
	movl	%eax, 128(%rbx)
	movq	%rbx, 120(%rbx)
	movl	(%r15), %esi
	movl	16(%rbx), %edx
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %r8
	callq	_debugfs_create_file
	movq	_OCRDMA_DB_ERRSTATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	104(%rbx), %rcx
	movl	%eax, 112(%rbx)
	movq	%rbx, 104(%rbx)
	movl	(%r15), %esi
	movl	16(%rbx), %edx
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %r8
	callq	_debugfs_create_file
	movq	_OCRDMA_TXQP_ERRSTATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	88(%rbx), %rcx
	movl	%eax, 96(%rbx)
	movq	%rbx, 88(%rbx)
	movl	(%r15), %esi
	movl	16(%rbx), %edx
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %r8
	callq	_debugfs_create_file
	movq	_OCRDMA_RXQP_ERRSTATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	72(%rbx), %rcx
	movl	%eax, 80(%rbx)
	movq	%rbx, 72(%rbx)
	movl	(%r15), %esi
	movl	16(%rbx), %edx
	leaq	L_.str.6(%rip), %rdi
	movq	%r14, %r8
	callq	_debugfs_create_file
	movq	_OCRDMA_TX_DBG_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	56(%rbx), %rcx
	movl	%eax, 64(%rbx)
	movq	%rbx, 56(%rbx)
	movl	(%r15), %esi
	movl	16(%rbx), %edx
	leaq	L_.str.7(%rip), %rdi
	movq	%r14, %r8
	callq	_debugfs_create_file
	movq	_OCRDMA_RX_DBG_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	40(%rbx), %rcx
	movl	%eax, 48(%rbx)
	movq	%rbx, 40(%rbx)
	movl	(%r15), %esi
	movl	16(%rbx), %edx
	leaq	L_.str.8(%rip), %rdi
	movq	%r14, %r8
	callq	_debugfs_create_file
	movq	_OCRDMA_DRV_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	24(%rbx), %rcx
	movl	%eax, 32(%rbx)
	movq	%rbx, 24(%rbx)
	movl	(%r15), %esi
	movl	16(%rbx), %edx
	leaq	L_.str.9(%rip), %rdi
	movq	%r14, %r8
	callq	_debugfs_create_file
	movq	_OCRDMA_RESET_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, (%rbx)
	movl	16(%rbx), %edx
	leaq	L_.str.10(%rip), %rdi
	movl	$128, %esi
	movq	%rbx, %rcx
	movq	%r14, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_debugfs_create_file            ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ocrdma_dbgfs_dir,4,2           ## @ocrdma_dbgfs_dir
	.comm	_OCRDMA_RSRC_STATS,4,2          ## @OCRDMA_RSRC_STATS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"resource_stats"

	.comm	_S_IRUSR,4,2                    ## @S_IRUSR
	.comm	_ocrdma_dbg_ops,4,2             ## @ocrdma_dbg_ops
	.comm	_OCRDMA_RXSTATS,4,2             ## @OCRDMA_RXSTATS
L_.str.1:                               ## @.str.1
	.asciz	"rx_stats"

	.comm	_OCRDMA_WQESTATS,4,2            ## @OCRDMA_WQESTATS
L_.str.2:                               ## @.str.2
	.asciz	"wqe_stats"

	.comm	_OCRDMA_TXSTATS,4,2             ## @OCRDMA_TXSTATS
L_.str.3:                               ## @.str.3
	.asciz	"tx_stats"

	.comm	_OCRDMA_DB_ERRSTATS,4,2         ## @OCRDMA_DB_ERRSTATS
L_.str.4:                               ## @.str.4
	.asciz	"db_err_stats"

	.comm	_OCRDMA_TXQP_ERRSTATS,4,2       ## @OCRDMA_TXQP_ERRSTATS
L_.str.5:                               ## @.str.5
	.asciz	"tx_qp_err_stats"

	.comm	_OCRDMA_RXQP_ERRSTATS,4,2       ## @OCRDMA_RXQP_ERRSTATS
L_.str.6:                               ## @.str.6
	.asciz	"rx_qp_err_stats"

	.comm	_OCRDMA_TX_DBG_STATS,4,2        ## @OCRDMA_TX_DBG_STATS
L_.str.7:                               ## @.str.7
	.asciz	"tx_dbg_stats"

	.comm	_OCRDMA_RX_DBG_STATS,4,2        ## @OCRDMA_RX_DBG_STATS
L_.str.8:                               ## @.str.8
	.asciz	"rx_dbg_stats"

	.comm	_OCRDMA_DRV_STATS,4,2           ## @OCRDMA_DRV_STATS
L_.str.9:                               ## @.str.9
	.asciz	"driver_dbg_stats"

	.comm	_OCRDMA_RESET_STATS,4,2         ## @OCRDMA_RESET_STATS
L_.str.10:                              ## @.str.10
	.asciz	"reset_stats"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ocrdma_add_port_stats          ; -- Begin function ocrdma_add_port_stats
	.p2align	2
_ocrdma_add_port_stats:                 ; @ocrdma_add_port_stats
	.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
Lloh0:
	adrp	x20, _ocrdma_dbgfs_dir@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ocrdma_dbgfs_dir@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #184]
	bl	_pci_name
	ldr	w1, [x20]
	bl	_debugfs_create_dir
	mov	x2, x0
	str	w0, [x19, #16]
Lloh2:
	adrp	x8, _OCRDMA_RSRC_STATS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OCRDMA_RSRC_STATS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	x3, x19, #168
	str	w8, [x19, #176]
	str	x19, [x19, #168]
Lloh5:
	adrp	x21, _S_IRUSR@GOTPAGE
Lloh6:
	ldr	x21, [x21, _S_IRUSR@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
Lloh9:
	adrp	x20, _ocrdma_dbg_ops@GOTPAGE
Lloh10:
	ldr	x20, [x20, _ocrdma_dbg_ops@GOTPAGEOFF]
	mov	x4, x20
	bl	_debugfs_create_file
Lloh11:
	adrp	x8, _OCRDMA_RXSTATS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OCRDMA_RXSTATS@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	add	x3, x19, #152
	str	w8, [x19, #160]
	str	x19, [x19, #152]
	ldr	w1, [x21]
	ldr	w2, [x19, #16]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x4, x20
	bl	_debugfs_create_file
Lloh16:
	adrp	x8, _OCRDMA_WQESTATS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _OCRDMA_WQESTATS@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	add	x3, x19, #136
	str	w8, [x19, #144]
	str	x19, [x19, #136]
	ldr	w1, [x21]
	ldr	w2, [x19, #16]
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x4, x20
	bl	_debugfs_create_file
Lloh21:
	adrp	x8, _OCRDMA_TXSTATS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _OCRDMA_TXSTATS@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	add	x3, x19, #120
	str	w8, [x19, #128]
	str	x19, [x19, #120]
	ldr	w1, [x21]
	ldr	w2, [x19, #16]
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x4, x20
	bl	_debugfs_create_file
Lloh26:
	adrp	x8, _OCRDMA_DB_ERRSTATS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _OCRDMA_DB_ERRSTATS@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	add	x3, x19, #104
	str	w8, [x19, #112]
	str	x19, [x19, #104]
	ldr	w1, [x21]
	ldr	w2, [x19, #16]
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x4, x20
	bl	_debugfs_create_file
Lloh31:
	adrp	x8, _OCRDMA_TXQP_ERRSTATS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _OCRDMA_TXQP_ERRSTATS@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	add	x3, x19, #88
	str	w8, [x19, #96]
	str	x19, [x19, #88]
	ldr	w1, [x21]
	ldr	w2, [x19, #16]
Lloh34:
	adrp	x0, l_.str.5@PAGE
Lloh35:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x4, x20
	bl	_debugfs_create_file
Lloh36:
	adrp	x8, _OCRDMA_RXQP_ERRSTATS@GOTPAGE
Lloh37:
	ldr	x8, [x8, _OCRDMA_RXQP_ERRSTATS@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	add	x3, x19, #72
	str	w8, [x19, #80]
	str	x19, [x19, #72]
	ldr	w1, [x21]
	ldr	w2, [x19, #16]
Lloh39:
	adrp	x0, l_.str.6@PAGE
Lloh40:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x4, x20
	bl	_debugfs_create_file
Lloh41:
	adrp	x8, _OCRDMA_TX_DBG_STATS@GOTPAGE
Lloh42:
	ldr	x8, [x8, _OCRDMA_TX_DBG_STATS@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	add	x3, x19, #56
	str	w8, [x19, #64]
	str	x19, [x19, #56]
	ldr	w1, [x21]
	ldr	w2, [x19, #16]
Lloh44:
	adrp	x0, l_.str.7@PAGE
Lloh45:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x4, x20
	bl	_debugfs_create_file
Lloh46:
	adrp	x8, _OCRDMA_RX_DBG_STATS@GOTPAGE
Lloh47:
	ldr	x8, [x8, _OCRDMA_RX_DBG_STATS@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	add	x3, x19, #40
	str	w8, [x19, #48]
	str	x19, [x19, #40]
	ldr	w1, [x21]
	ldr	w2, [x19, #16]
Lloh49:
	adrp	x0, l_.str.8@PAGE
Lloh50:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x4, x20
	bl	_debugfs_create_file
Lloh51:
	adrp	x8, _OCRDMA_DRV_STATS@GOTPAGE
Lloh52:
	ldr	x8, [x8, _OCRDMA_DRV_STATS@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	add	x3, x19, #24
	str	w8, [x19, #32]
	str	x19, [x19, #24]
	ldr	w1, [x21]
	ldr	w2, [x19, #16]
Lloh54:
	adrp	x0, l_.str.9@PAGE
Lloh55:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x4, x20
	bl	_debugfs_create_file
Lloh56:
	adrp	x8, _OCRDMA_RESET_STATS@GOTPAGE
Lloh57:
	ldr	x8, [x8, _OCRDMA_RESET_STATS@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	str	x19, [x19]
Lloh59:
	adrp	x0, l_.str.10@PAGE
Lloh60:
	add	x0, x0, l_.str.10@PAGEOFF
	ldr	w2, [x19, #16]
	mov	w1, #128
	mov	x3, x19
	mov	x4, x20
	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
	b	_debugfs_create_file
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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ocrdma_dbgfs_dir,4,2           ; @ocrdma_dbgfs_dir
	.comm	_OCRDMA_RSRC_STATS,4,2          ; @OCRDMA_RSRC_STATS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"resource_stats"

	.comm	_S_IRUSR,4,2                    ; @S_IRUSR
	.comm	_ocrdma_dbg_ops,4,2             ; @ocrdma_dbg_ops
	.comm	_OCRDMA_RXSTATS,4,2             ; @OCRDMA_RXSTATS
l_.str.1:                               ; @.str.1
	.asciz	"rx_stats"

	.comm	_OCRDMA_WQESTATS,4,2            ; @OCRDMA_WQESTATS
l_.str.2:                               ; @.str.2
	.asciz	"wqe_stats"

	.comm	_OCRDMA_TXSTATS,4,2             ; @OCRDMA_TXSTATS
l_.str.3:                               ; @.str.3
	.asciz	"tx_stats"

	.comm	_OCRDMA_DB_ERRSTATS,4,2         ; @OCRDMA_DB_ERRSTATS
l_.str.4:                               ; @.str.4
	.asciz	"db_err_stats"

	.comm	_OCRDMA_TXQP_ERRSTATS,4,2       ; @OCRDMA_TXQP_ERRSTATS
l_.str.5:                               ; @.str.5
	.asciz	"tx_qp_err_stats"

	.comm	_OCRDMA_RXQP_ERRSTATS,4,2       ; @OCRDMA_RXQP_ERRSTATS
l_.str.6:                               ; @.str.6
	.asciz	"rx_qp_err_stats"

	.comm	_OCRDMA_TX_DBG_STATS,4,2        ; @OCRDMA_TX_DBG_STATS
l_.str.7:                               ; @.str.7
	.asciz	"tx_dbg_stats"

	.comm	_OCRDMA_RX_DBG_STATS,4,2        ; @OCRDMA_RX_DBG_STATS
l_.str.8:                               ; @.str.8
	.asciz	"rx_dbg_stats"

	.comm	_OCRDMA_DRV_STATS,4,2           ; @OCRDMA_DRV_STATS
l_.str.9:                               ; @.str.9
	.asciz	"driver_dbg_stats"

	.comm	_OCRDMA_RESET_STATS,4,2         ; @OCRDMA_RESET_STATS
l_.str.10:                              ; @.str.10
	.asciz	"reset_stats"

.subsections_via_symbols
