	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsi_display_enable
_dsi_display_enable:                    ## @dsi_display_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_to_dsi_data
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DSSDBG
	movq	%rbx, %rdi
	callq	_dsi_bus_is_locked
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_dsi_runtime_get
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	__dsi_initialize_irq
	movq	%rbx, %rdi
	callq	_dsi_display_init_dsi
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_dsi_runtime_put
LBB0_3:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_DSSDBG                         ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dsi_display_enable\n"

L_.str.1:                               ## @.str.1
	.asciz	"dsi_display_enable FAILED\n"

	.no_dead_strip	_dsi_display_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsi_display_enable
_dsi_display_enable:                    ; @dsi_display_enable
	.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
	bl	_to_dsi_data
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DSSDBG
	mov	x0, x19
	bl	_dsi_bus_is_locked
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	mov	x0, x19
	bl	_mutex_lock
	mov	x0, x19
	bl	_dsi_runtime_get
	cbnz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	__dsi_initialize_irq
	mov	x0, x19
	bl	_dsi_display_init_dsi
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_dsi_runtime_put
LBB0_3:
	mov	x0, x19
	bl	_mutex_unlock
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DSSDBG
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dsi_display_enable\n"

l_.str.1:                               ; @.str.1
	.asciz	"dsi_display_enable FAILED\n"

	.no_dead_strip	_dsi_display_enable
.subsections_via_symbols
