	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ionic_get_lif_stats
_ionic_get_lif_stats:                   ## @ionic_get_lif_stats
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	%r15, %rdi
	callq	_MAX_Q
	testl	%eax, %eax
	jg	LBB0_1
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	movq	%r15, %rdi
	callq	_MAX_Q
	cmpl	%eax, %ebx
	jge	LBB0_8
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_lif_to_txqcq
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	72(%rax), %ecx
	addl	%ecx, 36(%r14)
	movups	40(%rax), %xmm0
	movups	56(%rax), %xmm1
	shufps	$136, %xmm1, %xmm0              ## xmm0 = xmm0[0,2],xmm1[0,2]
	movdqu	20(%r14), %xmm1
	paddd	%xmm0, %xmm1
	movdqu	%xmm1, 20(%r14)
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_lif_to_rxqcq
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	32(%rax), %ecx
	addl	%ecx, 16(%r14)
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	shufps	$136, %xmm1, %xmm0              ## xmm0 = xmm0[0,2],xmm1[0,2]
	movdqu	(%r14), %xmm1
	paddd	%xmm0, %xmm1
	movdqu	%xmm1, (%r14)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ionic_get_lif_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ionic_get_lif_stats
_ionic_get_lif_stats:                   ; @ionic_get_lif_stats
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	mov	x0, x20
	bl	_MAX_Q
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.1:
	mov	w21, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w21, w21, #1
	mov	x0, x20
	bl	_MAX_Q
	cmp	w21, w0
	b.ge	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_lif_to_txqcq
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x8, #72]
	ldr	w10, [x19, #36]
	add	w9, w10, w9
	str	w9, [x19, #36]
	ldur	q0, [x8, #56]
	ldur	q1, [x8, #40]
	ldur	q2, [x19, #20]
	uzp1.4s	v0, v1, v0
	add.4s	v0, v2, v0
	stur	q0, [x19, #20]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_lif_to_rxqcq
	cbz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x8, #32]
	ldr	w10, [x19, #16]
	add	w9, w10, w9
	str	w9, [x19, #16]
	ldp	q1, q0, [x8]
	ldr	q2, [x19]
	uzp1.4s	v0, v1, v0
	add.4s	v0, v2, v0
	str	q0, [x19]
	b	LBB0_2
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ionic_get_lif_stats
.subsections_via_symbols
