	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_debugfs_crtc_crc_add       ## -- Begin function drm_debugfs_crtc_crc_add
	.p2align	4, 0x90
_drm_debugfs_crtc_crc_add:              ## @drm_debugfs_crtc_crc_add
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_2
## %bb.1:
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.3:
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_debugfs_create_dir
	movq	%rax, %r14
	movq	_S_IRUGO@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	movq	_drm_crtc_crc_control_fops@GOTPCREL(%rip), %r8
	movq	%rax, %rdx
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movl	(%r15), %esi
	leaq	L_.str.2(%rip), %rdi
	movq	_drm_crtc_crc_data_fops@GOTPCREL(%rip), %r8
	movq	%r14, %rdx
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_debugfs_create_file            ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"crc"

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

	.comm	_S_IRUGO,4,2                    ## @S_IRUGO
	.comm	_drm_crtc_crc_control_fops,4,2  ## @drm_crtc_crc_control_fops
L_.str.2:                               ## @.str.2
	.asciz	"data"

	.comm	_drm_crtc_crc_data_fops,4,2     ## @drm_crtc_crc_data_fops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_debugfs_crtc_crc_add       ; -- Begin function drm_debugfs_crtc_crc_add
	.p2align	2
_drm_debugfs_crtc_crc_add:              ; @drm_debugfs_crtc_crc_add
	.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
	ldr	x8, [x0, #8]
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_3
; %bb.1:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.2:
	mov	x19, x0
	ldr	w1, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debugfs_create_dir
	mov	x20, x0
Lloh2:
	adrp	x21, _S_IRUGO@GOTPAGE
Lloh3:
	ldr	x21, [x21, _S_IRUGO@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh6:
	adrp	x4, _drm_crtc_crc_control_fops@GOTPAGE
Lloh7:
	ldr	x4, [x4, _drm_crtc_crc_control_fops@GOTPAGEOFF]
	mov	x2, x20
	mov	x3, x19
	bl	_debugfs_create_file
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh10:
	adrp	x4, _drm_crtc_crc_data_fops@GOTPAGE
Lloh11:
	ldr	x4, [x4, _drm_crtc_crc_data_fops@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x2, x20
	mov	x3, 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	_debugfs_create_file
LBB0_3:
	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
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"crc"

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

	.comm	_S_IRUGO,4,2                    ; @S_IRUGO
	.comm	_drm_crtc_crc_control_fops,4,2  ; @drm_crtc_crc_control_fops
l_.str.2:                               ; @.str.2
	.asciz	"data"

	.comm	_drm_crtc_crc_data_fops,4,2     ; @drm_crtc_crc_data_fops
.subsections_via_symbols
