	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_encoder_disable
_omap_encoder_disable:                  ## @omap_encoder_disable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_to_omap_encoder
	movq	(%rax), %rbx
	movq	(%r14), %rax
	movl	(%rax), %edi
	movl	32(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_drm_panel_disable
	movq	24(%rbx), %rdi
	callq	_drm_panel_unprepare
LBB0_2:
	movl	8(%rbx), %edi
	callq	_omapdss_device_disable
	movq	(%rbx), %rax
	movq	_OMAP_DISPLAY_TYPE_DSI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	16(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	_OMAP_DSS_DISPLAY_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
LBB0_4:
	movl	8(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_omapdss_device_post_disable    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"disable(%s)\n"

	.comm	_OMAP_DISPLAY_TYPE_DSI,8,3      ## @OMAP_DISPLAY_TYPE_DSI
	.comm	_OMAP_DSS_DISPLAY_DISABLED,4,2  ## @OMAP_DSS_DISPLAY_DISABLED
	.no_dead_strip	_omap_encoder_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_encoder_disable
_omap_encoder_disable:                  ; @omap_encoder_disable
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_to_omap_encoder
	ldr	x19, [x0]
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldr	w2, [x19, #32]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_drm_panel_disable
	ldr	x0, [x19, #24]
	bl	_drm_panel_unprepare
LBB0_2:
	ldr	w0, [x19, #8]
	bl	_omapdss_device_disable
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _OMAP_DISPLAY_TYPE_DSI@GOTPAGE
Lloh3:
	ldr	x9, [x9, _OMAP_DISPLAY_TYPE_DSI@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
Lloh5:
	adrp	x8, _OMAP_DSS_DISPLAY_DISABLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OMAP_DSS_DISPLAY_DISABLED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #12]
LBB0_4:
	ldr	w0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_omapdss_device_post_disable
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"disable(%s)\n"

	.comm	_OMAP_DISPLAY_TYPE_DSI,8,3      ; @OMAP_DISPLAY_TYPE_DSI
	.comm	_OMAP_DSS_DISPLAY_DISABLED,4,2  ; @OMAP_DSS_DISPLAY_DISABLED
	.no_dead_strip	_omap_encoder_disable
.subsections_via_symbols
