	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tile_height_align
_tile_height_align:                     ## @tile_height_align
	.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	_IMAGE_CONVERT_IN@GOTPCREL(%rip), %rax
	movl	$2, %ebx
	cmpl	%edi, (%rax)
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r14
	movl	%edx, %edi
	callq	_ipu_rot_mode_is_irt
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movl	$8, %ebx
	cmpq	$0, 8(%r14)
	je	LBB0_5
## %bb.3:
	cmpl	$0, 4(%r14)
	jne	LBB0_5
## %bb.4:
	movl	(%r14), %ebx
	shll	$3, %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IMAGE_CONVERT_IN,4,2           ## @IMAGE_CONVERT_IN
	.no_dead_strip	_tile_height_align
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tile_height_align
_tile_height_align:                     ; @tile_height_align
	.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
Lloh0:
	adrp	x8, _IMAGE_CONVERT_IN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IMAGE_CONVERT_IN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x0, x2
	bl	_ipu_rot_mode_is_irt
	cbz	w0, LBB0_5
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_7
LBB0_4:
	mov	w0, #8
	b	LBB0_6
LBB0_5:
	mov	w0, #2
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w8, [x19]
	lsl	w0, w8, #3
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IMAGE_CONVERT_IN,4,2           ; @IMAGE_CONVERT_IN
	.no_dead_strip	_tile_height_align
.subsections_via_symbols
