	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsi_bind
_dsi_bind:                              ## @dsi_bind
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_dss_get_device
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movq	%r14, 40(%rax)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_dsi_init_pll_data
	movq	%rbx, %rdi
	callq	_dsi_runtime_get
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_DSI_REVISION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dsi_read_reg
	movl	%eax, %r13d
	movl	%eax, %edi
	movl	$7, %esi
	movl	$4, %edx
	callq	_FLD_GET
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	movl	$3, %esi
	xorl	%edx, %edx
	callq	_FLD_GET
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	callq	_dev_dbg
	movq	%rbx, %rdi
	callq	_dsi_get_line_buf_size
	movl	%eax, 32(%rbx)
	movq	%rbx, %rdi
	callq	_dsi_runtime_put
	movl	(%rbx), %ecx
	incl	%ecx
	leaq	L_.str.1(%rip), %rdx
	leaq	-58(%rbp), %r12
	movq	%r12, %rdi
	movl	$10, %esi
	callq	_snprintf
	movq	_dsi_dump_dsi_regs@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rcx
	callq	_dss_debugfs_create_file
	movq	%rax, 24(%rbx)
	movl	(%rbx), %ecx
	incl	%ecx
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movl	$10, %esi
	callq	_snprintf
	movq	_dsi_dump_dsi_clocks@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rcx
	callq	_dss_debugfs_create_file
	movq	%rax, 8(%rbx)
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DSI_REVISION,4,2               ## @DSI_REVISION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OMAP DSI rev %d.%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"dsi%u_regs"

	.comm	_dsi_dump_dsi_regs,4,2          ## @dsi_dump_dsi_regs
L_.str.2:                               ## @.str.2
	.asciz	"dsi%u_clks"

	.comm	_dsi_dump_dsi_clocks,4,2        ## @dsi_dump_dsi_clocks
	.comm	_dsi_dump_dsi_irqs,4,2          ## @dsi_dump_dsi_irqs
	.no_dead_strip	_dsi_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsi_bind
_dsi_bind:                              ; @dsi_bind
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	x0, x1
	bl	_dss_get_device
	mov	x20, x0
	mov	x0, x22
	bl	_dev_get_drvdata
	mov	x19, x0
	str	x20, [x0, #40]
	mov	x0, x20
	mov	x1, x19
	bl	_dsi_init_pll_data
	mov	x0, x19
	bl	_dsi_runtime_get
	mov	x21, x0
	cbnz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _DSI_REVISION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DSI_REVISION@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dsi_read_reg
	mov	x23, x0
	mov	w1, #7
	mov	w2, #4
	bl	_FLD_GET
	mov	x24, x0
	mov	x0, x23
	mov	w1, #3
	mov	w2, #0
	bl	_FLD_GET
	mov	x3, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x24
	bl	_dev_dbg
	mov	x0, x19
	bl	_dsi_get_line_buf_size
	str	w0, [x19, #32]
	mov	x0, x19
	bl	_dsi_runtime_put
	ldr	w8, [x19]
	add	w3, w8, #1
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #14
	mov	w1, #10
	bl	_snprintf
Lloh10:
	adrp	x8, _dsi_dump_dsi_regs@GOTPAGE
Lloh11:
	ldr	x8, [x8, _dsi_dump_dsi_regs@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	add	x1, sp, #14
	mov	x0, x20
	mov	x3, x19
	bl	_dss_debugfs_create_file
	str	x0, [x19, #24]
	ldr	w8, [x19]
	add	w3, w8, #1
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #14
	mov	w1, #10
	bl	_snprintf
Lloh15:
	adrp	x8, _dsi_dump_dsi_clocks@GOTPAGE
Lloh16:
	ldr	x8, [x8, _dsi_dump_dsi_clocks@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	add	x1, sp, #14
	mov	x0, x20
	mov	x3, x19
	bl	_dss_debugfs_create_file
	str	x0, [x19, #8]
LBB0_2:
	ldr	x8, [sp, #24]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_DSI_REVISION,4,2               ; @DSI_REVISION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OMAP DSI rev %d.%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"dsi%u_regs"

	.comm	_dsi_dump_dsi_regs,4,2          ; @dsi_dump_dsi_regs
l_.str.2:                               ; @.str.2
	.asciz	"dsi%u_clks"

	.comm	_dsi_dump_dsi_clocks,4,2        ; @dsi_dump_dsi_clocks
	.comm	_dsi_dump_dsi_irqs,4,2          ; @dsi_dump_dsi_irqs
	.no_dead_strip	_dsi_bind
.subsections_via_symbols
