	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function cmp_avgusrsys
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_cmp_avgusrsys:                         ## @cmp_avgusrsys
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movl	(%rdi), %esi
	leaq	-32(%rbp), %rdi
	movl	$24, %edx
	callq	_memcpy
	movl	(%rbx), %esi
	leaq	-56(%rbp), %rdi
	movl	$24, %edx
	callq	_memcpy
	movapd	-32(%rbp), %xmm1
	movd	-16(%rbp), %xmm2                ## xmm2 = mem[0],zero,zero,zero
	pinsrd	$1, -40(%rbp), %xmm2
	pxor	%xmm0, %xmm0
	pcmpeqd	%xmm2, %xmm0
	blendvps	%xmm0, LCPI0_0(%rip), %xmm2
	movupd	-24(%rbp), %xmm0
	movhpd	-56(%rbp), %xmm1                ## xmm1 = xmm1[0],mem[0]
	movhpd	-48(%rbp), %xmm0                ## xmm0 = xmm0[0],mem[0]
	addpd	%xmm1, %xmm0
	cvtdq2pd	%xmm2, %xmm1
	divpd	%xmm1, %xmm0
	movapd	%xmm0, %xmm1
	unpckhpd	%xmm0, %xmm1                    ## xmm1 = xmm1[1],xmm0[1]
	movl	$-1, %eax
	ucomisd	%xmm0, %xmm1
	ja	LBB0_4
## %bb.1:
	ucomisd	%xmm1, %xmm0
	jne	LBB0_2
	jp	LBB0_2
## %bb.3:
	movl	-12(%rbp), %edi
	movl	-36(%rbp), %esi
	callq	_cmp_comm
	jmp	LBB0_4
LBB0_2:
	movl	$1, %eax
LBB0_4:
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cmp_avgusrsys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmp_avgusrsys
_cmp_avgusrsys:                         ; @cmp_avgusrsys
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x1
	ldr	w1, [x0]
	add	x0, sp, #24
	mov	w2, #24
	bl	_memcpy
	ldr	w1, [x19]
	mov	x0, sp
	mov	w2, #24
	bl	_memcpy
	ldp	d0, d1, [sp, #24]
	ldr	w8, [sp, #40]
	cmp	w8, #0
	csinc	w8, w8, wzr, ne
	scvtf	d2, w8
	fadd	d0, d0, d1
	fdiv	d0, d0, d2
	ldp	d1, d2, [sp]
	fadd	d1, d1, d2
	ldr	w8, [sp, #16]
	cmp	w8, #0
	csinc	w8, w8, wzr, ne
	scvtf	d2, w8
	fdiv	d1, d1, d2
	fcmp	d0, d1
	b.pl	LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_5
LBB0_2:
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [sp, #44]
	ldr	w1, [sp, #20]
	bl	_cmp_comm
	b	LBB0_5
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cmp_avgusrsys
.subsections_via_symbols
