	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rsxx_debugfs_dev_new
_rsxx_debugfs_dev_new:                  ## @rsxx_debugfs_dev_new
	.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	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_debugfs_create_dir
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	_S_IRUGO@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rdi
	movq	_debugfs_stats_fops@GOTPCREL(%rip), %r8
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movl	(%r12), %esi
	movq	(%rbx), %rdx
	leaq	L_.str.1(%rip), %rdi
	movq	_debugfs_pci_regs_fops@GOTPCREL(%rip), %r8
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	_S_IWUSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r12), %esi
	movq	(%rbx), %rdx
	leaq	L_.str.2(%rip), %rdi
	movq	_debugfs_cram_fops@GOTPCREL(%rip), %r8
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%r15, %rdi
	callq	_debugfs_remove
LBB0_5:
	movq	%r14, %rdi
	callq	_debugfs_remove
LBB0_6:
	movq	(%rbx), %rdi
	callq	_debugfs_remove
LBB0_7:
	movq	$0, (%rbx)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stats"

	.comm	_S_IRUGO,4,2                    ## @S_IRUGO
	.comm	_debugfs_stats_fops,4,2         ## @debugfs_stats_fops
L_.str.1:                               ## @.str.1
	.asciz	"pci_regs"

	.comm	_debugfs_pci_regs_fops,4,2      ## @debugfs_pci_regs_fops
L_.str.2:                               ## @.str.2
	.asciz	"cram"

	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_debugfs_cram_fops,4,2          ## @debugfs_cram_fops
	.no_dead_strip	_rsxx_debugfs_dev_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rsxx_debugfs_dev_new
_rsxx_debugfs_dev_new:                  ; @rsxx_debugfs_dev_new
	.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, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	mov	x1, #0
	bl	_debugfs_create_dir
	str	x0, [x19]
	bl	_IS_ERR_OR_NULL
	cbnz	x0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x22, _S_IRUGO@GOTPAGE
Lloh1:
	ldr	x22, [x22, _S_IRUGO@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	x2, [x19]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
Lloh4:
	adrp	x4, _debugfs_stats_fops@GOTPAGE
Lloh5:
	ldr	x4, [x4, _debugfs_stats_fops@GOTPAGEOFF]
	mov	x3, x19
	bl	_debugfs_create_file
	mov	x20, x0
	bl	_IS_ERR_OR_NULL
	cbnz	x0, LBB0_6
; %bb.2:
	ldr	w1, [x22]
	ldr	x2, [x19]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh8:
	adrp	x4, _debugfs_pci_regs_fops@GOTPAGE
Lloh9:
	ldr	x4, [x4, _debugfs_pci_regs_fops@GOTPAGEOFF]
	mov	x3, x19
	bl	_debugfs_create_file
	mov	x21, x0
	bl	_IS_ERR_OR_NULL
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	w8, [x22]
Lloh10:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w1, w9, w8
	ldr	x2, [x19]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh15:
	adrp	x4, _debugfs_cram_fops@GOTPAGE
Lloh16:
	ldr	x4, [x4, _debugfs_cram_fops@GOTPAGEOFF]
	mov	x3, x19
	bl	_debugfs_create_file
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_8
; %bb.4:
	mov	x0, x21
	bl	_debugfs_remove
LBB0_5:
	mov	x0, x20
	bl	_debugfs_remove
LBB0_6:
	ldr	x0, [x19]
	bl	_debugfs_remove
LBB0_7:
	str	xzr, [x19]
LBB0_8:
	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	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stats"

	.comm	_S_IRUGO,4,2                    ; @S_IRUGO
	.comm	_debugfs_stats_fops,4,2         ; @debugfs_stats_fops
l_.str.1:                               ; @.str.1
	.asciz	"pci_regs"

	.comm	_debugfs_pci_regs_fops,4,2      ; @debugfs_pci_regs_fops
l_.str.2:                               ; @.str.2
	.asciz	"cram"

	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_debugfs_cram_fops,4,2          ; @debugfs_cram_fops
	.no_dead_strip	_rsxx_debugfs_dev_new
.subsections_via_symbols
