	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_sdvo_set_encoder_power_state
_intel_sdvo_set_encoder_power_state:    ## @intel_sdvo_set_encoder_power_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_SDVO_ENCODER_STATE_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	cmpl	$128, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$131, %esi
	je	LBB0_5
## %bb.2:
	cmpl	$129, %esi
	jne	LBB0_7
## %bb.3:
	movq	_SDVO_ENCODER_STATE_STANDBY@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_SDVO_ENCODER_STATE_SUSPEND@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_SDVO_ENCODER_STATE_OFF@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
LBB0_7:
	movq	_SDVO_CMD_SET_ENCODER_POWER_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	movl	$4, %ecx
	callq	_intel_sdvo_set_value
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDVO_ENCODER_STATE_ON,4,2      ## @SDVO_ENCODER_STATE_ON
	.comm	_SDVO_ENCODER_STATE_STANDBY,4,2 ## @SDVO_ENCODER_STATE_STANDBY
	.comm	_SDVO_ENCODER_STATE_SUSPEND,4,2 ## @SDVO_ENCODER_STATE_SUSPEND
	.comm	_SDVO_ENCODER_STATE_OFF,4,2     ## @SDVO_ENCODER_STATE_OFF
	.comm	_SDVO_CMD_SET_ENCODER_POWER_STATE,4,2 ## @SDVO_CMD_SET_ENCODER_POWER_STATE
	.no_dead_strip	_intel_sdvo_set_encoder_power_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_sdvo_set_encoder_power_state
_intel_sdvo_set_encoder_power_state:    ; @intel_sdvo_set_encoder_power_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _SDVO_ENCODER_STATE_ON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDVO_ENCODER_STATE_ON@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stur	w8, [x29, #-4]
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #131
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #129
	b.ne	LBB0_7
; %bb.3:
Lloh3:
	adrp	x8, _SDVO_ENCODER_STATE_STANDBY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SDVO_ENCODER_STATE_STANDBY@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x8, _SDVO_ENCODER_STATE_SUSPEND@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SDVO_ENCODER_STATE_SUSPEND@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _SDVO_ENCODER_STATE_OFF@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SDVO_ENCODER_STATE_OFF@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	stur	w8, [x29, #-4]
LBB0_7:
Lloh9:
	adrp	x8, _SDVO_CMD_SET_ENCODER_POWER_STATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SDVO_CMD_SET_ENCODER_POWER_STATE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	sub	x2, x29, #4
	mov	w3, #4
	bl	_intel_sdvo_set_value
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SDVO_ENCODER_STATE_ON,4,2      ; @SDVO_ENCODER_STATE_ON
	.comm	_SDVO_ENCODER_STATE_STANDBY,4,2 ; @SDVO_ENCODER_STATE_STANDBY
	.comm	_SDVO_ENCODER_STATE_SUSPEND,4,2 ; @SDVO_ENCODER_STATE_SUSPEND
	.comm	_SDVO_ENCODER_STATE_OFF,4,2     ; @SDVO_ENCODER_STATE_OFF
	.comm	_SDVO_CMD_SET_ENCODER_POWER_STATE,4,2 ; @SDVO_CMD_SET_ENCODER_POWER_STATE
	.no_dead_strip	_intel_sdvo_set_encoder_power_state
.subsections_via_symbols
