	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function armada_overlay_get_property
_armada_overlay_get_property:           ## @armada_overlay_get_property
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %rax
	cmpq	%rdx, 64(%rax)
	je	LBB0_10
## %bb.1:
	cmpq	%rdx, 56(%rax)
	je	LBB0_13
## %bb.2:
	cmpq	%rdx, 48(%rax)
	je	LBB0_15
## %bb.3:
	cmpq	%rdx, 40(%rax)
	je	LBB0_16
## %bb.4:
	cmpq	%rdx, 32(%rax)
	je	LBB0_22
## %bb.5:
	cmpq	%rdx, 24(%rax)
	je	LBB0_23
## %bb.6:
	cmpq	%rdx, 16(%rax)
	je	LBB0_24
## %bb.7:
	cmpq	%rdx, 8(%rax)
	je	LBB0_25
## %bb.8:
	cmpq	%rdx, (%rax)
	jne	LBB0_12
## %bb.9:
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movl	12(%rax), %eax
	jmp	LBB0_19
LBB0_10:
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movzbl	26(%rax), %r12d
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movl	20(%rax), %ebx
	shrl	$8, %ebx
	andl	$65280, %ebx                    ## imm = 0xFF00
	orl	%r12d, %ebx
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movzbl	18(%rax), %r12d
	shll	$16, %r12d
	orl	%ebx, %r12d
	movl	%r12d, (%r14)
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movzbl	27(%rax), %r13d
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movzbl	23(%rax), %ebx
	shll	$8, %ebx
	orl	%r13d, %ebx
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movl	16(%rax), %eax
	shrl	$8, %eax
	andl	$16711680, %eax                 ## imm = 0xFF0000
	orl	%ebx, %eax
	cmpl	%eax, %r12d
	jne	LBB0_12
## %bb.11:
	movl	(%r14), %r14d
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movzbl	25(%rax), %r12d
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movzbl	21(%rax), %ebx
	shll	$8, %ebx
	orl	%r12d, %ebx
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movl	16(%rax), %ecx
	shll	$8, %ecx
	andl	$16711680, %ecx                 ## imm = 0xFF0000
	orl	%ebx, %ecx
	xorl	%eax, %eax
	cmpl	%ecx, %r14d
	je	LBB0_21
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_21
LBB0_13:
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movzbl	26(%rax), %r12d
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movl	20(%rax), %ebx
	shrl	$8, %ebx
	andl	$65280, %ebx                    ## imm = 0xFF00
	orl	%r12d, %ebx
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movzbl	18(%rax), %eax
LBB0_14:
	shll	$16, %eax
	jmp	LBB0_18
LBB0_15:
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movzbl	27(%rax), %r12d
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movzbl	23(%rax), %ebx
	shll	$8, %ebx
	orl	%r12d, %ebx
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movl	16(%rax), %eax
	shrl	$8, %eax
	jmp	LBB0_17
LBB0_16:
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movzbl	25(%rax), %r12d
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movzbl	21(%rax), %ebx
	shll	$8, %ebx
	orl	%r12d, %ebx
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movl	16(%rax), %eax
	shll	$8, %eax
LBB0_17:
	andl	$16711680, %eax                 ## imm = 0xFF0000
LBB0_18:
	orl	%ebx, %eax
LBB0_19:
	movl	%eax, (%r14)
LBB0_20:
	xorl	%eax, %eax
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movzbl	24(%rax), %r12d
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movl	20(%rax), %eax
	shll	$8, %eax
	movzwl	%ax, %ebx
	orl	%r12d, %ebx
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movl	16(%rax), %eax
	movzbl	%al, %eax
	jmp	LBB0_14
LBB0_23:
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movq	_CFG_CKMODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%rax), %eax
	andl	%edx, %eax
	bsfl	%edx, %ecx
	incb	%cl
	testl	%edx, %edx
	movzbl	%cl, %ecx
	cmovel	%edx, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %eax
	jmp	LBB0_19
LBB0_24:
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movl	$256, %ecx                      ## imm = 0x100
	addl	4(%rax), %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_20
LBB0_25:
	movq	%r15, %rdi
	callq	_drm_to_overlay_state
	movl	8(%rax), %eax
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CFG_CKMODE_MASK,4,2            ## @CFG_CKMODE_MASK
	.no_dead_strip	_armada_overlay_get_property
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function armada_overlay_get_property
_armada_overlay_get_property:           ; @armada_overlay_get_property
	.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, x3
	mov	x20, x1
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x9, [x8, #64]
	cmp	x9, x2
	b.eq	LBB0_10
; %bb.1:
	ldr	x9, [x8, #56]
	cmp	x9, x2
	b.eq	LBB0_14
; %bb.2:
	ldr	x9, [x8, #48]
	cmp	x9, x2
	b.eq	LBB0_15
; %bb.3:
	ldr	x9, [x8, #40]
	cmp	x9, x2
	b.eq	LBB0_16
; %bb.4:
	ldr	x9, [x8, #32]
	cmp	x9, x2
	b.eq	LBB0_17
; %bb.5:
	ldr	x9, [x8, #24]
	cmp	x9, x2
	b.eq	LBB0_20
; %bb.6:
	ldr	x9, [x8, #16]
	cmp	x9, x2
	b.eq	LBB0_21
; %bb.7:
	ldr	x9, [x8, #8]
	cmp	x9, x2
	b.eq	LBB0_22
; %bb.8:
	ldr	x8, [x8]
	cmp	x8, x2
	b.ne	LBB0_13
; %bb.9:
	mov	x0, x20
	bl	_drm_to_overlay_state
	mov	x8, x0
	mov	w0, #0
	ldr	w8, [x8, #12]
	str	w8, [x19]
	b	LBB0_19
LBB0_10:
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldrb	w21, [x0, #26]
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldr	w8, [x0, #20]
	lsr	w8, w8, #8
	and	w8, w8, #0xff00
	orr	w21, w8, w21
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldrb	w8, [x0, #18]
	bfi	w21, w8, #16, #8
	str	w21, [x19]
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldrb	w22, [x0, #27]
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldrb	w8, [x0, #23]
	bfi	w22, w8, #8, #8
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldr	w8, [x0, #16]
	lsr	w8, w8, #8
	and	w8, w8, #0xff0000
	orr	w8, w22, w8
	cmp	w21, w8
	b.ne	LBB0_13
; %bb.11:
	ldr	w19, [x19]
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldrb	w21, [x0, #25]
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldrb	w8, [x0, #21]
	bfi	w21, w8, #8, #8
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldr	w8, [x0, #16]
	lsr	w8, w8, #8
	bfi	w21, w8, #16, #8
	cmp	w19, w21
	b.ne	LBB0_13
; %bb.12:
	mov	w0, #0
	b	LBB0_19
LBB0_13:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_19
LBB0_14:
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldrb	w21, [x0, #26]
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldr	w8, [x0, #20]
	lsr	w8, w8, #8
	and	w8, w8, #0xff00
	orr	w21, w8, w21
	mov	x0, x20
	bl	_drm_to_overlay_state
	mov	x8, x0
	mov	w0, #0
	ldrb	w8, [x8, #18]
	b	LBB0_18
LBB0_15:
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldrb	w21, [x0, #27]
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldrb	w8, [x0, #23]
	bfi	w21, w8, #8, #8
	mov	x0, x20
	bl	_drm_to_overlay_state
	mov	x8, x0
	mov	w0, #0
	ldr	w8, [x8, #16]
	lsr	w8, w8, #8
	and	w8, w8, #0xff0000
	orr	w8, w21, w8
	str	w8, [x19]
	b	LBB0_19
LBB0_16:
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldrb	w21, [x0, #25]
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldrb	w8, [x0, #21]
	bfi	w21, w8, #8, #8
	mov	x0, x20
	bl	_drm_to_overlay_state
	mov	x8, x0
	mov	w0, #0
	ldr	w8, [x8, #16]
	lsr	w8, w8, #8
	b	LBB0_18
LBB0_17:
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldrb	w21, [x0, #24]
	mov	x0, x20
	bl	_drm_to_overlay_state
	ldr	w8, [x0, #20]
	bfi	w21, w8, #8, #8
	mov	x0, x20
	bl	_drm_to_overlay_state
	mov	x8, x0
	mov	w0, #0
	ldr	w8, [x8, #16]
LBB0_18:
	bfi	w21, w8, #16, #8
	str	w21, [x19]
LBB0_19:
	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
LBB0_20:
	mov	x0, x20
	bl	_drm_to_overlay_state
	mov	x8, x0
	mov	w0, #0
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CFG_CKMODE_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CFG_CKMODE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
	rbit	w10, w9
	clz	w10, w10
	cmp	w9, #0
	csinc	w9, wzr, w10, eq
	asr	w8, w8, w9
	str	w8, [x19]
	b	LBB0_19
LBB0_21:
	mov	x0, x20
	bl	_drm_to_overlay_state
	mov	x8, x0
	mov	w0, #0
	ldr	w8, [x8, #4]
	add	w8, w8, #256
	str	w8, [x19]
	b	LBB0_19
LBB0_22:
	mov	x0, x20
	bl	_drm_to_overlay_state
	mov	x8, x0
	mov	w0, #0
	ldr	w8, [x8, #8]
	str	w8, [x19]
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CFG_CKMODE_MASK,4,2            ; @CFG_CKMODE_MASK
	.no_dead_strip	_armada_overlay_get_property
.subsections_via_symbols
