	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i915_debugfs_connector_add     ## -- Begin function i915_debugfs_connector_add
	.p2align	4, 0x90
_i915_debugfs_connector_add:            ## @i915_debugfs_connector_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	%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
	movq	16(%rdi), %r14
	movl	8(%rdi), %edi
	callq	_to_i915
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	(%r12), %rax
	movq	_DRM_MODE_CONNECTOR_DisplayPort@GOTPCREL(%rip), %r13
	movq	_DRM_MODE_CONNECTOR_eDP@GOTPCREL(%rip), %rbx
	cmpq	(%r13), %rax
	je	LBB0_4
## %bb.3:
	movq	(%rbx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_4
## %bb.5:
	cmpq	%rcx, %rax
	je	LBB0_6
LBB0_7:
	cmpq	(%r13), %rax
	jne	LBB0_8
	jmp	LBB0_10
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_15
LBB0_4:
	movq	_S_IRUGO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	movq	_i915_dpcd_fops@GOTPCREL(%rip), %r8
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_debugfs_create_file
	movq	(%r12), %rax
	movq	(%rbx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_7
LBB0_6:
	movq	_S_IRUGO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	movq	_i915_panel_fops@GOTPCREL(%rip), %r8
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_debugfs_create_file
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	movq	_i915_psr_sink_status_fops@GOTPCREL(%rip), %r8
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_debugfs_create_file
	movq	(%r12), %rax
	cmpq	(%r13), %rax
	je	LBB0_10
LBB0_8:
	movq	_DRM_MODE_CONNECTOR_HDMIA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:
	movq	_DRM_MODE_CONNECTOR_HDMIB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
LBB0_10:
	movq	_S_IRUGO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	movq	_i915_hdcp_sink_capability_fops@GOTPCREL(%rip), %r8
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_debugfs_create_file
LBB0_11:
	movq	%r15, %rdi
	callq	_INTEL_GEN
	xorl	%ebx, %ebx
	cmpl	$10, %eax
	jl	LBB0_15
## %bb.12:
	movq	(%r12), %rax
	cmpq	(%r13), %rax
	je	LBB0_14
## %bb.13:
	movq	_DRM_MODE_CONNECTOR_eDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
LBB0_14:
	movq	_S_IRUGO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdi
	movq	_i915_dsc_fec_support_fops@GOTPCREL(%rip), %r8
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_debugfs_create_file
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_DRM_MODE_CONNECTOR_DisplayPort,8,3 ## @DRM_MODE_CONNECTOR_DisplayPort
	.comm	_DRM_MODE_CONNECTOR_eDP,8,3     ## @DRM_MODE_CONNECTOR_eDP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i915_dpcd"

	.comm	_S_IRUGO,4,2                    ## @S_IRUGO
	.comm	_i915_dpcd_fops,4,2             ## @i915_dpcd_fops
L_.str.1:                               ## @.str.1
	.asciz	"i915_panel_timings"

	.comm	_i915_panel_fops,4,2            ## @i915_panel_fops
L_.str.2:                               ## @.str.2
	.asciz	"i915_psr_sink_status"

	.comm	_i915_psr_sink_status_fops,4,2  ## @i915_psr_sink_status_fops
	.comm	_DRM_MODE_CONNECTOR_HDMIA,8,3   ## @DRM_MODE_CONNECTOR_HDMIA
	.comm	_DRM_MODE_CONNECTOR_HDMIB,8,3   ## @DRM_MODE_CONNECTOR_HDMIB
L_.str.3:                               ## @.str.3
	.asciz	"i915_hdcp_sink_capability"

	.comm	_i915_hdcp_sink_capability_fops,4,2 ## @i915_hdcp_sink_capability_fops
L_.str.4:                               ## @.str.4
	.asciz	"i915_dsc_fec_support"

	.comm	_i915_dsc_fec_support_fops,4,2  ## @i915_dsc_fec_support_fops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i915_debugfs_connector_add     ; -- Begin function i915_debugfs_connector_add
	.p2align	2
_i915_debugfs_connector_add:            ; @i915_debugfs_connector_add
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, #16]
	ldr	w0, [x0, #8]
	bl	_to_i915
	cbz	x20, LBB0_11
; %bb.1:
	mov	x21, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x22, _DRM_MODE_CONNECTOR_DisplayPort@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DRM_MODE_CONNECTOR_DisplayPort@GOTPAGEOFF]
	ldr	x10, [x22]
Lloh2:
	adrp	x23, _DRM_MODE_CONNECTOR_eDP@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DRM_MODE_CONNECTOR_eDP@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_3
; %bb.2:
Lloh4:
	adrp	x8, _S_IRUGO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _S_IRUGO@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
Lloh9:
	adrp	x4, _i915_dpcd_fops@GOTPAGE
Lloh10:
	ldr	x4, [x4, _i915_dpcd_fops@GOTPAGEOFF]
	mov	x2, x20
	mov	x3, x19
	bl	_debugfs_create_file
	ldr	x8, [x19]
	ldr	x9, [x23]
LBB0_3:
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh11:
	adrp	x24, _S_IRUGO@GOTPAGE
Lloh12:
	ldr	x24, [x24, _S_IRUGO@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh15:
	adrp	x4, _i915_panel_fops@GOTPAGE
Lloh16:
	ldr	x4, [x4, _i915_panel_fops@GOTPAGEOFF]
	mov	x2, x20
	mov	x3, x19
	bl	_debugfs_create_file
	ldr	w1, [x24]
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh19:
	adrp	x4, _i915_psr_sink_status_fops@GOTPAGE
Lloh20:
	ldr	x4, [x4, _i915_psr_sink_status_fops@GOTPAGEOFF]
	mov	x2, x20
	mov	x3, x19
	bl	_debugfs_create_file
	ldr	x8, [x19]
LBB0_5:
	ldr	x9, [x22]
Lloh21:
	adrp	x10, _DRM_MODE_CONNECTOR_HDMIA@GOTPAGE
Lloh22:
	ldr	x10, [x10, _DRM_MODE_CONNECTOR_HDMIA@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
Lloh24:
	adrp	x11, _DRM_MODE_CONNECTOR_HDMIB@GOTPAGE
Lloh25:
	ldr	x11, [x11, _DRM_MODE_CONNECTOR_HDMIB@GOTPAGEOFF]
Lloh26:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_7
; %bb.6:
Lloh27:
	adrp	x8, _S_IRUGO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _S_IRUGO@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh32:
	adrp	x4, _i915_hdcp_sink_capability_fops@GOTPAGE
Lloh33:
	ldr	x4, [x4, _i915_hdcp_sink_capability_fops@GOTPAGEOFF]
	mov	x2, x20
	mov	x3, x19
	bl	_debugfs_create_file
LBB0_7:
	mov	x0, x21
	bl	_INTEL_GEN
	cmp	w0, #10
	b.lt	LBB0_10
; %bb.8:
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	x10, [x23]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_10
; %bb.9:
Lloh34:
	adrp	x8, _S_IRUGO@GOTPAGE
Lloh35:
	ldr	x8, [x8, _S_IRUGO@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x0, l_.str.4@PAGE
Lloh38:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh39:
	adrp	x4, _i915_dsc_fec_support_fops@GOTPAGE
Lloh40:
	ldr	x4, [x4, _i915_dsc_fec_support_fops@GOTPAGEOFF]
	mov	x2, x20
	mov	x3, x19
	bl	_debugfs_create_file
LBB0_10:
	mov	w0, #0
	b	LBB0_12
LBB0_11:
Lloh41:
	adrp	x8, _ENODEV@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_DRM_MODE_CONNECTOR_DisplayPort,8,3 ; @DRM_MODE_CONNECTOR_DisplayPort
	.comm	_DRM_MODE_CONNECTOR_eDP,8,3     ; @DRM_MODE_CONNECTOR_eDP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i915_dpcd"

	.comm	_S_IRUGO,4,2                    ; @S_IRUGO
	.comm	_i915_dpcd_fops,4,2             ; @i915_dpcd_fops
l_.str.1:                               ; @.str.1
	.asciz	"i915_panel_timings"

	.comm	_i915_panel_fops,4,2            ; @i915_panel_fops
l_.str.2:                               ; @.str.2
	.asciz	"i915_psr_sink_status"

	.comm	_i915_psr_sink_status_fops,4,2  ; @i915_psr_sink_status_fops
	.comm	_DRM_MODE_CONNECTOR_HDMIA,8,3   ; @DRM_MODE_CONNECTOR_HDMIA
	.comm	_DRM_MODE_CONNECTOR_HDMIB,8,3   ; @DRM_MODE_CONNECTOR_HDMIB
l_.str.3:                               ; @.str.3
	.asciz	"i915_hdcp_sink_capability"

	.comm	_i915_hdcp_sink_capability_fops,4,2 ; @i915_hdcp_sink_capability_fops
l_.str.4:                               ; @.str.4
	.asciz	"i915_dsc_fec_support"

	.comm	_i915_dsc_fec_support_fops,4,2  ; @i915_dsc_fec_support_fops
.subsections_via_symbols
