	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function qib_sd7220_prog_vfy
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_qib_sd7220_prog_vfy:                   ## @qib_sd7220_prog_vfy
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r12d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_VFY_CHUNK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	testl	%r12d, %r12d
	jle	LBB0_1
## %bb.2:
	cmpl	%ebx, %r12d
	cmovll	%r12d, %ebx
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	%r14d, -68(%rbp)                ## 4-byte Spill
	movl	%r14d, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r15, %rcx
	movl	%ebx, %r8d
	movl	$1, %r9d
	callq	_qib_sd7220_ram_xfer
	xorl	%r14d, %r14d
	cmpl	%ebx, %eax
	jge	LBB0_3
LBB0_19:
	movl	$-1, %r13d
LBB0_20:
	testl	%r14d, %r14d
	je	LBB0_22
## %bb.21:
	negl	%r14d
	movl	%r14d, %r13d
	jmp	LBB0_22
LBB0_1:
	xorl	%r13d, %r13d
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	$12, %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	pcmpeqd	%xmm6, %xmm6
	movdqa	LCPI0_0(%rip), %xmm7            ## xmm7 = [1,1,1,1]
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
	testl	%eax, %eax
	jle	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	%r13d, %rcx
	movl	%eax, %r9d
	cmpl	$8, %eax
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%esi, %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%r9d, %esi
	andl	$-8, %esi
	movd	%r14d, %xmm0
	leaq	-8(%rsi), %rdx
	movq	%rdx, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r8, %rdi
	andq	$-2, %rdi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	addq	%rcx, %rdx
	pxor	%xmm1, %xmm1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movd	4(%r15,%rbx), %xmm2             ## xmm2 = mem[0],zero,zero,zero
	movd	-12(%rdx,%rbx), %xmm3           ## xmm3 = mem[0],zero,zero,zero
	movd	-8(%rdx,%rbx), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	pcmpeqb	%xmm2, %xmm4
	pcmpeqb	(%r15,%rbx), %xmm3
	pxor	%xmm6, %xmm3
	pmovzxbd	%xmm3, %xmm2                    ## xmm2 = xmm3[0],zero,zero,zero,xmm3[1],zero,zero,zero,xmm3[2],zero,zero,zero,xmm3[3],zero,zero,zero
	pand	%xmm7, %xmm2
	paddd	%xmm0, %xmm2
	pxor	%xmm6, %xmm4
	pmovzxbd	%xmm4, %xmm3                    ## xmm3 = xmm4[0],zero,zero,zero,xmm4[1],zero,zero,zero,xmm4[2],zero,zero,zero,xmm4[3],zero,zero,zero
	pand	%xmm7, %xmm3
	paddd	%xmm1, %xmm3
	movq	8(%r15,%rbx), %xmm0             ## xmm0 = mem[0],zero
	movd	12(%r15,%rbx), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movd	-4(%rdx,%rbx), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	pcmpeqb	%xmm0, %xmm4
	movd	(%rdx,%rbx), %xmm5              ## xmm5 = mem[0],zero,zero,zero
	pcmpeqb	%xmm1, %xmm5
	pxor	%xmm6, %xmm4
	pmovzxbd	%xmm4, %xmm0                    ## xmm0 = xmm4[0],zero,zero,zero,xmm4[1],zero,zero,zero,xmm4[2],zero,zero,zero,xmm4[3],zero,zero,zero
	pand	%xmm7, %xmm0
	paddd	%xmm2, %xmm0
	pxor	%xmm6, %xmm5
	pmovzxbd	%xmm5, %xmm1                    ## xmm1 = xmm5[0],zero,zero,zero,xmm5[1],zero,zero,zero,xmm5[2],zero,zero,zero,xmm5[3],zero,zero,zero
	pand	%xmm7, %xmm1
	paddd	%xmm3, %xmm1
	addq	$16, %rbx
	addq	$-2, %rdi
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	testb	$1, %r8b
	je	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15,%rbx), %xmm2              ## xmm2 = mem[0],zero
	movd	4(%r15,%rbx), %xmm3             ## xmm3 = mem[0],zero,zero,zero
	addq	%rcx, %rbx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movd	(%rdx,%rbx), %xmm4              ## xmm4 = mem[0],zero,zero,zero
	pcmpeqb	%xmm2, %xmm4
	movd	4(%rdx,%rbx), %xmm2             ## xmm2 = mem[0],zero,zero,zero
	pcmpeqb	%xmm3, %xmm2
	pxor	%xmm6, %xmm4
	pmovzxbd	%xmm4, %xmm3                    ## xmm3 = xmm4[0],zero,zero,zero,xmm4[1],zero,zero,zero,xmm4[2],zero,zero,zero,xmm4[3],zero,zero,zero
	pand	%xmm7, %xmm3
	paddd	%xmm3, %xmm0
	pxor	%xmm6, %xmm2
	pmovzxbd	%xmm2, %xmm2                    ## xmm2 = xmm2[0],zero,zero,zero,xmm2[1],zero,zero,zero,xmm2[2],zero,zero,zero,xmm2[3],zero,zero,zero
	pand	%xmm7, %xmm2
	paddd	%xmm2, %xmm1
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	paddd	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %r14d
	cmpq	%r9, %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	-56(%rbp), %rcx                 ## 8-byte Folded Reload
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r15,%rsi), %edx
	xorl	%ebx, %ebx
	cmpb	(%rcx,%rsi), %dl
	setne	%bl
	addl	%ebx, %r14d
	incq	%rsi
	cmpq	%rsi, %r9
	jne	LBB0_16
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	addl	%eax, %r13d
	cmpl	%r12d, %r13d
	jge	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_VFY_CHUNK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r12d, %ebx
	subl	%r13d, %ebx
	cmpl	%eax, %ebx
	cmovgel	%eax, %ebx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r13), %edx
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	movq	%r15, %rcx
	movl	%ebx, %r8d
	movl	$1, %r9d
	callq	_qib_sd7220_ram_xfer
	movdqa	LCPI0_0(%rip), %xmm7            ## xmm7 = [1,1,1,1]
	pcmpeqd	%xmm6, %xmm6
	cmpl	%ebx, %eax
	jge	LBB0_4
	jmp	LBB0_19
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	pxor	%xmm1, %xmm1
	xorl	%ebx, %ebx
	testb	$1, %r8b
	jne	LBB0_13
	jmp	LBB0_14
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_VFY_CHUNK,4,2                  ## @VFY_CHUNK
	.no_dead_strip	_qib_sd7220_prog_vfy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_sd7220_prog_vfy
_qib_sd7220_prog_vfy:                   ; @qib_sd7220_prog_vfy
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x27, _VFY_CHUNK@GOTPAGE
Lloh4:
	ldr	x27, [x27, _VFY_CHUNK@GOTPAGEOFF]
	ldr	w8, [x27]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x1fffffff0
	sub	x25, x9, x10
	mov	sp, x25
	cmp	w3, #1
	b.lt	LBB0_3
; %bb.1:
	cmp	w20, w8
	csel	w23, w20, w8, lt
	mov	x0, x24
	mov	x1, x22
	mov	x2, x19
	mov	x3, x25
	mov	x4, x23
	mov	w5, #1
	bl	_qib_sd7220_ram_xfer
	cmp	w0, w23
	b.ge	LBB0_4
; %bb.2:
	mov	w28, #0
	b	LBB0_21
LBB0_3:
	mov	w23, #0
	b	LBB0_24
LBB0_4:
	mov	w28, #0
	mov	w23, #0
	movi.4s	v16, #1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
	cmp	w0, #1
	b.lt	LBB0_19
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x9, w23
	mov	w8, w0
	cmp	w0, #8
	b.hs	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x10, #0
	b	LBB0_17
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #16
	b.hs	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x10, #0
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x13, x10
	movi.2d	v0, #0000000000000000
	mov.s	v0[0], w28
	and	x10, x8, #0xfffffff8
	movi.2d	v1, #0000000000000000
	add	x11, x25, x13
	add	x12, x13, x9
	add	x12, x21, x12
	sub	x13, x13, x10
LBB0_11:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d2, [x11], #8
	ldr	d3, [x12], #8
	cmeq.8b	v2, v2, v3
	mvn.8b	v2, v2
	ushll.8h	v2, v2, #0
	ushll.4s	v3, v2, #0
	and.16b	v3, v3, v16
	ushll2.4s	v2, v2, #0
	and.16b	v2, v2, v16
	add.4s	v1, v1, v2
	add.4s	v0, v0, v3
	adds	x13, x13, #8
	b.ne	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	add.4s	v0, v0, v1
	addv.4s	s0, v0
	fmov	w28, s0
	cmp	x10, x8
	b.ne	LBB0_17
	b	LBB0_19
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	and	x10, x8, #0xfffffff0
	movi.2d	v0, #0000000000000000
	mov.s	v0[0], w28
	movi.2d	v1, #0000000000000000
	add	x11, x21, x9
	mov	x12, x10
	mov	x13, x25
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_14:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	q4, [x13], #16
	ldr	q5, [x11], #16
	cmeq.16b	v4, v4, v5
	mvn.16b	v4, v4
	ushll.8h	v5, v4, #0
	ushll.4s	v6, v5, #0
	and.16b	v6, v6, v16
	ushll2.4s	v5, v5, #0
	and.16b	v5, v5, v16
	ushll2.8h	v4, v4, #0
	ushll.4s	v7, v4, #0
	and.16b	v7, v7, v16
	ushll2.4s	v4, v4, #0
	and.16b	v4, v4, v16
	add.4s	v3, v3, v4
	add.4s	v2, v2, v7
	add.4s	v1, v1, v5
	add.4s	v0, v0, v6
	subs	x12, x12, #16
	b.ne	LBB0_14
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	add.4s	v0, v0, v2
	add.4s	v1, v1, v3
	add.4s	v0, v0, v1
	addv.4s	s0, v0
	fmov	w28, s0
	cmp	x10, x8
	b.eq	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	tbnz	w8, #3, LBB0_10
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x10, x9
	add	x9, x21, x9
	add	x11, x25, x10
	sub	x8, x8, x10
LBB0_18:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x11], #1
	ldrb	w12, [x9], #1
	cmp	w10, w12
	cinc	w28, w28, ne
	subs	x8, x8, #1
	b.ne	LBB0_18
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w23, w0, w23
	cmp	w23, w20
	b.ge	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x27]
	sub	w9, w20, w23
	cmp	w9, w8
	csel	w26, w9, w8, lt
	add	w2, w23, w19
	mov	x0, x24
	mov	x1, x22
	mov	x3, x25
	mov	x4, x26
	mov	w5, #1
	bl	_qib_sd7220_ram_xfer
	movi.4s	v16, #1
	cmp	w0, w26
	b.ge	LBB0_5
LBB0_21:
	mov	w23, #-1
LBB0_22:
	cbz	w28, LBB0_24
; %bb.23:
	neg	w23, w28
LBB0_24:
	ldur	x8, [x29, #-88]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	mov	x0, x23
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_VFY_CHUNK,4,2                  ; @VFY_CHUNK
	.no_dead_strip	_qib_sd7220_prog_vfy
.subsections_via_symbols
