	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsi_init_dbgfs                 ## -- Begin function rsi_init_dbgfs
	.p2align	4, 0x90
_rsi_init_dbgfs:                        ## @rsi_init_dbgfs
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	24(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%rax, 16(%r15)
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_wiphy_name
	leaq	L_.str(%rip), %rdx
	leaq	-46(%rbp), %r12
	movq	%r12, %rdi
	movl	$6, %esi
	movq	%rax, %rcx
	callq	_snprintf
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_debugfs_create_dir
	movl	%eax, (%r13)
	cmpl	$0, (%r15)
	jle	LBB0_6
## %bb.3:
	movl	%eax, %edx
	movl	$1, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_dev_debugfs_files@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rax,%r12), %r8
	movl	4(%rax,%r12), %esi
	movl	8(%rax,%r12), %edi
	movq	%r14, %rcx
	callq	_debugfs_create_file
	movq	8(%r13), %rcx
	movl	%eax, -4(%rcx,%rbx,4)
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %edx
	incq	%rbx
	addq	$12, %r12
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_6
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_dev_debugfs_files,8,3          ## @dev_debugfs_files
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsi_init_dbgfs                 ; -- Begin function rsi_init_dbgfs
	.p2align	2
_rsi_init_dbgfs:                        ; @rsi_init_dbgfs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x20, [x0, #24]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x0
	str	x0, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_wiphy_name
	mov	x3, x0
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #10
	mov	w1, #6
	bl	_snprintf
	add	x0, sp, #10
	mov	x1, #0
	bl	_debugfs_create_dir
	str	w0, [x21]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x2, x0
	mov	x22, #0
	mov	x23, #0
Lloh5:
	adrp	x24, _dev_debugfs_files@GOTPAGE
Lloh6:
	ldr	x24, [x24, _dev_debugfs_files@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	add	x4, x8, x22
	ldp	w1, w0, [x4, #4]
	mov	x3, x20
	bl	_debugfs_create_file
	ldr	x8, [x21, #8]
	str	w0, [x8, x23, lsl #2]
	add	x23, x23, #1
	ldrsw	x8, [x19]
	cmp	x23, x8
	b.ge	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x21]
	add	x22, x22, #12
	b	LBB0_3
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_dev_debugfs_files,8,3          ; @dev_debugfs_files
.subsections_via_symbols
