	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __GetImageTileCount
___GetImageTileCount:                   ## @__GetImageTileCount
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	%rcx, %r10
                                        ## kill: def $edi killed $edi def $rdi
	leal	-128(%rdi), %eax
	xorl	%ecx, %ecx
	movl	$0, %r11d
	cmpl	$22, %eax
	ja	LBB0_2
## %bb.1:
	movslq	%eax, %r11
	leaq	l_switch.table.__GetImageTileCount(%rip), %rcx
	movl	(%rcx,%r11,4), %ecx
	leaq	l_switch.table.__GetImageTileCount.1(%rip), %rax
	movl	(%rax,%r11,4), %r11d
LBB0_2:
	movzwl	%si, %eax
	testl	%eax, %eax
	movzwl	%dx, %edx
	movl	$1, %esi
	cmovel	%esi, %eax
	movl	$-1, %ebx
	shll	%cl, %ebx
	notl	%ebx
	addl	%eax, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %ebx
	movl	$-1, %eax
	testl	%edx, %edx
	cmovel	%esi, %edx
	movl	%r11d, %ecx
	shll	%cl, %eax
	notl	%eax
	addl	%edx, %eax
	shrl	%cl, %eax
	movl	%ebx, (%r10)
	movl	%eax, (%r8)
	andl	$-3, %edi
	xorl	%eax, %eax
	cmpl	$129, %edi
	sete	%al
	incl	%eax
	movl	%eax, (%r9)
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___GetImageTileCount
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.__GetImageTileCount
l_switch.table.__GetImageTileCount:
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	3                               ## 0x3
	.long	3                               ## 0x3
	.long	3                               ## 0x3
	.long	3                               ## 0x3
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	3                               ## 0x3
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	3                               ## 0x3
	.long	3                               ## 0x3

	.p2align	2                               ## @switch.table.__GetImageTileCount.1
l_switch.table.__GetImageTileCount.1:
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __GetImageTileCount
___GetImageTileCount:                   ; @__GetImageTileCount
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #128
	cmp	w8, #22
	b.hi	LBB0_2
; %bb.1:
	sbfiz	x8, x8, #2, #32
Lloh0:
	adrp	x9, l_switch.table.__GetImageTileCount@PAGE
Lloh1:
	add	x9, x9, l_switch.table.__GetImageTileCount@PAGEOFF
	ldr	w9, [x9, x8]
Lloh2:
	adrp	x10, l_switch.table.__GetImageTileCount.1@PAGE
Lloh3:
	add	x10, x10, l_switch.table.__GetImageTileCount.1@PAGEOFF
	ldr	w8, [x10, x8]
	b	LBB0_3
LBB0_2:
	mov	w9, #0
	mov	w8, #0
LBB0_3:
	ands	w10, w1, #0xffff
	csinc	w10, w10, wzr, ne
	mov	w11, #-1
	lsl	w12, w11, w9
	mvn	w12, w12
	add	w10, w10, w12
	lsr	w9, w10, w9
	str	w9, [x3]
	ands	w9, w2, #0xffff
	csinc	w9, w9, wzr, ne
	lsl	w10, w11, w8
	mvn	w10, w10
	add	w9, w9, w10
	lsr	w8, w9, w8
	str	w8, [x4]
	and	w8, w0, #0xfffffffd
	cmp	w8, #129
	mov	w8, #1
	cinc	w8, w8, eq
	str	w8, [x5]
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___GetImageTileCount
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.__GetImageTileCount
l_switch.table.__GetImageTileCount:
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	3                               ; 0x3
	.long	3                               ; 0x3
	.long	3                               ; 0x3
	.long	3                               ; 0x3
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	3                               ; 0x3
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	3                               ; 0x3
	.long	3                               ; 0x3

	.p2align	2                               ; @switch.table.__GetImageTileCount.1
l_switch.table.__GetImageTileCount.1:
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2

.subsections_via_symbols
