	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dw_edma_v0_debugfs_on          ## -- Begin function dw_edma_v0_debugfs_on
	.p2align	4, 0x90
_dw_edma_v0_debugfs_on:                 ## @dw_edma_v0_debugfs_on
	.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), %rax
	movq	_dw@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	20(%rax), %ecx
	movq	_regs@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.2:
	movl	16(%rax), %edi
	xorl	%esi, %esi
	callq	_debugfs_create_dir
	movq	_base_dir@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	(%rbx), %rcx
	addq	$12, %rcx
	leaq	L_.str(%rip), %rdi
	movl	$292, %esi                      ## imm = 0x124
	movl	%eax, %edx
	callq	_debugfs_create_u32
	movl	(%r14), %edx
	movq	(%rbx), %rcx
	addq	$8, %rcx
	leaq	L_.str.1(%rip), %rdi
	movl	$292, %esi                      ## imm = 0x124
	callq	_debugfs_create_u32
	movl	(%r14), %edx
	movq	(%rbx), %rcx
	addq	$4, %rcx
	leaq	L_.str.2(%rip), %rdi
	movl	$292, %esi                      ## imm = 0x124
	callq	_debugfs_create_u16
	movl	(%r14), %edx
	movq	(%rbx), %rcx
	leaq	L_.str.3(%rip), %rdi
	movl	$292, %esi                      ## imm = 0x124
	callq	_debugfs_create_u16
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dw_edma_debugfs_regs           ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dw,8,3                         ## @dw
	.comm	_regs,4,2                       ## @regs
	.comm	_base_dir,4,2                   ## @base_dir
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"version"

L_.str.1:                               ## @.str.1
	.asciz	"mode"

L_.str.2:                               ## @.str.2
	.asciz	"wr_ch_cnt"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dw_edma_v0_debugfs_on          ; -- Begin function dw_edma_v0_debugfs_on
	.p2align	2
_dw_edma_v0_debugfs_on:                 ; @dw_edma_v0_debugfs_on
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x19, _dw@GOTPAGE
Lloh1:
	ldr	x19, [x19, _dw@GOTPAGEOFF]
	str	x8, [x19]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w9, [x8, #20]
Lloh2:
	adrp	x10, _regs@GOTPAGE
Lloh3:
	ldr	x10, [x10, _regs@GOTPAGEOFF]
Lloh4:
	str	w9, [x10]
	cbz	w9, LBB0_4
; %bb.2:
	ldr	w0, [x8, #16]
	mov	w1, #0
	bl	_debugfs_create_dir
Lloh5:
	adrp	x20, _base_dir@GOTPAGE
Lloh6:
	ldr	x20, [x20, _base_dir@GOTPAGEOFF]
	str	w0, [x20]
	cbz	w0, LBB0_4
; %bb.3:
	mov	x2, x0
	ldr	x8, [x19]
	add	x3, x8, #12
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #292
	bl	_debugfs_create_u32
	ldr	w2, [x20]
	ldr	x8, [x19]
	add	x3, x8, #8
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #292
	bl	_debugfs_create_u32
	ldr	w2, [x20]
	ldr	x8, [x19]
	add	x3, x8, #4
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #292
	bl	_debugfs_create_u16
	ldr	w2, [x20]
	ldr	x3, [x19]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #292
	bl	_debugfs_create_u16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dw_edma_debugfs_regs
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_dw,8,3                         ; @dw
	.comm	_regs,4,2                       ; @regs
	.comm	_base_dir,4,2                   ; @base_dir
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"version"

l_.str.1:                               ; @.str.1
	.asciz	"mode"

l_.str.2:                               ; @.str.2
	.asciz	"wr_ch_cnt"

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

.subsections_via_symbols
