	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtd_debugfs_populate
_mtd_debugfs_populate:                  ## @mtd_debugfs_populate
	.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, %r12
	movq	_dfs_dir_mtd@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_1
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	24(%r12), %r14
	movq	%r14, %rdi
	callq	_dev_name
	movq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_debugfs_create_dir
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_2
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
LBB0_2:
	movq	%r15, 16(%r12)
	cmpq	$0, 8(%r12)
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movq	_mtd_partid_debug_fops@GOTPCREL(%rip), %r8
	movl	$256, %esi                      ## imm = 0x100
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_debugfs_create_file
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_5:
	cmpq	$0, (%r12)
	je	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rdi
	movq	_mtd_partname_debug_fops@GOTPCREL(%rip), %r8
	movl	$256, %esi                      ## imm = 0x100
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_debugfs_create_file
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dfs_dir_mtd,8,3                ## @dfs_dir_mtd
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"won't show data in debugfs\n"

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

	.comm	_mtd_partid_debug_fops,4,2      ## @mtd_partid_debug_fops
L_.str.2:                               ## @.str.2
	.asciz	"can't create debugfs entry for partid\n"

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

	.comm	_mtd_partname_debug_fops,4,2    ## @mtd_partname_debug_fops
L_.str.4:                               ## @.str.4
	.asciz	"can't create debugfs entry for partname\n"

	.no_dead_strip	_mtd_debugfs_populate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtd_debugfs_populate
_mtd_debugfs_populate:                  ; @mtd_debugfs_populate
	.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	x20, x0
Lloh0:
	adrp	x21, _dfs_dir_mtd@GOTPAGE
Lloh1:
	ldr	x21, [x21, _dfs_dir_mtd@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_2
LBB0_1:
	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
LBB0_2:
	add	x19, x20, #24
	mov	x0, x19
	bl	_dev_name
	ldr	x1, [x21]
	bl	_debugfs_create_dir
	mov	x21, x0
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	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	_dev_dbg
LBB0_4:
	str	x21, [x20, #16]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.5:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh6:
	adrp	x4, _mtd_partid_debug_fops@GOTPAGE
Lloh7:
	ldr	x4, [x4, _mtd_partid_debug_fops@GOTPAGEOFF]
	mov	w1, #256
	mov	x2, x21
	mov	x3, x20
	bl	_debugfs_create_file
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_7
; %bb.6:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_7:
	ldr	x8, [x20]
	cbz	x8, LBB0_1
; %bb.8:
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh12:
	adrp	x4, _mtd_partname_debug_fops@GOTPAGE
Lloh13:
	ldr	x4, [x4, _mtd_partname_debug_fops@GOTPAGEOFF]
	mov	w1, #256
	mov	x2, x21
	mov	x3, x20
	bl	_debugfs_create_file
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_1
; %bb.9:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	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	_dev_err
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_dfs_dir_mtd,8,3                ; @dfs_dir_mtd
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"won't show data in debugfs\n"

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

	.comm	_mtd_partid_debug_fops,4,2      ; @mtd_partid_debug_fops
l_.str.2:                               ; @.str.2
	.asciz	"can't create debugfs entry for partid\n"

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

	.comm	_mtd_partname_debug_fops,4,2    ; @mtd_partname_debug_fops
l_.str.4:                               ; @.str.4
	.asciz	"can't create debugfs entry for partname\n"

	.no_dead_strip	_mtd_debugfs_populate
.subsections_via_symbols
