	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dc_display_enable
_dc_display_enable:                     ## @dc_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	callq	_device_get_softc
	movq	%rax, %rbx
	testl	%r14d, %r14d
	jne	LBB0_1
## %bb.2:
	movq	_CTRL_MODE_STOP@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_CTRL_MODE_C_DISPLAY@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	movq	_DC_CMD_DISPLAY_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_DISPLAY_CTRL_MODE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_WR4
	movq	_DC_CMD_STATE_CONTROL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_GENERAL_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_WR4
	movl	(%r14), %esi
	movq	_GENERAL_ACT_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_WR4                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CTRL_MODE_C_DISPLAY,4,2        ## @CTRL_MODE_C_DISPLAY
	.comm	_CTRL_MODE_STOP,4,2             ## @CTRL_MODE_STOP
	.comm	_DC_CMD_DISPLAY_COMMAND,4,2     ## @DC_CMD_DISPLAY_COMMAND
	.comm	_DC_CMD_STATE_CONTROL,4,2       ## @DC_CMD_STATE_CONTROL
	.comm	_GENERAL_UPDATE,4,2             ## @GENERAL_UPDATE
	.comm	_GENERAL_ACT_REQ,4,2            ## @GENERAL_ACT_REQ
	.no_dead_strip	_dc_display_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dc_display_enable
_dc_display_enable:                     ; @dc_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
	mov	x19, x1
	bl	_device_get_softc
	mov	x20, x0
Lloh0:
	adrp	x8, _CTRL_MODE_C_DISPLAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CTRL_MODE_C_DISPLAY@GOTPAGEOFF]
Lloh2:
	adrp	x9, _CTRL_MODE_STOP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CTRL_MODE_STOP@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
Lloh4:
	adrp	x8, _DC_CMD_DISPLAY_COMMAND@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DC_CMD_DISPLAY_COMMAND@GOTPAGEOFF]
Lloh6:
	ldr	w19, [x8]
	bl	_DISPLAY_CTRL_MODE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_WR4
Lloh7:
	adrp	x19, _DC_CMD_STATE_CONTROL@GOTPAGE
Lloh8:
	ldr	x19, [x19, _DC_CMD_STATE_CONTROL@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh9:
	adrp	x8, _GENERAL_UPDATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GENERAL_UPDATE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_WR4
	ldr	w1, [x19]
Lloh12:
	adrp	x8, _GENERAL_ACT_REQ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GENERAL_ACT_REQ@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WR4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CTRL_MODE_C_DISPLAY,4,2        ; @CTRL_MODE_C_DISPLAY
	.comm	_CTRL_MODE_STOP,4,2             ; @CTRL_MODE_STOP
	.comm	_DC_CMD_DISPLAY_COMMAND,4,2     ; @DC_CMD_DISPLAY_COMMAND
	.comm	_DC_CMD_STATE_CONTROL,4,2       ; @DC_CMD_STATE_CONTROL
	.comm	_GENERAL_UPDATE,4,2             ; @GENERAL_UPDATE
	.comm	_GENERAL_ACT_REQ,4,2            ; @GENERAL_ACT_REQ
	.no_dead_strip	_dc_display_enable
.subsections_via_symbols
