	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_tile_width_bytes
_intel_tile_width_bytes:                ## @intel_tile_width_bytes
	.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, %r12d
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_to_i915
	movq	%rax, %r15
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movslq	%r12d, %rcx
	movl	(%rax,%rcx,4), %r14d
	movl	(%rbx), %edi
	leal	-128(%rdi), %eax
	cmpl	$5, %eax
	ja	LBB0_14
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movl	$128, %eax
	cmpl	$1, %r12d
	je	LBB0_16
LBB0_9:
	leal	-1(%r14), %ecx
	cmpl	$15, %ecx
	ja	LBB0_13
## %bb.10:
	movl	$64, %eax
	leaq	LJTI0_1(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_11:
	movl	$128, %eax
	jmp	LBB0_16
LBB0_14:
                                        ## kill: def $edi killed $edi killed $rdi
	jmp	LBB0_15
LBB0_4:
	movl	$128, %eax
	cmpl	$1, %r12d
	je	LBB0_16
LBB0_5:
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_IS_GEN
	movl	%eax, %ecx
	movl	$128, %eax
	testl	%ecx, %ecx
	jne	LBB0_16
## %bb.6:
	movq	%r15, %rdi
	callq	_HAS_128_BYTE_Y_TILING
	jmp	LBB0_7
LBB0_3:
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_IS_GEN
LBB0_7:
	testl	%eax, %eax
	movl	$512, %ecx                      ## imm = 0x200
	movl	$128, %eax
	cmovel	%ecx, %eax
	jmp	LBB0_16
LBB0_2:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_intel_tile_size                ## TAILCALL
LBB0_12:
	movl	$256, %eax                      ## imm = 0x100
	jmp	LBB0_16
LBB0_13:
	movl	%r14d, %edi
LBB0_15:
	callq	_MISSING_CASE
	movl	%r14d, %eax
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_2
.set L0_1_set_16, LBB0_16-LJTI0_1
.set L0_1_set_11, LBB0_11-LJTI0_1
.set L0_1_set_13, LBB0_13-LJTI0_1
.set L0_1_set_12, LBB0_12-LJTI0_1
LJTI0_1:
	.long	L0_1_set_16
	.long	L0_1_set_11
	.long	L0_1_set_13
	.long	L0_1_set_11
	.long	L0_1_set_13
	.long	L0_1_set_13
	.long	L0_1_set_13
	.long	L0_1_set_12
	.long	L0_1_set_13
	.long	L0_1_set_13
	.long	L0_1_set_13
	.long	L0_1_set_13
	.long	L0_1_set_13
	.long	L0_1_set_13
	.long	L0_1_set_13
	.long	L0_1_set_12
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_intel_tile_width_bytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_tile_width_bytes
_intel_tile_width_bytes:                ; @intel_tile_width_bytes
	.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	x19, x1
	mov	x22, x0
	ldr	w0, [x0, #16]
	bl	_to_i915
	mov	x21, x0
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	ldr	w20, [x8, w19, sxtw #2]
	ldr	w0, [x22]
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_13
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	cmp	w19, #1
	b.eq	LBB0_7
LBB0_3:
	sub	w8, w20, #1
	cmp	w8, #15
	b.hi	LBB0_12
; %bb.4:
	mov	w19, #64
Lloh2:
	adrp	x9, lJTI0_1@PAGE
Lloh3:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	mov	w19, #256
	b	LBB0_14
LBB0_6:
	cmp	w19, #1
	b.ne	LBB0_8
LBB0_7:
	mov	w19, #128
	b	LBB0_14
LBB0_8:
	mov	x0, x21
	mov	w1, #2
	bl	_IS_GEN
	mov	w19, #128
	cbnz	w0, LBB0_14
; %bb.9:
	mov	x0, x21
	bl	_HAS_128_BYTE_Y_TILING
	mov	w8, #512
	cmp	w0, #0
	csel	w19, w8, w19, eq
	b	LBB0_14
LBB0_10:
	mov	x0, x21
	mov	w1, #2
	bl	_IS_GEN
	mov	w8, #128
	mov	w9, #512
	cmp	w0, #0
	csel	w19, w9, w8, eq
	b	LBB0_14
LBB0_11:
	mov	x0, x21
	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	_intel_tile_size
LBB0_12:
	mov	x0, x20
LBB0_13:
	bl	_MISSING_CASE
	mov	x19, x20
LBB0_14:
	mov	x0, 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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_14-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
                                        ; -- End function
	.no_dead_strip	_intel_tile_width_bytes
.subsections_via_symbols
