	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function saa711x_decode_wss
_saa711x_decode_wss:                    ## @saa711x_decode_wss
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%edx, %edx
	leaq	_saa711x_decode_wss.wss_bits(%rip), %r8
	xorl	%r9d, %r9d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rdx,4), %eax
	movl	%eax, %ecx
	andl	$7, %ecx
	shrq	%rax
	andl	$28, %eax
	movl	(%rax,%r8), %r10d
	movl	$-1, %eax
	cmpl	%r10d, (%r8,%rcx,4)
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%rdi,%rdx,4), %ecx
	movl	%ecx, %r11d
	andl	$7, %r11d
	shrq	%rcx
	andl	$28, %ecx
	movl	(%rcx,%r8), %esi
	cmpl	%esi, (%r8,%r11,4)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%edx, %ecx
	shll	%cl, %r10d
	movl	%r9d, %eax
	leal	1(%rdx), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	orl	%r10d, %eax
	movl	%esi, %r9d
	orl	%eax, %r9d
	addq	$2, %rdx
	cmpq	$16, %rdx
	jne	LBB0_1
## %bb.4:
	movl	%r9d, %eax
	andl	$15, %eax
	movl	%eax, %ecx
	shrl	$2, %ecx
	xorl	%eax, %ecx
	movl	%ecx, %edx
	shrl	%edx
	xorl	%ecx, %edx
	andl	$1, %edx
	xorl	%eax, %eax
	cmpl	$1, %edx
	sbbl	%eax, %eax
	orl	%r9d, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @saa711x_decode_wss.wss_bits
_saa711x_decode_wss.wss_bits:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1

	.no_dead_strip	_saa711x_decode_wss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function saa711x_decode_wss
_saa711x_decode_wss:                    ; @saa711x_decode_wss
	.cfi_startproc
; %bb.0:
	mov	x9, #0
	mov	w8, #0
Lloh0:
	adrp	x10, _saa711x_decode_wss.wss_bits@PAGE
Lloh1:
	add	x10, x10, _saa711x_decode_wss.wss_bits@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x0, x9, lsl #2]
	and	x12, x11, #0x7
	ldr	w12, [x10, x12, lsl #2]
	ubfx	x11, x11, #3, #3
	ldr	w11, [x10, x11, lsl #2]
	cmp	w12, w11
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	lsl	w11, w11, w9
	orr	w8, w11, w8
	add	x9, x9, #1
	cmp	x9, #16
	b.ne	LBB0_1
; %bb.3:
	and	w9, w8, #0xf
	eor	w9, w9, w9, lsr #2
	eor	w9, w9, w9, lsr #1
	tst	w9, #0x1
	csinv	w0, w8, wzr, ne
	ret
LBB0_4:
	mov	w0, #-1
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @saa711x_decode_wss.wss_bits
_saa711x_decode_wss.wss_bits:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1

	.no_dead_strip	_saa711x_decode_wss
.subsections_via_symbols
