	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vnic_dev_notify_ready
_vnic_dev_notify_ready:                 ## @vnic_dev_notify_ready
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	8(%rdi), %esi
	xorl	%eax, %eax
	testl	%esi, %esi
	je	LBB0_18
## %bb.1:
	movq	%rdi, %rbx
	movl	(%rdi), %edx
	testl	%edx, %edx
	je	LBB0_18
## %bb.2:
	leal	3(%rdx), %r15d
	testl	%edx, %edx
	cmovnsl	%edx, %r15d
	sarl	$2, %r15d
	leaq	4(%rbx), %r14
	leaq	-1(%r15), %r12
	leaq	-5(%r15), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	shrq	$2, %rax
	incq	%rax
	movq	%r12, %rcx
	andq	$-4, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	incq	%rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %r13d
	andl	$3, %r13d
	andq	$-4, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	cmpl	$2, %r15d
	jb	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$4, %r12
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %ecx
	xorl	%eax, %eax
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$12, -72(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	pxor	%xmm0, %xmm0
	xorl	%eax, %eax
	pxor	%xmm1, %xmm1
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	pxor	%xmm0, %xmm0
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	12(%rbx,%rax,8), %xmm2
	paddq	%xmm0, %xmm2
	movdqu	28(%rbx,%rax,8), %xmm0
	paddq	%xmm1, %xmm0
	movdqu	44(%rbx,%rax,8), %xmm1
	movdqu	60(%rbx,%rax,8), %xmm3
	movdqu	76(%rbx,%rax,8), %xmm4
	paddq	%xmm1, %xmm4
	paddq	%xmm2, %xmm4
	movdqu	92(%rbx,%rax,8), %xmm2
	paddq	%xmm3, %xmm2
	paddq	%xmm0, %xmm2
	movdqu	108(%rbx,%rax,8), %xmm0
	paddq	%xmm4, %xmm0
	movdqu	124(%rbx,%rax,8), %xmm1
	paddq	%xmm2, %xmm1
	addq	$16, %rax
	addq	$-4, %rcx
	jne	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	testq	%r13, %r13
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rcx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(,%rax,8), %rdx
	orq	$8, %rdx
	movdqu	(%r14,%rdx), %xmm2
	paddq	%xmm2, %xmm0
	movdqu	16(%r14,%rdx), %xmm2
	paddq	%xmm2, %xmm1
	addq	$4, %rax
	decq	%rcx
	jne	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	paddq	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addq	4(%rbx,%rcx,8), %rax
	incq	%rcx
	cmpq	%rcx, %r15
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rsi
	cmpq	%rsi, %rax
	je	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	shrq	$32, %rsi
	movl	(%rbx), %edx
	jmp	LBB0_3
LBB0_17:
	movl	$1, %eax
LBB0_18:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vnic_dev_notify_ready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vnic_dev_notify_ready
_vnic_dev_notify_ready:                 ; @vnic_dev_notify_ready
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	w2, [x0]
	ldr	w1, [x0, #8]
	cmp	w1, #0
	ccmp	w2, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_15
LBB0_2:
	mov	x19, x0
	add	w8, w2, #3
	cmp	w2, #0
	csel	w8, w8, w2, lt
	asr	w21, w8, #2
	add	x20, x0, #4
	sub	x22, x21, #1
	and	x23, x22, #0xfffffffffffffff8
	orr	x24, x23, #0x1
	add	x25, x0, #44
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_memcpy
	cmp	w21, #2
	b.lo	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x22, #8
	b.hs	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	mov	w10, #1
	b	LBB0_10
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	b	LBB0_12
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	movi.2d	v0, #0000000000000000
	mov	x8, x23
	mov	x9, x25
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q4, q5, [x9, #-32]
	ldp	q6, q7, [x9], #64
	add.2d	v0, v4, v0
	add.2d	v1, v5, v1
	add.2d	v2, v6, v2
	add.2d	v3, v7, v3
	subs	x8, x8, #8
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	add.2d	v0, v1, v0
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	addp.2d	d0, v0
	fmov	x8, d0
	mov	x10, x24
	cmp	x22, x23
	b.eq	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x20, x10, lsl #3
	sub	x10, x21, x10
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x9], #8
	add	x8, x11, x8
	subs	x10, x10, #1
	b.ne	LBB0_11
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	lsr	x1, x9, #32
	ldr	w2, [x19]
	b	LBB0_3
LBB0_14:
	mov	w0, #1
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vnic_dev_notify_ready
.subsections_via_symbols
