	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_sdvo_write_sdvox
_intel_sdvo_write_sdvox:                ## @intel_sdvo_write_sdvox
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	callq	_to_i915
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_HAS_PCH_SPLIT
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	8(%rbx), %edi
	movl	%r14d, %esi
	callq	_I915_WRITE
	movl	8(%rbx), %edi
	callq	_POSTING_READ
	movq	%r15, %rdi
	callq	_HAS_PCH_IBX
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	addq	$8, %rbx
	jmp	LBB0_7
LBB0_3:
	movq	(%rbx), %rax
	movq	_PORT_B@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_GEN3_SDVOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movl	%r14d, %r15d
	movl	%eax, %r14d
	jmp	LBB0_6
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_GEN3_SDVOB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movl	%eax, %r15d
LBB0_6:
	movq	_GEN3_SDVOB@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	%r15d, %esi
	callq	_I915_WRITE
	movl	(%r12), %edi
	callq	_POSTING_READ
	movq	_GEN3_SDVOC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	%r14d, %esi
	callq	_I915_WRITE
	movl	(%rbx), %edi
	callq	_POSTING_READ
	movl	(%r12), %edi
	movl	%r15d, %esi
	callq	_I915_WRITE
	movl	(%r12), %edi
	callq	_POSTING_READ
LBB0_7:
	movl	(%rbx), %edi
	movl	%r14d, %esi
	callq	_I915_WRITE
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_POSTING_READ                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_B,8,3                     ## @PORT_B
	.comm	_GEN3_SDVOC,4,2                 ## @GEN3_SDVOC
	.comm	_GEN3_SDVOB,4,2                 ## @GEN3_SDVOB
	.no_dead_strip	_intel_sdvo_write_sdvox
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_sdvo_write_sdvox
_intel_sdvo_write_sdvox:                ; @intel_sdvo_write_sdvox
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x0, #16]
	bl	_to_i915
	mov	x21, x0
	bl	_HAS_PCH_SPLIT
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x19, #8]!
	mov	x1, x20
	bl	_I915_WRITE
	ldr	w0, [x19]
	bl	_POSTING_READ
	mov	x0, x21
	bl	_HAS_PCH_IBX
	cbnz	x0, LBB0_7
; %bb.2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _PORT_B@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PORT_B@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x22, _GEN3_SDVOB@GOTPAGE
Lloh4:
	ldr	x22, [x22, _GEN3_SDVOB@GOTPAGEOFF]
Lloh5:
	adrp	x19, _GEN3_SDVOC@GOTPAGE
Lloh6:
	ldr	x19, [x19, _GEN3_SDVOC@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	w0, [x19]
	bl	_I915_READ
	mov	x21, x20
	mov	x20, x0
	b	LBB0_6
LBB0_5:
	ldr	w0, [x22]
	bl	_I915_READ
	mov	x21, x0
LBB0_6:
	ldr	w0, [x22]
	mov	x1, x21
	bl	_I915_WRITE
	ldr	w0, [x22]
	bl	_POSTING_READ
	ldr	w0, [x19]
	mov	x1, x20
	bl	_I915_WRITE
	ldr	w0, [x19]
	bl	_POSTING_READ
	ldr	w0, [x22]
	mov	x1, x21
	bl	_I915_WRITE
	ldr	w0, [x22]
	bl	_POSTING_READ
LBB0_7:
	ldr	w0, [x19]
	mov	x1, x20
	bl	_I915_WRITE
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_POSTING_READ
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_B,8,3                     ; @PORT_B
	.comm	_GEN3_SDVOC,4,2                 ; @GEN3_SDVOC
	.comm	_GEN3_SDVOB,4,2                 ; @GEN3_SDVOB
	.no_dead_strip	_intel_sdvo_write_sdvox
.subsections_via_symbols
