	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_edma_debugfs_regs
_dw_edma_debugfs_regs:                  ## @dw_edma_debugfs_regs
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_ctrl_data_arb_prior@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REGISTER
	movl	%eax, -32(%rbp)
	movq	_ctrl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REGISTER
	movl	%eax, -28(%rbp)
	movq	_REGISTERS_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_base_dir@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_debugfs_create_dir
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_dw_edma_debugfs_create_x32
	movq	%rbx, %rdi
	callq	_dw_edma_debugfs_regs_wr
	movq	%rbx, %rdi
	callq	_dw_edma_debugfs_regs_rd
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ctrl_data_arb_prior,4,2        ## @ctrl_data_arb_prior
	.comm	_ctrl,4,2                       ## @ctrl
	.comm	_REGISTERS_STR,4,2              ## @REGISTERS_STR
	.comm	_base_dir,4,2                   ## @base_dir
	.no_dead_strip	_dw_edma_debugfs_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_edma_debugfs_regs
_dw_edma_debugfs_regs:                  ; @dw_edma_debugfs_regs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x8, _ctrl_data_arb_prior@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ctrl_data_arb_prior@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_REGISTER
	str	w0, [sp]
Lloh6:
	adrp	x8, _ctrl@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ctrl@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_REGISTER
	str	w0, [sp, #4]
Lloh9:
	adrp	x8, _REGISTERS_STR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REGISTERS_STR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _base_dir@GOTPAGE
Lloh13:
	ldr	x8, [x8, _base_dir@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_debugfs_create_dir
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	mov	x0, sp
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, sp
	mov	x2, x19
	bl	_dw_edma_debugfs_create_x32
	mov	x0, x19
	bl	_dw_edma_debugfs_regs_wr
	mov	x0, x19
	bl	_dw_edma_debugfs_regs_rd
LBB0_2:
	ldr	x8, [sp, #8]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ctrl_data_arb_prior,4,2        ; @ctrl_data_arb_prior
	.comm	_ctrl,4,2                       ; @ctrl
	.comm	_REGISTERS_STR,4,2              ; @REGISTERS_STR
	.comm	_base_dir,4,2                   ; @base_dir
	.no_dead_strip	_dw_edma_debugfs_regs
.subsections_via_symbols
