	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emc_debugfs_init
_emc_debugfs_init:                      ## @emc_debugfs_init
	.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	%rsi, %r14
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_debugfs_create_dir
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_clk_get_sys
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.9:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	movq	_S_IRUGO@GOTPCREL(%rip), %r13
	movq	_S_IWUSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r13), %esi
	leaq	L_.str.4(%rip), %rdi
	movq	_emc_debug_rate_fops@GOTPCREL(%rip), %r8
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_6:
	movl	(%r13), %esi
	leaq	L_.str.6(%rip), %rdi
	movq	_emc_debug_supported_rates_fops@GOTPCREL(%rip), %r8
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_debugfs_create_file
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.5(%rip), %rsi
LBB0_2:
	movq	%r15, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"emc"

L_.str.1:                               ## @.str.1
	.asciz	"failed to create debugfs directory\n"

L_.str.2:                               ## @.str.2
	.asciz	"tegra-clk-debug"

L_.str.3:                               ## @.str.3
	.asciz	"failed to get debug clock: %ld\n"

L_.str.4:                               ## @.str.4
	.asciz	"rate"

	.comm	_S_IRUGO,4,2                    ## @S_IRUGO
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_emc_debug_rate_fops,4,2        ## @emc_debug_rate_fops
L_.str.5:                               ## @.str.5
	.asciz	"failed to create debugfs entry\n"

L_.str.6:                               ## @.str.6
	.asciz	"supported_rates"

	.comm	_emc_debug_supported_rates_fops,4,2 ## @emc_debug_supported_rates_fops
	.no_dead_strip	_emc_debugfs_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emc_debugfs_init
_emc_debugfs_init:                      ; @emc_debugfs_init
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, #0
	bl	_debugfs_create_dir
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_clk_get_sys
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_PTR_ERR
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_7
LBB0_3:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_4:
Lloh10:
	adrp	x23, _S_IRUGO@GOTPAGE
Lloh11:
	ldr	x23, [x23, _S_IRUGO@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh12:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh17:
	adrp	x4, _emc_debug_rate_fops@GOTPAGE
Lloh18:
	ldr	x4, [x4, _emc_debug_rate_fops@GOTPAGEOFF]
	mov	x2, x21
	mov	x3, x22
	bl	_debugfs_create_file
	cbnz	x0, LBB0_6
; %bb.5:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_6:
	ldr	w1, [x23]
Lloh21:
	adrp	x0, l_.str.6@PAGE
Lloh22:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh23:
	adrp	x4, _emc_debug_supported_rates_fops@GOTPAGE
Lloh24:
	ldr	x4, [x4, _emc_debug_supported_rates_fops@GOTPAGEOFF]
	mov	x2, x21
	mov	x3, x20
	bl	_debugfs_create_file
	cbz	x0, LBB0_8
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
LBB0_8:
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_9:
	mov	x0, x19
	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
	b	_dev_err
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"emc"

l_.str.1:                               ; @.str.1
	.asciz	"failed to create debugfs directory\n"

l_.str.2:                               ; @.str.2
	.asciz	"tegra-clk-debug"

l_.str.3:                               ; @.str.3
	.asciz	"failed to get debug clock: %ld\n"

l_.str.4:                               ; @.str.4
	.asciz	"rate"

	.comm	_S_IRUGO,4,2                    ; @S_IRUGO
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_emc_debug_rate_fops,4,2        ; @emc_debug_rate_fops
l_.str.5:                               ; @.str.5
	.asciz	"failed to create debugfs entry\n"

l_.str.6:                               ; @.str.6
	.asciz	"supported_rates"

	.comm	_emc_debug_supported_rates_fops,4,2 ; @emc_debug_supported_rates_fops
	.no_dead_strip	_emc_debugfs_init
.subsections_via_symbols
