	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function wm5110_is_rev_b_adsp_memory
LCPI0_0:
	.long	4294959104                      ## 0xffffe000
	.long	4294963200                      ## 0xfffff000
	.space	4
	.space	4
LCPI0_1:
	.long	4290772992                      ## 0xffc00000
	.long	4291133440                      ## 0xffc58000
	.long	4291231744                      ## 0xffc70000
	.long	4291821568                      ## 0xffd00000
LCPI0_2:
	.long	2621440                         ## 0x280000
	.long	1736704                         ## 0x1a8000
	.long	1638400                         ## 0x190000
	.long	1572864                         ## 0x180000
LCPI0_3:
	.long	4784128                         ## 0x490000
	.long	4718592                         ## 0x480000
	.long	3670016                         ## 0x380000
	.long	2785280                         ## 0x2a8000
LCPI0_4:
	.long	12287                           ## 0x2fff
	.long	57343                           ## 0xdfff
	.long	57343                           ## 0xdfff
	.long	61439                           ## 0xefff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_wm5110_is_rev_b_adsp_memory:           ## @wm5110_is_rev_b_adsp_memory
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	leal	-1048576(%rdi), %eax
	cmpl	$12288, %eax                    ## imm = 0x3000
	setb	%r8b
	movd	%edi, %xmm1
	pshufd	$80, %xmm1, %xmm0               ## xmm0 = xmm1[0,0,1,1]
	pand	LCPI0_0(%rip), %xmm0
	pshufd	$4, %xmm0, %xmm2                ## xmm2 = xmm0[0,1,0,0]
	pshufd	$69, %xmm0, %xmm3               ## xmm3 = xmm0[1,1,0,1]
	leal	-2097152(%rdi), %ecx
	cmpl	$36864, %ecx                    ## imm = 0x9000
	setb	%dl
	addl	$-2686976, %edi                 ## imm = 0xFFD70000
	cmpl	$40960, %edi                    ## imm = 0xA000
	setb	%cl
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	paddd	LCPI0_1(%rip), %xmm1
	pcmpeqd	LCPI0_2(%rip), %xmm3
	pcmpeqd	LCPI0_3(%rip), %xmm2
	packssdw	%xmm3, %xmm2
	packsswb	%xmm2, %xmm2
	pmovmskb	%xmm2, %esi
	movdqa	LCPI0_4(%rip), %xmm2            ## xmm2 = [12287,57343,57343,61439]
	pminud	%xmm1, %xmm2
	pcmpeqd	%xmm1, %xmm2
	movmskps	%xmm2, %edi
	orb	%dil, %sil
	setne	%al
	orb	%dl, %cl
	orb	%r8b, %cl
	pextrd	$1, %xmm0, %edx
	cmpl	$4882432, %edx                  ## imm = 0x4A8000
	sete	%dl
	orb	%cl, %dl
	orb	%al, %dl
	movzbl	%dl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wm5110_is_rev_b_adsp_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function wm5110_is_rev_b_adsp_memory
lCPI0_0:
	.long	4294959104                      ; 0xffffe000
	.long	4294963200                      ; 0xfffff000
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_1:
	.long	4290772992                      ; 0xffc00000
	.long	4291133440                      ; 0xffc58000
	.long	4291231744                      ; 0xffc70000
	.long	4291821568                      ; 0xffd00000
lCPI0_2:
	.long	12288                           ; 0x3000
	.long	57344                           ; 0xe000
	.long	57344                           ; 0xe000
	.long	61440                           ; 0xf000
lCPI0_3:
	.long	2621440                         ; 0x280000
	.long	1736704                         ; 0x1a8000
	.long	1638400                         ; 0x190000
	.long	1572864                         ; 0x180000
lCPI0_4:
	.long	4784128                         ; 0x490000
	.long	4718592                         ; 0x480000
	.long	3670016                         ; 0x380000
	.long	2785280                         ; 0x2a8000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_wm5110_is_rev_b_adsp_memory:           ; @wm5110_is_rev_b_adsp_memory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #16
	.cfi_def_cfa_offset 16
	dup.2s	v0, w0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	and.8b	v0, v0, v1
	dup.4s	v1, v0[0]
	sub	w8, w0, #256, lsl #12           ; =1048576
	mov.s	v1[1], v0[1]
	zip1.4s	v2, v0, v0
	ext.16b	v2, v2, v0, #8
	sub	w9, w0, #512, lsl #12           ; =2097152
	add	w10, w0, #1192, lsl #12         ; =4882432
	dup.4s	v3, w0
Lloh2:
	adrp	x11, lCPI0_1@PAGE
Lloh3:
	ldr	q4, [x11, lCPI0_1@PAGEOFF]
	add.4s	v3, v3, v4
Lloh4:
	adrp	x11, lCPI0_2@PAGE
Lloh5:
	ldr	q4, [x11, lCPI0_2@PAGEOFF]
	cmhi.4s	v3, v4, v3
	xtn.4h	v3, v3
	umov.h	w11, v3[0]
	sub	w10, w10, #1848, lsl #12        ; =7569408
	umov.h	w12, v3[1]
	and	w12, w12, #0x1
	umov.h	w13, v3[2]
	bfi	w11, w12, #1, #1
	and	w12, w13, #0x1
	bfi	w11, w12, #2, #1
	umov.h	w12, v3[3]
	bfi	w11, w12, #3, #29
	and	w11, w11, #0xf
Lloh6:
	adrp	x12, lCPI0_3@PAGE
Lloh7:
	ldr	q3, [x12, lCPI0_3@PAGEOFF]
	cmeq.4s	v2, v2, v3
Lloh8:
	adrp	x12, lCPI0_4@PAGE
Lloh9:
	ldr	q3, [x12, lCPI0_4@PAGEOFF]
	cmeq.4s	v1, v1, v3
	uzp1.8h	v1, v1, v2
	xtn.8b	v1, v1
	umov.b	w12, v1[1]
	and	w12, w12, #0x1
	umov.b	w13, v1[0]
	and	w13, w13, #0x1
	bfi	w13, w12, #1, #1
	umov.b	w12, v1[2]
	and	w12, w12, #0x1
	bfi	w13, w12, #2, #1
	umov.b	w12, v1[3]
	and	w12, w12, #0x1
	bfi	w13, w12, #3, #1
	umov.b	w12, v1[4]
	and	w12, w12, #0x1
	bfi	w13, w12, #4, #1
	umov.b	w12, v1[5]
	and	w12, w12, #0x1
	bfi	w13, w12, #5, #1
	umov.b	w12, v1[6]
	and	w12, w12, #0x1
	orr	w12, w13, w12, lsl #6
	umov.b	w13, v1[7]
	orr	w12, w12, w13, lsl #7
	and	w12, w12, #0xff
	orr	w11, w12, w11
	cmp	w11, #0
	mov	w11, #40960
	ccmp	w10, w11, #0, eq
	mov	w10, #36864
	ccmp	w9, w10, #0, hs
	mov	w9, #12288
	ccmp	w8, w9, #0, hs
	mov.s	w8, v0[1]
	mov	w9, #32768
	movk	w9, #74, lsl #16
	ccmp	w8, w9, #4, hs
	cset	w0, eq
	add	sp, sp, #16
	ret
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wm5110_is_rev_b_adsp_memory
.subsections_via_symbols
