	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ivb_load_lut_ext_max
_ivb_load_lut_ext_max:                  ## @ivb_load_lut_ext_max
	.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
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_to_i915
	movq	%rax, %r14
	movl	(%rbx), %ebx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_PREC_PAL_EXT_GC_MAX
	movl	%eax, %edi
	movl	$65536, %esi                    ## imm = 0x10000
	callq	_I915_WRITE
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_PREC_PAL_EXT_GC_MAX
	movl	%eax, %edi
	movl	$65536, %esi                    ## imm = 0x10000
	callq	_I915_WRITE
	movl	%ebx, %edi
	movl	$2, %esi
	callq	_PREC_PAL_EXT_GC_MAX
	movl	%eax, %edi
	movl	$65536, %esi                    ## imm = 0x10000
	callq	_I915_WRITE
	movq	%r14, %rdi
	callq	_INTEL_GEN
	cmpl	$9, %eax
	jg	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_IS_GEMINILAKE
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_PREC_PAL_EXT2_GC_MAX
	movl	%eax, %edi
	movl	$65536, %esi                    ## imm = 0x10000
	callq	_I915_WRITE
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_PREC_PAL_EXT2_GC_MAX
	movl	%eax, %edi
	movl	$65536, %esi                    ## imm = 0x10000
	callq	_I915_WRITE
	movl	%ebx, %edi
	movl	$2, %esi
	callq	_PREC_PAL_EXT2_GC_MAX
	movl	%eax, %edi
	movl	$65536, %esi                    ## imm = 0x10000
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_I915_WRITE                     ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ivb_load_lut_ext_max
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ivb_load_lut_ext_max
_ivb_load_lut_ext_max:                  ; @ivb_load_lut_ext_max
	.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, x0
	ldr	w0, [x0, #4]
	bl	_to_i915
	mov	x20, x0
	ldr	w19, [x19]
	mov	x0, x19
	mov	w1, #0
	bl	_PREC_PAL_EXT_GC_MAX
	mov	w1, #65536
	bl	_I915_WRITE
	mov	x0, x19
	mov	w1, #1
	bl	_PREC_PAL_EXT_GC_MAX
	mov	w1, #65536
	bl	_I915_WRITE
	mov	x0, x19
	mov	w1, #2
	bl	_PREC_PAL_EXT_GC_MAX
	mov	w1, #65536
	bl	_I915_WRITE
	mov	x0, x20
	bl	_INTEL_GEN
	cmp	w0, #9
	b.gt	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_IS_GEMINILAKE
	cbz	x0, LBB0_3
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	bl	_PREC_PAL_EXT2_GC_MAX
	mov	w1, #65536
	bl	_I915_WRITE
	mov	x0, x19
	mov	w1, #1
	bl	_PREC_PAL_EXT2_GC_MAX
	mov	w1, #65536
	bl	_I915_WRITE
	mov	x0, x19
	mov	w1, #2
	bl	_PREC_PAL_EXT2_GC_MAX
	mov	w1, #65536
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_I915_WRITE
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ivb_load_lut_ext_max
.subsections_via_symbols
