	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function stm32_dfsdm_process_data
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_stm32_dfsdm_process_data:              ## @stm32_dfsdm_process_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	8(%rdi), %r8d
	testl	%r8d, %r8d
	je	LBB0_22
## %bb.1:
	movq	(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rax
	movq	(%rcx,%rax), %r11
	movq	8(%rcx,%rax), %rdx
	leal	-1(%r8), %r9d
	cmpl	$3, %r9d
	jb	LBB0_2
## %bb.3:
	leaq	(%rdx,%r11,8), %rax
	addq	$8, %rax
	cmpq	%rsi, %rax
	jbe	LBB0_6
## %bb.4:
	leaq	(%rsi,%r9,4), %rax
	addq	$4, %rax
	leaq	(%rdx,%r11,8), %rcx
	cmpq	%rax, %rcx
	jae	LBB0_6
LBB0_2:
	movq	%rsi, %rdi
LBB0_17:
	testb	$1, %r8b
	jne	LBB0_19
## %bb.18:
	movl	%r8d, %eax
	cmpl	$1, %r8d
	jne	LBB0_23
	jmp	LBB0_22
LBB0_19:
	movl	$-256, %esi
	andl	(%rdi), %esi
	movl	%esi, (%rdi)
	cmpl	(%rdx,%r11,8), %esi
	jle	LBB0_21
## %bb.20:
	decl	%esi
	movl	%esi, (%rdi)
LBB0_21:
	movb	4(%rdx,%r11,8), %cl
	shll	%cl, %esi
	leal	-1(%r8), %eax
	movl	%esi, (%rdi)
	addq	$4, %rdi
	cmpl	$1, %r8d
	je	LBB0_22
LBB0_23:
	movl	%eax, %r8d
	xorl	%esi, %esi
	movl	$-256, %r9d
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_25 Depth=1
	movzbl	4(%rdx,%r11,8), %ecx
	shll	%cl, %eax
	movl	%eax, 4(%rdi,%rsi,4)
	addq	$2, %rsi
	cmpl	%esi, %r8d
	je	LBB0_22
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rsi,4), %eax
	andl	%r9d, %eax
	movl	%eax, (%rdi,%rsi,4)
	cmpl	(%rdx,%r11,8), %eax
	jle	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	decl	%eax
	movl	%eax, (%rdi,%rsi,4)
LBB0_27:                                ##   in Loop: Header=BB0_25 Depth=1
	movzbl	4(%rdx,%r11,8), %ecx
	shll	%cl, %eax
	movl	%eax, (%rdi,%rsi,4)
	movl	4(%rdi,%rsi,4), %eax
	andl	%r9d, %eax
	movl	%eax, 4(%rdi,%rsi,4)
	cmpl	(%rdx,%r11,8), %eax
	jle	LBB0_24
## %bb.28:                              ##   in Loop: Header=BB0_25 Depth=1
	decl	%eax
	movl	%eax, 4(%rdi,%rsi,4)
	jmp	LBB0_24
LBB0_6:
	incq	%r9
	movq	%r9, %r10
	andq	$-4, %r10
	subl	%r10d, %r8d
	leaq	(%rsi,%r10,4), %rdi
	movd	(%rdx,%r11,8), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm1                ## xmm1 = xmm0[0,0,0,0]
	movd	4(%rdx,%r11,8), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	xorl	%ecx, %ecx
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [0,255,255,255,0,255,255,255,0,255,255,255,0,255,255,255]
	pcmpeqd	%xmm3, %xmm3
	pmovzxdq	%xmm0, %xmm4                    ## xmm4 = xmm0[0],zero,xmm0[1],zero
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	blendvps	%xmm0, %xmm6, %xmm5
	pslld	%xmm4, %xmm5
	movdqu	%xmm5, (%rsi,%rcx,4)
	addq	$4, %rcx
	cmpq	%rcx, %r10
	je	LBB0_16
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rsi,%rcx,4), %xmm5
	pand	%xmm2, %xmm5
	movdqu	%xmm5, (%rsi,%rcx,4)
	movdqa	%xmm5, %xmm0
	pcmpgtd	%xmm1, %xmm0
	movdqa	%xmm5, %xmm6
	paddd	%xmm3, %xmm6
	movd	%xmm0, %eax
	testb	$1, %al
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movd	%xmm6, (%rsi,%rcx,4)
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	pextrb	$4, %xmm0, %eax
	testb	$1, %al
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	pextrd	$1, %xmm6, 4(%rsi,%rcx,4)
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	pextrb	$8, %xmm0, %eax
	testb	$1, %al
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	pextrd	$2, %xmm6, 8(%rsi,%rcx,4)
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	pextrb	$12, %xmm0, %eax
	testb	$1, %al
	je	LBB0_7
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	pextrd	$3, %xmm6, 12(%rsi,%rcx,4)
	jmp	LBB0_7
LBB0_16:
	cmpq	%r10, %r9
	jne	LBB0_17
LBB0_22:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stm32_dfsdm_process_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_dfsdm_process_data
_stm32_dfsdm_process_data:              ; @stm32_dfsdm_process_data
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_16
; %bb.1:
	ldr	x9, [x0, #16]
	ldr	x9, [x9]
	ldr	x10, [x0]
	add	x9, x9, x10, lsl #4
	ldp	x10, x9, [x9]
	add	x9, x9, x10, lsl #3
	add	x10, x9, #4
	sub	w11, w8, #1
	cmp	w11, #3
	b.hs	LBB0_3
; %bb.2:
	mov	x11, x1
	b	LBB0_18
LBB0_3:
	add	x12, x1, w11, uxtw #2
	add	x12, x12, #4
	add	x13, x9, #8
	cmp	x13, x1
	ccmp	x9, x12, #2, hi
	b.lo	LBB0_14
; %bb.4:
	add	x12, x11, #1
	and	x13, x12, #0x1fffffffc
	sub	w8, w8, w13
	add	x11, x1, x13, lsl #2
	ld1r.4s	{ v0 }, [x9]
	ld1r.4s	{ v1 }, [x10]
	movi.2d	v2, #0xffffffffffffffff
	mov	x14, x13
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	bit.16b	v3, v5, v4
	ushl.4s	v3, v3, v1
	str	q3, [x1], #16
	subs	x14, x14, #4
	b.eq	LBB0_15
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	q3, [x1]
	bic.4s	v3, #255
	str	q3, [x1]
	cmgt.4s	v4, v3, v0
	xtn.4h	v6, v4
	add.4s	v5, v3, v2
	umov.h	w15, v6[0]
	tbnz	w15, #0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	umov.h	w15, v6[1]
	tbnz	w15, #0, LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	umov.h	w15, v6[2]
	tbnz	w15, #0, LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	umov.h	w15, v6[3]
	tbz	w15, #0, LBB0_5
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	str	s5, [x1]
	umov.h	w15, v6[1]
	tbz	w15, #0, LBB0_8
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x15, x1, #4
	st1.s	{ v5 }[1], [x15]
	umov.h	w15, v6[2]
	tbz	w15, #0, LBB0_9
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x15, x1, #8
	st1.s	{ v5 }[2], [x15]
	umov.h	w15, v6[3]
	tbz	w15, #0, LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x15, x1, #12
	st1.s	{ v5 }[3], [x15]
	b	LBB0_5
LBB0_14:
	mov	x11, x1
	b	LBB0_18
LBB0_15:
	cmp	x12, x13
	b.ne	LBB0_18
LBB0_16:
	ret
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w13, [x10]
	lsl	w12, w12, w13
	str	w12, [x11], #4
	cbz	w8, LBB0_16
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	sub	w8, w8, #1
	ldr	w12, [x11]
	and	w12, w12, #0xffffff00
	str	w12, [x11]
	ldr	w13, [x9]
	cmp	w12, w13
	b.le	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	sub	w12, w12, #1
	str	w12, [x11]
	b	LBB0_17
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stm32_dfsdm_process_data
.subsections_via_symbols
