	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_drm_debugfs_init       ## -- Begin function nouveau_drm_debugfs_init
	.p2align	4, 0x90
_nouveau_drm_debugfs_init:              ## @nouveau_drm_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	%rdi, %r12
	movl	4(%rdi), %edi
	callq	_nouveau_drm
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_nouveau_debugfs_files@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	movq	_S_IRUGO@GOTPCREL(%rip), %r13
	movq	_S_IWUSR@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx,8), %r8d
	movl	4(%rax,%rbx,8), %edi
	movl	(%r14), %esi
	orl	(%r13), %esi
	movl	(%r12), %edx
	movl	4(%r12), %ecx
	callq	_debugfs_create_file
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_5:
	movq	_nouveau_debugfs_list@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NOUVEAU_DEBUGFS_ENTRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r12, %rcx
	callq	_drm_debugfs_create_files
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movl	(%r12), %esi
	leaq	L_.str(%rip), %rdi
	callq	_debugfs_lookup
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_d_inode
	movl	%r14d, (%rax)
	movq	%rbx, %rdi
	callq	_dput
	jmp	LBB0_8
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nouveau_debugfs_files,8,3      ## @nouveau_debugfs_files
	.comm	_S_IRUGO,4,2                    ## @S_IRUGO
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_nouveau_debugfs_list,4,2       ## @nouveau_debugfs_list
	.comm	_NOUVEAU_DEBUGFS_ENTRIES,4,2    ## @NOUVEAU_DEBUGFS_ENTRIES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vbios.rom"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_drm_debugfs_init       ; -- Begin function nouveau_drm_debugfs_init
	.p2align	2
_nouveau_drm_debugfs_init:              ; @nouveau_drm_debugfs_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_nouveau_drm
	mov	x19, x0
Lloh0:
	adrp	x21, _nouveau_debugfs_files@GOTPAGE
Lloh1:
	ldr	x21, [x21, _nouveau_debugfs_files@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
	mov	x23, #0
Lloh2:
	adrp	x24, _S_IRUGO@GOTPAGE
Lloh3:
	ldr	x24, [x24, _S_IRUGO@GOTPAGEOFF]
Lloh4:
	adrp	x25, _S_IWUSR@GOTPAGE
Lloh5:
	ldr	x25, [x25, _S_IWUSR@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x8, x8, x22
	ldr	w9, [x24]
	ldr	w10, [x25]
	orr	w1, w10, w9
	ldp	w2, w3, [x20]
	ldp	w4, w0, [x8]
	bl	_debugfs_create_file
	cbz	x0, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #8
	cmp	x23, w0, sxtw
	b.lt	LBB0_2
LBB0_4:
Lloh6:
	adrp	x8, _nouveau_debugfs_list@GOTPAGE
Lloh7:
	ldr	x8, [x8, _nouveau_debugfs_list@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _NOUVEAU_DEBUGFS_ENTRIES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NOUVEAU_DEBUGFS_ENTRIES@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x3, x20
	bl	_drm_debugfs_create_files
	cbnz	w0, LBB0_8
; %bb.5:
	ldr	w1, [x20]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debugfs_lookup
	cbz	x0, LBB0_8
; %bb.6:
	mov	x20, x0
	ldr	w19, [x19]
	bl	_d_inode
	str	w19, [x0]
	mov	x0, x20
	bl	_dput
	mov	w0, #0
	b	LBB0_8
LBB0_7:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_nouveau_debugfs_files,8,3      ; @nouveau_debugfs_files
	.comm	_S_IRUGO,4,2                    ; @S_IRUGO
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_nouveau_debugfs_list,4,2       ; @nouveau_debugfs_list
	.comm	_NOUVEAU_DEBUGFS_ENTRIES,4,2    ; @NOUVEAU_DEBUGFS_ENTRIES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vbios.rom"

.subsections_via_symbols
