	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_plane_info_update_type
_get_plane_info_update_type:            ## @get_plane_info_update_type
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r15
	movq	_UPDATE_TYPE_FAST@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, -28(%rbp)
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_30
## %bb.1:
	movq	%rdi, %r14
	movq	(%rax), %rdx
	movq	%r15, %rcx
	cmpq	(%r15), %rdx
	je	LBB0_3
## %bb.2:
	movl	$1, 112(%r15)
	movq	_UPDATE_TYPE_MED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdi
	callq	_elevate_update_type
	movq	(%r14), %rax
	movq	8(%r14), %rcx
LBB0_3:
	movq	8(%rax), %rdx
	cmpq	8(%rcx), %rdx
	je	LBB0_5
## %bb.4:
	movl	$1, 116(%r15)
	movq	_UPDATE_TYPE_MED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdi
	callq	_elevate_update_type
	movq	(%r14), %rax
	movq	8(%r14), %rcx
LBB0_5:
	movq	16(%rax), %rdx
	cmpq	16(%rcx), %rdx
	je	LBB0_7
## %bb.6:
	movl	$1, 120(%r15)
	movq	_UPDATE_TYPE_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdi
	callq	_elevate_update_type
	movq	(%r14), %rax
	movq	8(%r14), %rcx
LBB0_7:
	movq	24(%rax), %rdx
	cmpq	24(%rcx), %rdx
	je	LBB0_9
## %bb.8:
	movl	$1, 124(%r15)
	movq	_UPDATE_TYPE_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdi
	callq	_elevate_update_type
	movq	(%r14), %rax
	movq	8(%r14), %rcx
LBB0_9:
	movq	32(%rax), %rdx
	cmpq	32(%rcx), %rdx
	je	LBB0_11
## %bb.10:
	movl	$1, 128(%r15)
	movq	_UPDATE_TYPE_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdi
	callq	_elevate_update_type
	movq	(%r14), %rax
	movq	8(%r14), %rcx
LBB0_11:
	movq	40(%rax), %rdx
	cmpq	40(%rcx), %rdx
	je	LBB0_13
## %bb.12:
	movl	$1, 132(%r15)
	movq	_UPDATE_TYPE_MED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdi
	callq	_elevate_update_type
	movq	(%r14), %rax
	movq	8(%r14), %rcx
LBB0_13:
	movq	48(%rax), %rdx
	cmpq	48(%rcx), %rdx
	je	LBB0_15
## %bb.14:
	movl	$1, 136(%r15)
	movq	_UPDATE_TYPE_MED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdi
	callq	_elevate_update_type
	movq	(%r14), %rax
	movq	8(%r14), %rcx
LBB0_15:
	movq	56(%rax), %rdx
	cmpq	56(%rcx), %rdx
	je	LBB0_17
## %bb.16:
	movl	$1, 140(%r15)
	movq	_UPDATE_TYPE_MED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdi
	callq	_elevate_update_type
	movq	(%r14), %rax
	movq	8(%r14), %rcx
LBB0_17:
	movq	88(%rax), %rdx
	cmpq	88(%rcx), %rdx
	jne	LBB0_20
## %bb.18:
	movq	96(%rax), %rdx
	cmpq	96(%rcx), %rdx
	jne	LBB0_20
## %bb.19:
	movq	104(%rax), %rdx
	cmpq	104(%rcx), %rdx
	je	LBB0_21
LBB0_20:
	movl	$1, 144(%r15)
	movq	_UPDATE_TYPE_MED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdi
	callq	_elevate_update_type
	movq	(%r14), %rax
LBB0_21:
	movq	24(%rax), %rdi
	callq	_resource_pixel_format_to_bpp
	movq	%rax, %rbx
	movq	8(%r14), %rax
	movq	24(%rax), %rdi
	callq	_resource_pixel_format_to_bpp
	cmpq	%rax, %rbx
	je	LBB0_23
## %bb.22:
	movl	$1, 148(%r15)
	movq	_UPDATE_TYPE_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdi
	callq	_elevate_update_type
LBB0_23:
	movq	(%r14), %rdi
	movq	8(%r14), %rsi
	movq	72(%rdi), %rax
	cmpq	72(%rsi), %rax
	jne	LBB0_25
## %bb.24:
	movq	80(%rdi), %rax
	cmpq	80(%rsi), %rax
	je	LBB0_26
LBB0_25:
	movl	$1, 152(%r15)
	movq	_UPDATE_TYPE_MED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdi
	callq	_elevate_update_type
	movq	(%r14), %rdi
	movq	8(%r14), %rsi
LBB0_26:
	addq	$64, %rdi
	addq	$64, %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_27
## %bb.28:
	movl	$1, 156(%r15)
	movq	_UPDATE_TYPE_MED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_elevate_update_type
	movq	(%r14), %rax
	movq	64(%rax), %rax
	movq	_DC_SW_LINEAR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_30
## %bb.29:
	movl	$1, 160(%r15)
	movq	_UPDATE_TYPE_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_elevate_update_type
	jmp	LBB0_30
LBB0_27:
	leaq	-28(%rbp), %rbx
LBB0_30:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UPDATE_TYPE_FAST,4,2           ## @UPDATE_TYPE_FAST
	.comm	_UPDATE_TYPE_MED,4,2            ## @UPDATE_TYPE_MED
	.comm	_UPDATE_TYPE_FULL,4,2           ## @UPDATE_TYPE_FULL
	.comm	_DC_SW_LINEAR,8,3               ## @DC_SW_LINEAR
	.no_dead_strip	_get_plane_info_update_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_plane_info_update_type
_get_plane_info_update_type:            ; @get_plane_info_update_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x20, _UPDATE_TYPE_FAST@GOTPAGE
Lloh1:
	ldr	x20, [x20, _UPDATE_TYPE_FAST@GOTPAGEOFF]
	ldr	w8, [x20]
	str	w8, [sp, #12]
	ldp	x8, x21, [x0]
	cbz	x8, LBB0_30
; %bb.1:
	mov	x19, x0
	ldr	x10, [x8]
	ldr	x11, [x21]
Lloh2:
	adrp	x22, _UPDATE_TYPE_MED@GOTPAGE
Lloh3:
	ldr	x22, [x22, _UPDATE_TYPE_MED@GOTPAGEOFF]
	mov	x9, x21
	cmp	x10, x11
	b.eq	LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x21, #112]
	ldr	w1, [x22]
	add	x0, sp, #12
	bl	_elevate_update_type
	ldp	x8, x9, [x19]
LBB0_3:
	ldr	x10, [x8, #8]
	ldr	x11, [x9, #8]
	cmp	x10, x11
	b.eq	LBB0_5
; %bb.4:
	mov	w8, #1
	str	w8, [x21, #116]
	ldr	w1, [x22]
	add	x0, sp, #12
	bl	_elevate_update_type
	ldp	x8, x9, [x19]
LBB0_5:
	ldr	x10, [x8, #16]
	ldr	x11, [x9, #16]
Lloh4:
	adrp	x23, _UPDATE_TYPE_FULL@GOTPAGE
Lloh5:
	ldr	x23, [x23, _UPDATE_TYPE_FULL@GOTPAGEOFF]
	cmp	x10, x11
	b.eq	LBB0_7
; %bb.6:
	mov	w8, #1
	str	w8, [x21, #120]
	ldr	w1, [x23]
	add	x0, sp, #12
	bl	_elevate_update_type
	ldp	x8, x9, [x19]
LBB0_7:
	ldr	x10, [x8, #24]
	ldr	x11, [x9, #24]
	cmp	x10, x11
	b.eq	LBB0_9
; %bb.8:
	mov	w8, #1
	str	w8, [x21, #124]
	ldr	w1, [x23]
	add	x0, sp, #12
	bl	_elevate_update_type
	ldp	x8, x9, [x19]
LBB0_9:
	ldr	x10, [x8, #32]
	ldr	x11, [x9, #32]
	cmp	x10, x11
	b.eq	LBB0_11
; %bb.10:
	mov	w8, #1
	str	w8, [x21, #128]
	ldr	w1, [x23]
	add	x0, sp, #12
	bl	_elevate_update_type
	ldp	x8, x9, [x19]
LBB0_11:
	ldr	x10, [x8, #40]
	ldr	x11, [x9, #40]
	cmp	x10, x11
	b.eq	LBB0_13
; %bb.12:
	mov	w8, #1
	str	w8, [x21, #132]
	ldr	w1, [x22]
	add	x0, sp, #12
	bl	_elevate_update_type
	ldp	x8, x9, [x19]
LBB0_13:
	ldr	x10, [x8, #48]
	ldr	x11, [x9, #48]
	cmp	x10, x11
	b.eq	LBB0_15
; %bb.14:
	mov	w8, #1
	str	w8, [x21, #136]
	ldr	w1, [x22]
	add	x0, sp, #12
	bl	_elevate_update_type
	ldp	x8, x9, [x19]
LBB0_15:
	ldr	x10, [x8, #56]
	ldr	x11, [x9, #56]
	cmp	x10, x11
	b.eq	LBB0_17
; %bb.16:
	mov	w8, #1
	str	w8, [x21, #140]
	ldr	w1, [x22]
	add	x0, sp, #12
	bl	_elevate_update_type
	ldp	x8, x9, [x19]
LBB0_17:
	ldr	x10, [x8, #88]
	ldr	x11, [x9, #88]
	cmp	x10, x11
	b.ne	LBB0_20
; %bb.18:
	ldr	x10, [x8, #96]
	ldr	x11, [x9, #96]
	cmp	x10, x11
	b.ne	LBB0_20
; %bb.19:
	ldr	x10, [x8, #104]
	ldr	x9, [x9, #104]
	cmp	x10, x9
	b.eq	LBB0_21
LBB0_20:
	mov	w8, #1
	str	w8, [x21, #144]
	ldr	w1, [x22]
	add	x0, sp, #12
	bl	_elevate_update_type
	ldr	x8, [x19]
LBB0_21:
	ldr	x0, [x8, #24]
	bl	_resource_pixel_format_to_bpp
	mov	x20, x0
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #24]
	bl	_resource_pixel_format_to_bpp
	cmp	x20, x0
	b.eq	LBB0_23
; %bb.22:
	mov	w8, #1
	str	w8, [x21, #148]
	ldr	w1, [x23]
	add	x0, sp, #12
	bl	_elevate_update_type
LBB0_23:
	ldp	x8, x9, [x19]
	ldr	x10, [x8, #72]
	ldr	x11, [x9, #72]
	cmp	x10, x11
	b.ne	LBB0_25
; %bb.24:
	ldr	x10, [x8, #80]
	ldr	x11, [x9, #80]
	cmp	x10, x11
	b.eq	LBB0_26
LBB0_25:
	mov	w8, #1
	str	w8, [x21, #152]
	ldr	w1, [x22]
	add	x0, sp, #12
	bl	_elevate_update_type
	ldp	x8, x9, [x19]
LBB0_26:
	add	x0, x8, #64
	add	x1, x9, #64
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_29
; %bb.27:
	mov	w24, #1
	str	w24, [x21, #156]
	ldr	w1, [x22]
	add	x20, sp, #12
	add	x0, sp, #12
	bl	_elevate_update_type
	ldr	x8, [x19]
	ldr	x8, [x8, #64]
Lloh6:
	adrp	x9, _DC_SW_LINEAR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DC_SW_LINEAR@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_30
; %bb.28:
	str	w24, [x21, #160]
	ldr	w1, [x23]
	add	x20, sp, #12
	add	x0, sp, #12
	bl	_elevate_update_type
	b	LBB0_30
LBB0_29:
	add	x20, sp, #12
LBB0_30:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_UPDATE_TYPE_FAST,4,2           ; @UPDATE_TYPE_FAST
	.comm	_UPDATE_TYPE_MED,4,2            ; @UPDATE_TYPE_MED
	.comm	_UPDATE_TYPE_FULL,4,2           ; @UPDATE_TYPE_FULL
	.comm	_DC_SW_LINEAR,8,3               ; @DC_SW_LINEAR
	.no_dead_strip	_get_plane_info_update_type
.subsections_via_symbols
