	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_cpu_transcoder_set_m_n
_intel_cpu_transcoder_set_m_n:          ## @intel_cpu_transcoder_set_m_n
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	16(%rdi), %edi
	callq	_to_intel_crtc
	movq	%rax, %rbx
	movl	4(%rax), %edi
	callq	_to_i915
	movl	(%rbx), %r14d
	movq	%rax, %rbx
	movl	(%r12), %r15d
	movq	%rax, %rdi
	callq	_INTEL_GEN
	cmpl	$5, %eax
	jl	LBB0_5
## %bb.1:
	movq	%rbx, %r14
	movl	%r15d, %edi
	callq	_PIPE_DATA_M1
	movl	%eax, %ebx
	movl	16(%r13), %edi
	callq	_TU_SIZE
	orl	(%r13), %eax
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movl	%r15d, %edi
	callq	_PIPE_DATA_N1
	movl	4(%r13), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r15d, %edi
	callq	_PIPE_LINK_M1
	movl	8(%r13), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r15d, %edi
	callq	_PIPE_LINK_N1
	movl	12(%r13), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	testq	%r13, %r13
	je	LBB0_7
## %bb.2:
	cmpq	$0, 8(%r12)
	je	LBB0_7
## %bb.3:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_transcoder_has_m2_n2
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	%r15d, %edi
	callq	_PIPE_DATA_M2
	movl	%eax, %ebx
	movl	16(%r13), %edi
	callq	_TU_SIZE
	orl	(%r13), %eax
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movl	%r15d, %edi
	callq	_PIPE_DATA_N2
	movl	4(%r13), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r15d, %edi
	callq	_PIPE_LINK_M2
	movl	8(%r13), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r15d, %edi
	callq	_PIPE_LINK_N2
	jmp	LBB0_6
LBB0_5:
	movl	%r14d, %edi
	callq	_PIPE_DATA_M_G4X
	movl	%eax, %ebx
	movl	16(%r13), %edi
	callq	_TU_SIZE
	orl	(%r13), %eax
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movl	%r14d, %edi
	callq	_PIPE_DATA_N_G4X
	movl	4(%r13), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r14d, %edi
	callq	_PIPE_LINK_M_G4X
	movl	8(%r13), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r14d, %edi
	callq	_PIPE_LINK_N_G4X
LBB0_6:
	movl	12(%r13), %esi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_I915_WRITE                     ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_intel_cpu_transcoder_set_m_n
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_cpu_transcoder_set_m_n
_intel_cpu_transcoder_set_m_n:          ; @intel_cpu_transcoder_set_m_n
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w0, [x0, #16]
	bl	_to_intel_crtc
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_to_i915
	mov	x23, x0
	ldr	w24, [x20]
	ldr	w20, [x22]
	bl	_INTEL_GEN
	cmp	w0, #5
	b.lt	LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_PIPE_DATA_M1
	mov	x24, x0
	ldr	w0, [x21, #16]
	bl	_TU_SIZE
	ldr	w8, [x21]
	orr	w1, w8, w0
	mov	x0, x24
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_DATA_N1
	ldr	w1, [x21, #4]
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_LINK_M1
	ldr	w1, [x21, #8]
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_LINK_N1
	ldr	w1, [x21, #12]
	bl	_I915_WRITE
	cbz	x19, LBB0_7
; %bb.2:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_7
; %bb.3:
	mov	x0, x23
	mov	x1, x20
	bl	_transcoder_has_m2_n2
	cbz	x0, LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_PIPE_DATA_M2
	mov	x21, x0
	ldr	w0, [x19, #16]
	bl	_TU_SIZE
	ldr	w8, [x19]
	orr	w1, w8, w0
	mov	x0, x21
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_DATA_N2
	ldr	w1, [x19, #4]
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_LINK_M2
	ldr	w1, [x19, #8]
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_LINK_N2
	b	LBB0_6
LBB0_5:
	mov	x0, x24
	bl	_PIPE_DATA_M_G4X
	mov	x19, x0
	ldr	w0, [x21, #16]
	bl	_TU_SIZE
	ldr	w8, [x21]
	orr	w1, w8, w0
	mov	x0, x19
	bl	_I915_WRITE
	mov	x0, x24
	bl	_PIPE_DATA_N_G4X
	ldr	w1, [x21, #4]
	bl	_I915_WRITE
	mov	x0, x24
	bl	_PIPE_LINK_M_G4X
	ldr	w1, [x21, #8]
	bl	_I915_WRITE
	mov	x0, x24
	bl	_PIPE_LINK_N_G4X
	mov	x19, x21
LBB0_6:
	ldr	w1, [x19, #12]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_I915_WRITE
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_intel_cpu_transcoder_set_m_n
.subsections_via_symbols
